Lines Matching refs:req

96 static int bridge_fdb_configure_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link…  in bridge_fdb_configure_handler()  argument
119 static int bridge_fdb_configure_message(const BridgeFDB *fdb, Link *link, sd_netlink_message *req) { in bridge_fdb_configure_message() argument
125 r = sd_rtnl_message_neigh_set_flags(req, fdb->ntf_flags); in bridge_fdb_configure_message()
130 r = sd_rtnl_message_neigh_set_state(req, NUD_NOARP | NUD_PERMANENT); in bridge_fdb_configure_message()
134 r = sd_netlink_message_append_data(req, NDA_LLADDR, &fdb->mac_addr, sizeof(fdb->mac_addr)); in bridge_fdb_configure_message()
140 r = sd_netlink_message_append_u16(req, NDA_VLAN, fdb->vlan_id); in bridge_fdb_configure_message()
146 r = sd_netlink_message_append_u32(req, NDA_IFINDEX, fdb->outgoing_ifindex); in bridge_fdb_configure_message()
152 … r = netlink_message_append_in_addr_union(req, NDA_DST, fdb->family, &fdb->destination_addr); in bridge_fdb_configure_message()
158 r = sd_netlink_message_append_u32(req, NDA_VNI, fdb->vni); in bridge_fdb_configure_message()
166 static int bridge_fdb_configure(BridgeFDB *fdb, Link *link, Request *req) { in bridge_fdb_configure() argument
173 assert(req); in bridge_fdb_configure()
183 return request_call_netlink_async(link->manager->rtnl, m, req); in bridge_fdb_configure()
211 static int bridge_fdb_process_request(Request *req, Link *link, void *userdata) { in bridge_fdb_process_request() argument
215 assert(req); in bridge_fdb_process_request()
221 r = bridge_fdb_configure(fdb, link, req); in bridge_fdb_process_request()