/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_options.c | 44 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, in ip_options_build() 49 memcpy(&(IPCB(skb)->opt), opt, sizeof(struct ip_options)); in ip_options_build() 90 int __ip_options_echo(struct net *net, struct ip_options *dopt, in __ip_options_echo() 91 struct sk_buff *skb, const struct ip_options *sopt) in __ip_options_echo() 97 memset(dopt, 0, sizeof(struct ip_options)); in __ip_options_echo() 211 struct ip_options *opt = &(IPCB(skb)->opt); in ip_options_fragment() 255 struct ip_options *opt, struct sk_buff *skb, in __ip_options_compile() 479 struct ip_options *opt, struct sk_buff *skb) in ip_options_compile() 495 void ip_options_undo(struct ip_options *opt) in ip_options_undo() 553 struct ip_options *op in ip_forward_options() [all...] |
H A D | ip_forward.c | 67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish() 91 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward()
|
H A D | cipso_ipv4.c | 1722 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() 1723 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error() 1734 memset(opt, 0, sizeof(struct ip_options)); in cipso_v4_error() 2170 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_setattr() 2246 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_delattr()
|
H A D | Makefile | 7 ip_input.o ip_fragment.o ip_forward.o ip_options.o \
|
H A D | ip_sockglue.c | 89 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() 90 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts() 1548 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() 1549 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt() 1557 sizeof(struct ip_options) + in do_ip_getsockopt()
|
H A D | ip_output.c | 981 struct ip_options *opt = cork->opt; in __ip_append_data() 1275 cork->opt = kmalloc(sizeof(struct ip_options) + 40, in ip_setup_cork() 1280 memcpy(cork->opt, &opt->opt, sizeof(struct ip_options) + opt->opt.optlen); in ip_setup_cork() 1346 struct ip_options *opt = NULL; in ip_append_page() 1492 struct ip_options *opt = NULL; in __ip_make_skb() 1685 const struct ip_options *sopt, in ip_send_unicast_reply()
|
H A D | syncookies.c | 323 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
H A D | ip_input.c | 270 struct ip_options *opt; in ip_rcv_options()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_options.c | 44 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, in ip_options_build() 49 memcpy(&(IPCB(skb)->opt), opt, sizeof(struct ip_options)); in ip_options_build() 77 int __ip_options_echo(struct net *net, struct ip_options *dopt, in __ip_options_echo() 78 struct sk_buff *skb, const struct ip_options *sopt) in __ip_options_echo() 84 memset(dopt, 0, sizeof(struct ip_options)); in __ip_options_echo() 198 struct ip_options *opt = &(IPCB(skb)->opt); in ip_options_fragment() 242 struct ip_options *opt, struct sk_buff *skb, in __ip_options_compile() 466 struct ip_options *opt, struct sk_buff *skb) in ip_options_compile() 482 void ip_options_undo(struct ip_options *opt) in ip_options_undo() 540 struct ip_options *op in ip_forward_options() [all...] |
H A D | ip_forward.c | 67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish() 90 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward()
|
H A D | cipso_ipv4.c | 1721 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error() 1722 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error() 1733 memset(opt, 0, sizeof(struct ip_options)); in cipso_v4_error() 2169 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_setattr() 2245 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_delattr()
|
H A D | Makefile | 7 ip_input.o ip_fragment.o ip_forward.o ip_options.o \
|
H A D | ip_sockglue.c | 89 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts() 90 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts() 1606 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt() 1607 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt() 1615 sizeof(struct ip_options) + in do_ip_getsockopt()
|
H A D | ip_output.c | 962 struct ip_options *opt = cork->opt; in __ip_append_data() 1300 cork->opt = kmalloc(sizeof(struct ip_options) + 40, in ip_setup_cork() 1305 memcpy(cork->opt, &opt->opt, sizeof(struct ip_options) + opt->opt.optlen); in ip_setup_cork() 1387 struct ip_options *opt = NULL; in __ip_make_skb() 1581 const struct ip_options *sopt, in ip_send_unicast_reply()
|
H A D | syncookies.c | 321 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
|
H A D | ip_input.c | 262 struct ip_options *opt; in ip_rcv_options()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | icmp.h | 40 const struct ip_options *opt); 51 struct ip_options opts = { 0 }; in icmp_ndo_send()
|
H A D | ip.h | 47 struct ip_options opt; /* Compiled IP options */ 282 const struct ip_options *sopt, 704 * Functions provided by ip_options.c 707 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, 710 int __ip_options_echo(struct net *net, struct ip_options *dopt, 711 struct sk_buff *skb, const struct ip_options *sopt); 712 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() 719 int __ip_options_compile(struct net *net, struct ip_options *opt, 721 int ip_options_compile(struct net *net, struct ip_options *opt, 725 void ip_options_undo(struct ip_options *op [all...] |
H A D | inet_sock.h | 28 /** struct ip_options - IP Options 39 struct ip_options { struct 60 struct ip_options opt; 166 struct ip_options *opt;
|
/kernel/linux/linux-6.6/include/net/ |
H A D | icmp.h | 40 const struct ip_options *opt); 51 struct ip_options opts = { 0 }; in icmp_ndo_send()
|
H A D | ip.h | 48 struct ip_options opt; /* Compiled IP options */ 289 const struct ip_options *sopt, 732 * Functions provided by ip_options.c 735 void ip_options_build(struct sk_buff *skb, struct ip_options *opt, 738 int __ip_options_echo(struct net *net, struct ip_options *dopt, 739 struct sk_buff *skb, const struct ip_options *sopt); 740 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo() 747 int __ip_options_compile(struct net *net, struct ip_options *opt, 749 int ip_options_compile(struct net *net, struct ip_options *opt, 753 void ip_options_undo(struct ip_options *op [all...] |
H A D | inet_sock.h | 28 /** struct ip_options - IP Options 39 struct ip_options { struct 60 struct ip_options opt; 167 struct ip_options *opt;
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_exthdr.c | 85 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() 86 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option() 102 memset(opt, 0, sizeof(struct ip_options)); in ipv4_find_option()
|
H A D | nft_flow_offload.c | 59 const struct ip_options *opt; in nft_flow_offload_skip()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_exthdr.c | 85 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ipv4_find_option() 86 struct ip_options *opt = (struct ip_options *)optbuf; in ipv4_find_option() 102 memset(opt, 0, sizeof(struct ip_options)); in ipv4_find_option()
|