Lines Matching refs:req

48 static int netdev_bridge_post_create_message(NetDev *netdev, sd_netlink_message *req) {  in netdev_bridge_post_create_message()  argument
54 r = sd_netlink_message_open_container(req, IFLA_LINKINFO); in netdev_bridge_post_create_message()
58 …r = sd_netlink_message_open_container_union(req, IFLA_INFO_DATA, netdev_kind_to_string(netdev->kin… in netdev_bridge_post_create_message()
64 … r = sd_netlink_message_append_u32(req, IFLA_BR_FORWARD_DELAY, usec_to_jiffies(b->forward_delay)); in netdev_bridge_post_create_message()
70 … r = sd_netlink_message_append_u32(req, IFLA_BR_HELLO_TIME, usec_to_jiffies(b->hello_time)); in netdev_bridge_post_create_message()
76 … r = sd_netlink_message_append_u32(req, IFLA_BR_MAX_AGE, usec_to_jiffies(b->max_age)); in netdev_bridge_post_create_message()
82 … r = sd_netlink_message_append_u32(req, IFLA_BR_AGEING_TIME, usec_to_jiffies(b->ageing_time)); in netdev_bridge_post_create_message()
88 r = sd_netlink_message_append_u16(req, IFLA_BR_PRIORITY, b->priority); in netdev_bridge_post_create_message()
94 r = sd_netlink_message_append_u16(req, IFLA_BR_GROUP_FWD_MASK, b->group_fwd_mask); in netdev_bridge_post_create_message()
100 r = sd_netlink_message_append_u16(req, IFLA_BR_VLAN_DEFAULT_PVID, b->default_pvid); in netdev_bridge_post_create_message()
106 r = sd_netlink_message_append_u8(req, IFLA_BR_MCAST_QUERIER, b->mcast_querier); in netdev_bridge_post_create_message()
112 r = sd_netlink_message_append_u8(req, IFLA_BR_MCAST_SNOOPING, b->mcast_snooping); in netdev_bridge_post_create_message()
118 r = sd_netlink_message_append_u8(req, IFLA_BR_VLAN_FILTERING, b->vlan_filtering); in netdev_bridge_post_create_message()
124 … r = sd_netlink_message_append_u16(req, IFLA_BR_VLAN_PROTOCOL, htobe16(b->vlan_protocol)); in netdev_bridge_post_create_message()
130 r = sd_netlink_message_append_u32(req, IFLA_BR_STP_STATE, b->stp); in netdev_bridge_post_create_message()
136 r = sd_netlink_message_append_u8(req, IFLA_BR_MCAST_IGMP_VERSION, b->igmp_version); in netdev_bridge_post_create_message()
141 r = sd_netlink_message_close_container(req); in netdev_bridge_post_create_message()
145 r = sd_netlink_message_close_container(req); in netdev_bridge_post_create_message()
153 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL; in netdev_bridge_post_create()
158 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &req, RTM_NEWLINK, netdev->ifindex); in netdev_bridge_post_create()
162 r = sd_netlink_message_set_flags(req, NLM_F_REQUEST | NLM_F_ACK); in netdev_bridge_post_create()
166 r = netdev_bridge_post_create_message(netdev, req); in netdev_bridge_post_create()
170 r = netlink_call_async(netdev->manager->rtnl, NULL, req, netdev_bridge_set_handler, in netdev_bridge_post_create()