Home
last modified time | relevance | path

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

/external/libnfnetlink/src/
Diftable.c55 struct ifinfomsg *ifi_msg = NLMSG_DATA(n); in iftable_add() local
63 if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifi_msg))) in iftable_add()
66 rtnl_parse_rtattr(cb, IFLA_MAX, IFLA_RTA(ifi_msg), IFLA_PAYLOAD(n)); in iftable_add()
71 hash = ifi_msg->ifi_index & 0xF; in iftable_add()
73 if (this->index == ifi_msg->ifi_index) { in iftable_add()
84 this->index = ifi_msg->ifi_index; in iftable_add()
87 this->type = ifi_msg->ifi_type; in iftable_add()
88 this->flags = ifi_msg->ifi_flags; in iftable_add()
116 struct ifinfomsg *ifi_msg = NLMSG_DATA(n); in iftable_del() local
125 if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifi_msg))) in iftable_del()
[all …]