/Linux-v5.15/include/linux/ |
D | file.h | 96 unsigned int o_flags); 98 extern int receive_fd(struct file *file, unsigned int o_flags); 101 unsigned int o_flags) in receive_fd_user() argument 105 return __receive_fd(file, ufd, o_flags); in receive_fd_user() 107 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
|
/Linux-v5.15/net/ipv4/ |
D | ip_gre.c | 463 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit() 468 tunnel->parms.o_flags, proto, tunnel->parms.o_key, in __gre_xmit() 655 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit() 696 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit() 711 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit() 734 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit() 755 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update() 767 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update() 768 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in ipgre_link_update() 791 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl() [all …]
|
D | ip_vti.c | 388 if (!(p->o_flags & GRE_KEY)) in vti_tunnel_ctl() 399 p->o_flags |= GRE_KEY; in vti_tunnel_ctl()
|
D | ipip.c | 342 p->i_flags = p->o_flags = 0; in ipip_tunnel_ctl()
|
D | ip_tunnel.c | 886 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
|
/Linux-v5.15/include/net/ |
D | gre.h | 52 static inline int gre_calc_hlen(__be16 o_flags) in gre_calc_hlen() argument 56 if (o_flags & TUNNEL_CSUM) in gre_calc_hlen() 58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen() 60 if (o_flags & TUNNEL_SEQ) in gre_calc_hlen()
|
D | ip6_tunnel.h | 34 __be16 o_flags; member
|
/Linux-v5.15/net/ipv6/ |
D | ip6_gre.c | 387 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate() 771 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre6_xmit() 774 gre_build_header(skb, tunnel->tun_hlen, tunnel->parms.o_flags, in __gre6_xmit() 798 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_ipv4() 832 if (gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM))) in ip6gre_xmit_ipv6() 880 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_other() 971 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit() 1162 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen() 1195 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm() 1225 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user() [all …]
|
D | ip6_vti.c | 767 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
|
/Linux-v5.15/include/uapi/linux/ |
D | ip6_tunnel.h | 51 __be16 o_flags; member
|
D | if_tunnel.h | 52 __be16 o_flags; member
|
/Linux-v5.15/fs/ |
D | file.c | 1113 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument 1122 new_fd = get_unused_fd_flags(o_flags); in __receive_fd() 1139 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument 1146 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace() 1153 int receive_fd(struct file *file, unsigned int o_flags) in receive_fd() argument 1155 return __receive_fd(file, NULL, o_flags); in receive_fd()
|
D | fsopen.c | 87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument 92 O_RDWR | o_flags); in fscontext_create_fd()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 34 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey() 209 (tunnel->parms.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre4()
|
D | spectrum_span.c | 464 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap4_parms() 568 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap6_parms()
|
/Linux-v5.15/net/core/ |
D | scm.c | 301 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local 316 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
|
/Linux-v5.15/net/ |
D | compat.c | 295 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat() local 301 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()
|