Searched refs:ifindex (Results 1 - 4 of 4) sorted by relevance
/security/selinux/include/ |
H A D | netif.h | 24 int sel_netif_sid(struct net *ns, int ifindex, u32 *sid);
|
H A D | objsec.h | 83 int ifindex; /* device index */ member in struct:netif_security_struct
|
/security/selinux/ |
H A D | netif.c | 49 * @ifindex: the network interface 56 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) argument 58 return (((uintptr_t)ns + ifindex) & (SEL_NETIF_HASH_SIZE - 1)); 64 * @ifindex: the network interface 67 * Search the network interface table and return the record matching @ifindex. 72 int ifindex) 74 int idx = sel_netif_hashfn(ns, ifindex); 79 netif->nsec.ifindex == ifindex) 101 idx = sel_netif_hashfn(netif->nsec.ns, netif->nsec.ifindex); 71 sel_netif_find(const struct net *ns, int ifindex) argument 136 sel_netif_sid_slow(struct net *ns, int ifindex, u32 *sid) argument 203 sel_netif_sid(struct net *ns, int ifindex, u32 *sid) argument 229 sel_netif_kill(const struct net *ns, int ifindex) argument [all...] |
H A D | hooks.c | 4398 static int selinux_inet_sys_rcv_skb(struct net *ns, int ifindex, argument 4406 err = sel_netif_sid(ns, ifindex, &if_sid); 4866 ad.u.net->netif = indev->ifindex; 4872 err = selinux_inet_sys_rcv_skb(dev_net(indev), indev->ifindex, 4968 int ifindex, 4984 ad.u.net->netif = ifindex; 5006 int ifindex = outdev->ifindex; local 5019 return selinux_ip_postroute_compat(skb, ifindex, family); 5105 ad.u.net->netif = ifindex; 4967 selinux_ip_postroute_compat(struct sk_buff *skb, int ifindex, u16 family) argument [all...] |
Completed in 271 milliseconds