Lines Matching refs:ifIndex
72 int doTcQdiscClsact(int ifIndex, uint16_t nlMsgType, uint16_t nlMsgFlags);
74 inline int tcQdiscAddDevClsact(int ifIndex) { in tcQdiscAddDevClsact() argument
75 return doTcQdiscClsact(ifIndex, RTM_NEWQDISC, NLM_F_EXCL | NLM_F_CREATE); in tcQdiscAddDevClsact()
78 inline int tcQdiscReplaceDevClsact(int ifIndex) { in tcQdiscReplaceDevClsact() argument
79 return doTcQdiscClsact(ifIndex, RTM_NEWQDISC, NLM_F_CREATE | NLM_F_REPLACE); in tcQdiscReplaceDevClsact()
82 inline int tcQdiscDelDevClsact(int ifIndex) { in tcQdiscDelDevClsact() argument
83 return doTcQdiscClsact(ifIndex, RTM_DELQDISC, 0); in tcQdiscDelDevClsact()
88 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t proto, int bpfFd, bool ethernet);
91 inline int tcFilterAddDevIngressClatIpv6(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevIngressClatIpv6() argument
92 return tcFilterAddDevBpf(ifIndex, INGRESS, ETH_P_IPV6, bpfFd, ethernet); in tcFilterAddDevIngressClatIpv6()
96 inline int tcFilterAddDevEgressClatIpv4(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevEgressClatIpv4() argument
97 return tcFilterAddDevBpf(ifIndex, EGRESS, ETH_P_IP, bpfFd, ethernet); in tcFilterAddDevEgressClatIpv4()
101 int tcFilterDelDev(int ifIndex, bool ingress, uint16_t proto);
104 inline int tcFilterDelDevIngressClatIpv6(int ifIndex) { in tcFilterDelDevIngressClatIpv6() argument
105 return tcFilterDelDev(ifIndex, INGRESS, ETH_P_IPV6); in tcFilterDelDevIngressClatIpv6()
109 inline int tcFilterDelDevEgressClatIpv4(int ifIndex) { in tcFilterDelDevEgressClatIpv4() argument
110 return tcFilterDelDev(ifIndex, EGRESS, ETH_P_IP); in tcFilterDelDevEgressClatIpv4()