Searched refs:nlh (Results 126 - 150 of 201) sorted by relevance

123456789

/linux-master/net/ipv4/
H A Dfib_semantics.c519 u32 seq = info->nlh ? info->nlh->nlmsg_seq : 0;
543 info->nlh, GFP_KERNEL);
1786 struct nlmsghdr *nlh; local
1789 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), flags);
1790 if (!nlh)
1793 rtm = nlmsg_data(nlh);
1862 nlmsg_end(skb, nlh);
1866 nlmsg_cancel(skb, nlh);
H A Dipmr_base.c321 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags);
337 cb->nlh->nlmsg_seq, mfc, RTM_NEWROUTE, flags);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c245 static int genl_parse_getfamily(struct nlmsghdr *nlh, int *pm_family, argument
248 struct genlmsghdr *ghdr = NLMSG_DATA(nlh);
249 int len = nlh->nlmsg_len;
258 if (nlh->nlmsg_type != GENL_ID_CTRL)
260 nlh->nlmsg_len, nlh->nlmsg_type);
/linux-master/net/netlabel/
H A Dnetlabel_mgmt.c524 cb_arg.seq = cb->nlh->nlmsg_seq;
657 data = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
H A Dnetlabel_calipso.c263 cb_arg.seq = cb->nlh->nlmsg_seq;
H A Dnetlabel_unlabeled.c1179 cb_arg.seq = cb->nlh->nlmsg_seq;
1264 cb_arg.seq = cb->nlh->nlmsg_seq;
/linux-master/net/ieee802154/
H A Dnl802154.c634 cb->nlh->nlmsg_seq, NLM_F_MULTI);
885 cb->nlh->nlmsg_seq, NLM_F_MULTI,
1792 err = nl802154_send_peer_info(skb, cb, cb->nlh->nlmsg_seq,
1801 err = nl802154_send_peer_info(skb, cb, cb->nlh->nlmsg_seq,
2058 cb->nlh->nlmsg_seq, NLM_F_MULTI,
2237 cb->nlh->nlmsg_seq, NLM_F_MULTI,
2421 cb->nlh->nlmsg_seq,
2591 cb->nlh->nlmsg_seq, NLM_F_MULTI,
H A Dnl-phy.c131 data->cb->nlh->nlmsg_seq,
/linux-master/lib/
H A Dkobject_uevent.c725 static int uevent_net_rcv_skb(struct sk_buff *skb, struct nlmsghdr *nlh, argument
731 if (!nlmsg_data(nlh))
/linux-master/net/batman-adv/
H A Dnetlink.c157 * @nlh: Message header
163 batadv_netlink_get_ifindex(const struct nlmsghdr *nlh, int attrtype) argument
165 struct nlattr *attr = nlmsg_find_attr(nlh, GENL_HDRLEN, attrtype);
977 ifindex = batadv_netlink_get_ifindex(cb->nlh,
1005 portid, cb->nlh->nlmsg_seq,
H A Dbat_iv_ogm.c1988 cb->nlh->nlmsg_seq,
2146 cb->nlh->nlmsg_seq,
2162 cb->nlh->nlmsg_seq,
2420 hdr = genlmsg_put(msg, portid, cb->nlh->nlmsg_seq,
H A Dbridge_loop_avoidance.c2140 hdr = genlmsg_put(msg, portid, cb->nlh->nlmsg_seq,
2245 ifindex = batadv_netlink_get_ifindex(cb->nlh,
2309 hdr = genlmsg_put(msg, portid, cb->nlh->nlmsg_seq,
2415 ifindex = batadv_netlink_get_ifindex(cb->nlh,
/linux-master/net/devlink/
H A Dregion.c533 cb->nlh->nlmsg_seq,
564 cb->nlh->nlmsg_seq, flags,
980 hdr = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
H A Ddev.c249 cb->nlh->nlmsg_seq, flags);
937 cb->nlh->nlmsg_seq, flags,
1341 cb->nlh->nlmsg_seq, flags,
/linux-master/tools/lib/bpf/
H A Dnetlink.c344 static int __dump_link_nlmsg(struct nlmsghdr *nlh, argument
348 struct ifinfomsg *ifi = NLMSG_DATA(nlh);
351 len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi));
/linux-master/net/ipv6/
H A Dndisc.c1192 struct nlmsghdr *nlh; local
1206 nlh = nlmsg_put(skb, 0, 0, RTM_NEWNDUSEROPT, base_size, 0);
1207 if (!nlh) {
1211 ndmsg = nlmsg_data(nlh);
1222 nlmsg_end(skb, nlh);
H A Dseg6.c389 cb->nlh->nlmsg_seq,
/linux-master/drivers/block/drbd/
H A Ddrbd_nl.c3219 static struct nlattr *find_cfg_context_attr(const struct nlmsghdr *nlh, int attr) argument
3225 nla = nla_find(nlmsg_attrdata(nlh, hdrlen), nlmsg_attrlen(nlh, hdrlen),
3262 cb->nlh->nlmsg_seq, &drbd_genl_family,
3358 resource_filter = find_cfg_context_attr(cb->nlh, T_ctx_resource_name);
3385 cb->nlh->nlmsg_seq, &drbd_genl_family,
3447 resource_filter = find_cfg_context_attr(cb->nlh, T_ctx_resource_name);
3511 cb->nlh->nlmsg_seq, &drbd_genl_family,
3608 resource_filter = find_cfg_context_attr(cb->nlh, T_ctx_resource_name);
3653 cb->nlh
[all...]
/linux-master/net/openvswitch/
H A Ddatapath.c1457 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh));
1463 err = genlmsg_parse_deprecated(cb->nlh, &dp_flow_genl_family, a,
1489 cb->nlh->nlmsg_seq, NLM_F_MULTI,
2038 cb->nlh->nlmsg_seq, NLM_F_MULTI,
2483 struct ovs_header *ovs_header = genlmsg_data(nlmsg_data(cb->nlh));
2503 cb->nlh->nlmsg_seq,
/linux-master/drivers/net/team/
H A Dteam.c2448 struct nlmsghdr *nlh; local
2499 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI);
2500 if (!nlh) {
2727 struct nlmsghdr *nlh; local
2788 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI);
2789 if (!nlh) {
/linux-master/drivers/vdpa/
H A Dvdpa.c570 cb->nlh->nlmsg_seq, NLM_F_MULTI);
849 info->cb->nlh->nlmsg_seq, NLM_F_MULTI, info->cb->extack);
1377 info->cb->nlh->nlmsg_seq, NLM_F_MULTI,
/linux-master/net/psample/
H A Dpsample.c90 cb->nlh->nlmsg_seq, NLM_F_MULTI);
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c158 struct nlmsghdr *nlh; local
164 nlh = nlmsg_put(skb, portid, seq, type, sizeof(*ndm), flags);
165 if (nlh == NULL)
168 ndm = nlmsg_data(nlh);
238 nlmsg_end(skb, nlh);
242 nlmsg_cancel(skb, nlh);
1369 cb->nlh->nlmsg_seq,
1387 cb->nlh->nlmsg_seq,
3074 static int vxlan_fdb_delete_bulk(struct nlmsghdr *nlh, struct net_device *dev, argument
3079 struct ndmsg *ndm = nlmsg_data(nlh);
[all...]
/linux-master/net/l2tp/
H A Dl2tp_netlink.c505 cb->nlh->nlmsg_seq, NLM_F_MULTI,
854 cb->nlh->nlmsg_seq, NLM_F_MULTI,
/linux-master/net/ethtool/
H A Dnetlink.c232 return genlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
524 ghdr = nlmsg_data(cb->nlh);

Completed in 493 milliseconds

123456789