Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
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()
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()
482 void ip_options_undo(struct ip_options *opt) in ip_options_undo()
558 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_options()
605 struct ip_options *opt = &(IPCB(skb)->opt); in ip_options_rcv_srr()
Dip_forward.c67 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward_finish()
83 struct ip_options *opt = &(IPCB(skb)->opt); in ip_forward()
Dip_sockglue.c89 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()
1335 unsigned char optbuf[sizeof(struct ip_options)+40]; in do_ip_getsockopt()
1336 struct ip_options *opt = (struct ip_options *)optbuf; in do_ip_getsockopt()
1344 sizeof(struct ip_options) + in do_ip_getsockopt()
Dip_output.c872 struct ip_options *opt = cork->opt; in __ip_append_data()
1134 cork->opt = kmalloc(sizeof(struct ip_options) + 40, in ip_setup_cork()
1139 memcpy(cork->opt, &opt->opt, sizeof(struct ip_options) + opt->opt.optlen); in ip_setup_cork()
1207 struct ip_options *opt = NULL; in ip_append_page()
1353 struct ip_options *opt = NULL; in __ip_make_skb()
1536 const struct ip_options *sopt, in ip_send_unicast_reply()
DMakefile7 ip_input.o ip_fragment.o ip_forward.o ip_options.o \
Dip_input.c263 struct ip_options *opt; in ip_rcv_options()
Dsyncookies.c285 struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in cookie_v4_check()
Dcipso_ipv4.c2164 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_setattr()
2240 struct ip_options *opt = &IPCB(skb)->opt; in cipso_v4_skbuff_delattr()
Dipmr.c1787 struct ip_options *opt = &(IPCB(skb)->opt); in ipmr_forward_finish()
/Linux-v4.19/include/net/
Dip.h45 struct ip_options opt; /* Compiled IP options */
240 const struct ip_options *sopt,
629 void ip_options_build(struct sk_buff *skb, struct ip_options *opt,
632 int __ip_options_echo(struct net *net, struct ip_options *dopt,
633 struct sk_buff *skb, const struct ip_options *sopt);
634 static inline int ip_options_echo(struct net *net, struct ip_options *dopt, in ip_options_echo()
641 int ip_options_compile(struct net *net, struct ip_options *opt,
647 void ip_options_undo(struct ip_options *opt);
Dinet_sock.h43 struct ip_options { struct
64 struct ip_options opt; argument
136 struct ip_options *opt;
Dtcp.h1954 const struct ip_options *opt = &TCP_SKB_CB(skb)->header.h4.opt; in tcp_v4_save_options()
/Linux-v4.19/net/netfilter/
Dnft_flow_offload.c53 struct ip_options *opt = &(IPCB(skb)->opt); in nft_flow_offload_skip()
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_fw.h869 uint16_t ip_options; /* 0C-0D */ member
Dql4_os.c3528 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_from_fwddb_param()
3655 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_to_fwddb_param()
3657 fw_ddb_entry->ip_options = cpu_to_le16(options); in qla4xxx_copy_to_fwddb_param()
3765 options = le16_to_cpu(fw_ddb_entry->ip_options); in qla4xxx_copy_to_sess_conn_params()