Home
last modified time | relevance | path

Searched refs:oif (Results 1 – 24 of 24) sorted by relevance

/linux-4.1.27/net/netfilter/
Dxt_TEE.c36 int oif; member
66 if (info->priv->oif == -1) in tee_tg_route4()
68 fl4.flowi4_oif = info->priv->oif; in tee_tg_route4()
148 if (info->priv->oif == -1) in tee_tg_route6()
150 fl6.flowi6_oif = info->priv->oif; in tee_tg_route6()
209 if (!strcmp(dev->name, priv->tginfo->oif)) in tee_netdev_event()
210 priv->oif = dev->ifindex; in tee_netdev_event()
213 if (dev->ifindex == priv->oif) in tee_netdev_event()
214 priv->oif = -1; in tee_netdev_event()
217 if (!strcmp(dev->name, priv->tginfo->oif)) in tee_netdev_event()
[all …]
/linux-4.1.27/include/net/
Droute.h125 __be32 saddr, u8 tos, int oif) in ip_route_output() argument
128 .flowi4_oif = oif, in ip_route_output()
140 __u8 proto, __u8 tos, int oif) in ip_route_output_ports() argument
142 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports()
153 __be32 gre_key, __u8 tos, int oif) in ip_route_output_gre() argument
156 fl4->flowi4_oif = oif; in ip_route_output_gre()
182 void ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif,
185 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark,
244 u32 tos, int oif, u8 protocol, in ip_route_connect_init() argument
253 flowi4_init_output(fl4, oif, sk->sk_mark, tos, RT_SCOPE_UNIVERSE, in ip_route_connect_init()
[all …]
Dip6_route.h94 const struct in6_addr *saddr, int oif, int flags);
118 void ip6_update_pmtu(struct sk_buff *skb, struct net *net, __be32 mtu, int oif,
121 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark);
122 void ip6_redirect_no_header(struct sk_buff *skb, struct net *net, int oif,
Dflow.h84 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument
90 fl4->flowi4_oif = oif; in flowi4_init_output()
105 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument
108 fl4->flowi4_oif = oif; in flowi4_update_output()
Dip_fib.h290 u8 tos, int oif, struct net_device *dev,
Dip.h59 int oif; member
/linux-4.1.27/net/ipv4/
Ddatagram.c30 int oif; in __ip4_datagram_connect() local
42 oif = sk->sk_bound_dev_if; in __ip4_datagram_connect()
45 if (!oif) in __ip4_datagram_connect()
46 oif = inet->mc_index; in __ip4_datagram_connect()
52 RT_CONN_FLAGS(sk), oif, in __ip4_datagram_connect()
Dxfrm4_policy.c107 int oif = 0; in _decode_session4() local
110 oif = skb_dst(skb)->dev->ifindex; in _decode_session4()
114 fl4->flowi4_oif = reverse ? skb->skb_iif : oif; in _decode_session4()
Draw.c542 ipc.oif = sk->sk_bound_dev_if; in raw_sendmsg()
588 if (!ipc.oif) in raw_sendmsg()
589 ipc.oif = inet->mc_index; in raw_sendmsg()
592 } else if (!ipc.oif) in raw_sendmsg()
593 ipc.oif = inet->uc_index; in raw_sendmsg()
595 flowi4_init_output(&fl4, ipc.oif, sk->sk_mark, tos, in raw_sendmsg()
Dfib_frontend.c301 u8 tos, int oif, struct net_device *dev, in __fib_validate_source() argument
311 fl4.flowi4_iif = oif ? : LOOPBACK_IFINDEX; in __fib_validate_source()
328 (dev->ifindex != oif || !IN_DEV_TX_REDIRECTS(idev))) in __fib_validate_source()
377 u8 tos, int oif, struct net_device *dev, in fib_validate_source() argument
384 (dev->ifindex != oif || !IN_DEV_TX_REDIRECTS(idev))) { in fib_validate_source()
388 return __fib_validate_source(skb, src, dst, tos, oif, dev, r, idev, itag); in fib_validate_source()
Dping.c739 ipc.oif = sk->sk_bound_dev_if; in ping_v4_sendmsg()
784 if (!ipc.oif) in ping_v4_sendmsg()
785 ipc.oif = inet->mc_index; in ping_v4_sendmsg()
788 } else if (!ipc.oif) in ping_v4_sendmsg()
789 ipc.oif = inet->uc_index; in ping_v4_sendmsg()
791 flowi4_init_output(&fl4, ipc.oif, sk->sk_mark, tos, in ping_v4_sendmsg()
Droute.c504 int oif, u8 tos, in __build_flow_key() argument
510 oif = sk->sk_bound_dev_if; in __build_flow_key()
515 flowi4_init_output(fl4, oif, mark, tos, in __build_flow_key()
525 int oif = skb->dev->ifindex; in build_skb_flow_key() local
530 __build_flow_key(fl4, sk, iph, oif, tos, prot, mark, 0); in build_skb_flow_key()
788 int oif = skb->dev->ifindex; in ip_do_redirect() local
795 __build_flow_key(&fl4, sk, iph, oif, tos, prot, mark, 0); in ip_do_redirect()
1001 int oif, u32 mark, u8 protocol, int flow_flags) in ipv4_update_pmtu() argument
1010 __build_flow_key(&fl4, NULL, iph, oif, in ipv4_update_pmtu()
1092 int oif, u32 mark, u8 protocol, int flow_flags) in ipv4_redirect() argument
[all …]
Dudp.c959 ipc.oif = sk->sk_bound_dev_if; in udp_sendmsg()
1005 if (!ipc.oif) in udp_sendmsg()
1006 ipc.oif = inet->mc_index; in udp_sendmsg()
1010 } else if (!ipc.oif) in udp_sendmsg()
1011 ipc.oif = inet->uc_index; in udp_sendmsg()
1020 flowi4_init_output(fl4, ipc.oif, sk->sk_mark, tos, in udp_sendmsg()
Dip_tunnel.c344 __be32 key, __u8 tos, int oif) in init_tunnel_flow() argument
347 fl4->flowi4_oif = oif; in init_tunnel_flow()
Dip_sockglue.c242 ipc->oif = src_info->ipi6_ifindex; in ip_cmsg_send()
265 ipc->oif = info->ipi_ifindex; in ip_cmsg_send()
Dtcp_ipv4.c710 u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v4_send_ack() argument
769 if (oif) in tcp_v4_send_ack()
770 arg.bound_dev_if = oif; in tcp_v4_send_ack()
/linux-4.1.27/net/ipv6/
Droute.c95 static int rt6_score_route(struct rt6_info *rt, int oif, int strict);
409 struct flowi6 *fl6, int oif, in rt6_multipath_select() argument
424 if (rt6_score_route(sibling, oif, strict) < 0) in rt6_multipath_select()
440 int oif, in rt6_device_match() argument
446 if (!oif && ipv6_addr_any(saddr)) in rt6_device_match()
452 if (oif) { in rt6_device_match()
453 if (dev->ifindex == oif) in rt6_device_match()
457 sprt->rt6i_idev->dev->ifindex != oif) { in rt6_device_match()
458 if (flags & RT6_LOOKUP_F_IFACE && oif) in rt6_device_match()
460 if (local && (!oif || in rt6_device_match()
[all …]
Dxfrm6_policy.c136 int oif = 0; in _decode_session6() local
145 oif = skb_dst(skb)->dev->ifindex; in _decode_session6()
149 fl6->flowi6_oif = reverse ? skb->skb_iif : oif; in _decode_session6()
Dtcp_ipv6.c735 int oif, struct tcp_md5sig_key *key, int rst, in tcp_v6_send_response() argument
806 if (rt6_need_strict(&fl6.daddr) && !oif) in tcp_v6_send_response()
809 fl6.flowi6_oif = oif; in tcp_v6_send_response()
844 int oif; in tcp_v6_send_reset() local
891 oif = sk ? sk->sk_bound_dev_if : 0; in tcp_v6_send_reset()
892 tcp_v6_send_response(sk, skb, seq, ack_seq, 0, 0, 0, oif, key, 1, 0, 0); in tcp_v6_send_reset()
904 u32 ack, u32 win, u32 tsval, u32 tsecr, int oif, in tcp_v6_send_ack() argument
908 tcp_v6_send_response(sk, skb, seq, ack, win, tsval, tsecr, oif, key, 0, in tcp_v6_send_ack()
Dicmp.c817 int oif) in icmpv6_flow_init() argument
825 fl6->flowi6_oif = oif; in icmpv6_flow_init()
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_TEE.h6 char oif[16]; member
/linux-4.1.27/fs/ocfs2/
Dioctl.c242 struct ocfs2_info_fs_features oif; in ocfs2_info_handle_fs_features() local
245 if (o2info_from_user(oif, req)) in ocfs2_info_handle_fs_features()
248 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features()
249 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features()
250 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features()
252 o2info_set_request_filled(&oif.if_req); in ocfs2_info_handle_fs_features()
254 if (o2info_to_user(oif, req)) in ocfs2_info_handle_fs_features()
/linux-4.1.27/include/linux/
Dicmpv6.h44 int oif);
/linux-4.1.27/net/decnet/
Ddn_fib.c572 u32 oif; in fib_magic() member
574 .oif = ifa->ifa_dev->dev->ifindex, in fib_magic()