Home
last modified time | relevance | path

Searched refs:ip_options (Results 1 – 19 of 19) sorted by relevance

/linux-6.15/net/ipv4/
H A Dip_options.c44 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 *opt = &(IPCB(skb)->opt); in ip_forward_options()
[all …]
H A Dip_forward.c67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish()
88 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward()
H A Dcipso_ipv4.c1718 unsigned char optbuf[sizeof(struct ip_options) + 40]; in cipso_v4_error()
1719 struct ip_options *opt = (struct ip_options *)optbuf; in cipso_v4_error()
1730 memset(opt, 0, sizeof(struct ip_options)); in cipso_v4_error()
2178 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_setattr()
2255 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_delattr()
H A Dip_sockglue.c87 unsigned char optbuf[sizeof(struct ip_options) + 40]; in ip_cmsg_recv_retopts()
88 struct ip_options *opt = (struct ip_options *)optbuf; in ip_cmsg_recv_retopts()
1604 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt()
1605 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()
1613 sizeof(struct ip_options) + in do_ip_getsockopt()
H A DMakefile7 ip_input.o ip_fragment.o ip_forward.o ip_options.o \
H A Dip_output.c956 struct ip_options *opt = cork->opt; in __ip_append_data()
1307 cork->opt = kmalloc(sizeof(struct ip_options) + 40, in ip_setup_cork()
1312 memcpy(cork->opt, &opt->opt, sizeof(struct ip_options) + opt->opt.optlen); in ip_setup_cork()
1398 struct ip_options *opt = NULL; in __ip_make_skb()
1597 const struct ip_options *sopt, in ip_send_unicast_reply()
H A Dsyncookies.c401 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
H A Dip_input.c262 struct ip_options *opt; in ip_rcv_options()
H A Dicmp.c593 const struct ip_options *opt) in __icmp_send()
798 struct ip_options opts = { 0 }; in icmp_ndo_send()
H A Dipmr.c1822 struct ip_options *opt = &(IPCB(skb)->opt); in ipmr_forward_finish()
H A Droute.c1218 struct ip_options opt; in ipv4_send_dest_unreach()
/linux-6.15/include/net/
H A Dicmp.h40 const struct ip_options *opt);
51 struct ip_options opts = { 0 }; in icmp_ndo_send()
H A Dip.h49 struct ip_options opt; /* Compiled IP options */
287 const struct ip_options *sopt,
766 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
769 int __ip_options_echo(struct net *net, struct ip_options *dopt,
770 struct sk_buff *skb, const struct ip_options *sopt);
771 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo()
778 int __ip_options_compile(struct net *net, struct ip_options *opt,
780 int ip_options_compile(struct net *net, struct ip_options *opt,
784 void ip_options_undo(struct ip_options *opt);
H A Dinet_sock.h40 struct ip_options { struct
61 struct ip_options opt; argument
169 struct ip_options *opt;
H A Dtcp.h2542 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options()
/linux-6.15/net/netfilter/
H A Dnft_exthdr.c85 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()
100 memset(opt, 0, sizeof(struct ip_options)); in ipv4_find_option()
H A Dnft_flow_offload.c281 const struct ip_options *opt; in nft_flow_offload_skip()
/linux-6.15/drivers/scsi/qla4xxx/
H A Dql4_fw.h868 uint16_t ip_options; /* 0C-0D */ member
H A Dql4_os.c3565 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_from_fwddb_param()
3691 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_to_fwddb_param()
3693 fw_ddb_entry->ip_options = cpu_to_le16(options); in qla4xxx_copy_to_fwddb_param()
3801 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_to_sess_conn_params()