Searched refs:iface_len (Results 1 – 2 of 2) sorted by relevance
/external/iptables/iptables/ |
D | nft-shared.c | 138 int iface_len; in add_iniface() local 140 iface_len = strlen(iface); in add_iniface() 143 if (iface[iface_len - 1] == '+') { in add_iniface() 144 if (iface_len > 1) in add_iniface() 145 add_cmp_ptr(r, op, iface, iface_len - 1); in add_iniface() 147 add_cmp_ptr(r, op, iface, iface_len + 1); in add_iniface() 152 int iface_len; in add_outiface() local 154 iface_len = strlen(iface); in add_outiface() 157 if (iface[iface_len - 1] == '+') { in add_outiface() 158 if (iface_len > 1) in add_outiface() [all …]
|
D | nft-bridge.c | 70 int iface_len; in add_logical_iniface() local 72 iface_len = strlen(iface); in add_logical_iniface() 75 if (iface[iface_len - 1] == '+') in add_logical_iniface() 76 add_cmp_ptr(r, op, iface, iface_len - 1); in add_logical_iniface() 78 add_cmp_ptr(r, op, iface, iface_len + 1); in add_logical_iniface() 83 int iface_len; in add_logical_outiface() local 85 iface_len = strlen(iface); in add_logical_outiface() 88 if (iface[iface_len - 1] == '+') in add_logical_outiface() 89 add_cmp_ptr(r, op, iface, iface_len - 1); in add_logical_outiface() 91 add_cmp_ptr(r, op, iface, iface_len + 1); in add_logical_outiface()
|