/external/tcpdump/ |
print-vxlan.c | 36 * | VXLAN Network Identifier (VNI) | Reserved | 44 uint32_t vni; local 54 vni = EXTRACT_24BITS(bp); 59 ND_PRINT((ndo, "vni %u\n", vni));
|
print-geneve.c | 37 * | Virtual Network Identifier (VNI) | Reserved | 138 uint32_t vni; local 164 vni = EXTRACT_24BITS(bp); 174 ND_PRINT((ndo, ", vni 0x%x", vni));
|
/external/iproute2/ip/ |
iplink_geneve.c | 20 fprintf(f, "Usage: ... geneve id VNI remote ADDR\n"); 23 fprintf(f, "Where: VNI := 0-16777215\n"); 37 __u32 vni = 0; local 46 !matches(*argv, "vni")) { 48 if (get_u32(&vni, *argv, 0) || 49 vni >= 1u << 24) 104 addattr32(n, 1024, IFLA_GENEVE_ID, vni); 117 __u32 vni; local 128 vni = rta_getattr_u32(tb[IFLA_GENEVE_ID]); 129 fprintf(f, "id %u ", vni); [all...] |
iplink_vxlan.c | 26 fprintf(f, "Usage: ... vxlan id VNI [ { group | remote } IP_ADDRESS ] [ local ADDR ]\n"); 36 fprintf(f, "Where: VNI := 0-16777215\n"); 50 __u32 vni = 0; local 82 !matches(*argv, "vni")) { 84 if (get_u32(&vni, *argv, 0) || 85 vni >= 1u << 24) 232 fprintf(stderr, "vxlan: both 'external' and vni cannot be specified\n"); 256 addattr32(n, 1024, IFLA_VXLAN_ID, vni); 308 __u32 vni; local 322 vni = rta_getattr_u32(tb[IFLA_VXLAN_ID]) [all...] |
/external/iproute2/bridge/ |
fdb.c | 37 " [ port PORT] [ vni VNI ] [ via DEV ]\n"); 128 fprintf(fp, "vni %d ", rta_getattr_u32(tb[NDA_VNI])); 248 unsigned long vni = ~0; local 284 } else if (strcmp(*argv, "vni") == 0) { 286 vni = strtoul(*argv, &endptr, 0); 288 (vni >> 24) || vni == ULONG_MAX) 289 invarg("invalid VNI\n", *argv); 359 if (vni != ~0 [all...] |