Home
last modified time | relevance | path

Searched refs:iface_len (Results 1 – 2 of 2) sorted by relevance

/external/iptables/iptables/
Dnft-bridge.c101 int iface_len; in add_logical_iniface() local
103 iface_len = strlen(iface); in add_logical_iniface()
106 if (iface[iface_len - 1] == '+') in add_logical_iniface()
107 add_cmp_ptr(r, op, iface, iface_len - 1); in add_logical_iniface()
109 add_cmp_ptr(r, op, iface, iface_len + 1); in add_logical_iniface()
114 int iface_len; in add_logical_outiface() local
116 iface_len = strlen(iface); in add_logical_outiface()
119 if (iface[iface_len - 1] == '+') in add_logical_outiface()
120 add_cmp_ptr(r, op, iface, iface_len - 1); in add_logical_outiface()
122 add_cmp_ptr(r, op, iface, iface_len + 1); in add_logical_outiface()
Dnft-shared.c136 int iface_len; in add_iniface() local
138 iface_len = strlen(iface); in add_iniface()
141 if (iface[iface_len - 1] == '+') in add_iniface()
142 add_cmp_ptr(r, op, iface, iface_len - 1); in add_iniface()
144 add_cmp_ptr(r, op, iface, iface_len + 1); in add_iniface()
149 int iface_len; in add_outiface() local
151 iface_len = strlen(iface); in add_outiface()
154 if (iface[iface_len - 1] == '+') in add_outiface()
155 add_cmp_ptr(r, op, iface, iface_len - 1); in add_outiface()
157 add_cmp_ptr(r, op, iface, iface_len + 1); in add_outiface()