···151151#include <asm/timex.h>152152153153154154-#define VERSION "pktgen v2.61: Packet Generator for packet performance testing.\n"154154+#define VERSION "pktgen v2.62: Packet Generator for packet performance testing.\n"155155156156/* #define PG_DEBUG(a) a */157157#define PG_DEBUG(a) ···19211921 struct iphdr *iph;19221922 struct pktgen_hdr *pgh = NULL;1923192319241924+ /* Update any of the values, used when we're incrementing various19251925+ * fields.19261926+ */19271927+ mod_cur_headers(pkt_dev);19281928+19241929 skb = alloc_skb(pkt_dev->cur_pkt_size + 64 + 16, GFP_ATOMIC);19251930 if (!skb) {19261931 sprintf(pkt_dev->result, "No memory");···19381933 eth = (__u8 *) skb_push(skb, 14);19391934 iph = (struct iphdr *)skb_put(skb, sizeof(struct iphdr));19401935 udph = (struct udphdr *)skb_put(skb, sizeof(struct udphdr));19411941-19421942- /* Update any of the values, used when we're incrementing various19431943- * fields.19441944- */19451945- mod_cur_headers(pkt_dev);1946193619471937 memcpy(eth, pkt_dev->hh, 12);19481938 *(u16*)ð[12] = __constant_htons(ETH_P_IP);···21922192 int datalen;21932193 struct ipv6hdr *iph;21942194 struct pktgen_hdr *pgh = NULL;21952195-21952195+21962196+ /* Update any of the values, used when we're incrementing various21972197+ * fields.21982198+ */21992199+ mod_cur_headers(pkt_dev);22002200+21962201 skb = alloc_skb(pkt_dev->cur_pkt_size + 64 + 16, GFP_ATOMIC);21972202 if (!skb) {21982203 sprintf(pkt_dev->result, "No memory");···22112206 iph = (struct ipv6hdr *)skb_put(skb, sizeof(struct ipv6hdr));22122207 udph = (struct udphdr *)skb_put(skb, sizeof(struct udphdr));2213220822142214-22152215- /* Update any of the values, used when we're incrementing various22162216- * fields.22172217- */22182218- mod_cur_headers(pkt_dev);22192219-22202220-22212209 memcpy(eth, pkt_dev->hh, 12);22222210 *(u16*)ð[12] = __constant_htons(ETH_P_IPV6);22232223-22242224-22112211+22252212 datalen = pkt_dev->cur_pkt_size-14- 22262213 sizeof(struct ipv6hdr)-sizeof(struct udphdr); /* Eth + IPh + UDPh */22272214
+1-2
net/ipv4/Kconfig
···448448config TCP_CONG_ADVANCED449449 bool "TCP: advanced congestion control"450450 depends on INET451451- default y452451 ---help---453452 Support for selection of various TCP congestion control454453 modules.···548549endmenu549550550551config TCP_CONG_BIC551551- boolean552552+ tristate552553 depends on !TCP_CONG_ADVANCED553554 default y554555