Lines Matching refs:req
12 static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) { in netdev_vlan_fill_message_create() argument
19 assert(req); in netdev_vlan_fill_message_create()
25 r = sd_netlink_message_append_u16(req, IFLA_VLAN_ID, v->id); in netdev_vlan_fill_message_create()
30 r = sd_netlink_message_append_u16(req, IFLA_VLAN_PROTOCOL, htobe16(v->protocol)); in netdev_vlan_fill_message_create()
55 … r = sd_netlink_message_append_data(req, IFLA_VLAN_FLAGS, &flags, sizeof(struct ifla_vlan_flags)); in netdev_vlan_fill_message_create()
62 r = sd_netlink_message_open_container(req, IFLA_VLAN_EGRESS_QOS); in netdev_vlan_fill_message_create()
67 …r = sd_netlink_message_append_data(req, IFLA_VLAN_QOS_MAPPING, m, sizeof(struct ifla_vlan_qos_mapp… in netdev_vlan_fill_message_create()
72 r = sd_netlink_message_close_container(req); in netdev_vlan_fill_message_create()
80 r = sd_netlink_message_open_container(req, IFLA_VLAN_INGRESS_QOS); in netdev_vlan_fill_message_create()
85 …r = sd_netlink_message_append_data(req, IFLA_VLAN_QOS_MAPPING, m, sizeof(struct ifla_vlan_qos_mapp… in netdev_vlan_fill_message_create()
90 r = sd_netlink_message_close_container(req); in netdev_vlan_fill_message_create()