Searched refs:ifal (Results 1 – 2 of 2) sorted by relevance
/external/strace/ |
D | rtnl_addrlabel.c | 49 const struct ifaddrlblmsg *const ifal = opaque_data; in decode_ifal_address() local 51 decode_inet_addr(tcp, addr, len, ifal->ifal_family, NULL); in decode_ifal_address() 63 struct ifaddrlblmsg ifal = { .ifal_family = family }; in DECL_NETLINK_ROUTE_DECODER() local 64 size_t offset = sizeof(ifal.ifal_family); in DECL_NETLINK_ROUTE_DECODER() 67 PRINT_FIELD_XVAL("{", ifal, ifal_family, addrfams, "AF_???"); in DECL_NETLINK_ROUTE_DECODER() 70 if (len >= sizeof(ifal)) { in DECL_NETLINK_ROUTE_DECODER() 72 sizeof(ifal) - offset, in DECL_NETLINK_ROUTE_DECODER() 73 (char *) &ifal + offset)) { in DECL_NETLINK_ROUTE_DECODER() 74 PRINT_FIELD_U("", ifal, ifal_prefixlen); in DECL_NETLINK_ROUTE_DECODER() 75 PRINT_FIELD_U(", ", ifal, ifal_flags); in DECL_NETLINK_ROUTE_DECODER() [all …]
|
/external/iproute2/ip/ |
D | ipaddrlabel.c | 60 struct ifaddrlblmsg *ifal = NLMSG_DATA(n); in print_addrlabel() local 67 len -= NLMSG_LENGTH(sizeof(*ifal)); in print_addrlabel() 71 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); in print_addrlabel() 78 format_host_rta(ifal->ifal_family, in print_addrlabel() 80 ifal->ifal_prefixlen); in print_addrlabel() 83 if (ifal->ifal_index) in print_addrlabel() 84 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index)); in print_addrlabel() 128 struct ifaddrlblmsg ifal; in ipaddrlabel_modify() member 134 .ifal.ifal_family = preferred_family, in ipaddrlabel_modify() 153 if ((req.ifal.ifal_index = ll_name_to_index(*argv)) == 0) in ipaddrlabel_modify() [all …]
|