ip.h (32032df6c2f6c9c6b2ada2ce42322231824f70c2) | ip.h (7ad6848c7e81a603605fad3f3575841aab004eea) |
---|---|
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 * Definitions for the IP module. 7 * 8 * Version: @(#)ip.h 1.0.2 05/07/93 --- 312 unchanged lines hidden (view full) --- 321 memset(&np->saddr, 0, sizeof(np->saddr)); 322 memset(&np->rcv_saddr, 0, sizeof(np->rcv_saddr)); 323 } 324#endif 325} 326 327#endif 328 | 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 * Definitions for the IP module. 7 * 8 * Version: @(#)ip.h 1.0.2 05/07/93 --- 312 unchanged lines hidden (view full) --- 321 memset(&np->saddr, 0, sizeof(np->saddr)); 322 memset(&np->rcv_saddr, 0, sizeof(np->rcv_saddr)); 323 } 324#endif 325} 326 327#endif 328 |
329static inline int sk_mc_loop(struct sock *sk) 330{ 331 if (!sk) 332 return 1; 333 switch (sk->sk_family) { 334 case AF_INET: 335 return inet_sk(sk)->mc_loop; 336#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) 337 case AF_INET6: 338 return inet6_sk(sk)->mc_loop; 339#endif 340 } 341 __WARN(); 342 return 1; 343} 344 |
|
329extern int ip_call_ra_chain(struct sk_buff *skb); 330 331/* 332 * Functions provided by ip_fragment.c 333 */ 334 335enum ip_defrag_users { 336 IP_DEFRAG_LOCAL_DELIVER, --- 71 unchanged lines hidden --- | 345extern int ip_call_ra_chain(struct sk_buff *skb); 346 347/* 348 * Functions provided by ip_fragment.c 349 */ 350 351enum ip_defrag_users { 352 IP_DEFRAG_LOCAL_DELIVER, --- 71 unchanged lines hidden --- |