• Home
  • Raw
  • Download

Lines Matching refs:ifIndex

93 int doTcQdiscClsact(int ifIndex, uint16_t nlMsgType, uint16_t nlMsgFlags);
95 inline int tcQdiscAddDevClsact(int ifIndex) { in tcQdiscAddDevClsact() argument
96 return doTcQdiscClsact(ifIndex, RTM_NEWQDISC, NLM_F_EXCL | NLM_F_CREATE); in tcQdiscAddDevClsact()
99 inline int tcQdiscReplaceDevClsact(int ifIndex) { in tcQdiscReplaceDevClsact() argument
100 return doTcQdiscClsact(ifIndex, RTM_NEWQDISC, NLM_F_CREATE | NLM_F_REPLACE); in tcQdiscReplaceDevClsact()
103 inline int tcQdiscDelDevClsact(int ifIndex) { in tcQdiscDelDevClsact() argument
104 return doTcQdiscClsact(ifIndex, RTM_DELQDISC, 0); in tcQdiscDelDevClsact()
109 int tcFilterAddDevBpf(int ifIndex, bool ingress, uint16_t prio, uint16_t proto, int bpfFd,
113 inline int tcFilterAddDevIngressClatIpv6(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevIngressClatIpv6() argument
114 return tcFilterAddDevBpf(ifIndex, INGRESS, PRIO_CLAT, ETH_P_IPV6, bpfFd, ethernet); in tcFilterAddDevIngressClatIpv6()
118 inline int tcFilterAddDevEgressClatIpv4(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevEgressClatIpv4() argument
119 return tcFilterAddDevBpf(ifIndex, EGRESS, PRIO_CLAT, ETH_P_IP, bpfFd, ethernet); in tcFilterAddDevEgressClatIpv4()
123 inline int tcFilterAddDevIngressTether(int ifIndex, int bpfFd, bool ethernet) { in tcFilterAddDevIngressTether() argument
124 return tcFilterAddDevBpf(ifIndex, INGRESS, PRIO_TETHER, ETH_P_IPV6, bpfFd, ethernet); in tcFilterAddDevIngressTether()
128 int tcFilterDelDev(int ifIndex, bool ingress, uint16_t prio, uint16_t proto);
131 inline int tcFilterDelDevIngressClatIpv6(int ifIndex) { in tcFilterDelDevIngressClatIpv6() argument
132 return tcFilterDelDev(ifIndex, INGRESS, PRIO_CLAT, ETH_P_IPV6); in tcFilterDelDevIngressClatIpv6()
136 inline int tcFilterDelDevEgressClatIpv4(int ifIndex) { in tcFilterDelDevEgressClatIpv4() argument
137 return tcFilterDelDev(ifIndex, EGRESS, PRIO_CLAT, ETH_P_IP); in tcFilterDelDevEgressClatIpv4()
141 inline int tcFilterDelDevIngressTether(int ifIndex) { in tcFilterDelDevIngressTether() argument
142 return tcFilterDelDev(ifIndex, INGRESS, PRIO_TETHER, ETH_P_IPV6); in tcFilterDelDevIngressTether()