ip_output.c (4ba25a496f62129a2ad8c2436ab2b402752dc66c) ip_output.c (749154aa56b57652a282cbde57a57abc278d1205)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * The Internet Protocol (IP) output module.
7 *
8 * Authors: Ross Biro

--- 1302 unchanged lines hidden (view full) ---

1311 if (cork->flags & IPCORK_OPT)
1312 opt = cork->opt;
1313
1314 if (rt->rt_type == RTN_MULTICAST)
1315 ttl = inet->mc_ttl;
1316 else
1317 ttl = ip_select_ttl(inet, &rt->dst);
1318
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * The Internet Protocol (IP) output module.
7 *
8 * Authors: Ross Biro

--- 1302 unchanged lines hidden (view full) ---

1311 if (cork->flags & IPCORK_OPT)
1312 opt = cork->opt;
1313
1314 if (rt->rt_type == RTN_MULTICAST)
1315 ttl = inet->mc_ttl;
1316 else
1317 ttl = ip_select_ttl(inet, &rt->dst);
1318
1319 iph = (struct iphdr *)skb->data;
1319 iph = ip_hdr(skb);
1320 iph->version = 4;
1321 iph->ihl = 5;
1322 iph->tos = inet->tos;
1323 iph->frag_off = df;
1324 iph->ttl = ttl;
1325 iph->protocol = sk->sk_protocol;
1326 ip_copy_addrs(iph, fl4);
1327 ip_select_ident(iph, &rt->dst, sk);

--- 213 unchanged lines hidden ---
1320 iph->version = 4;
1321 iph->ihl = 5;
1322 iph->tos = inet->tos;
1323 iph->frag_off = df;
1324 iph->ttl = ttl;
1325 iph->protocol = sk->sk_protocol;
1326 ip_copy_addrs(iph, fl4);
1327 ip_select_ident(iph, &rt->dst, sk);

--- 213 unchanged lines hidden ---