Searched refs:skb (Results 201 - 225 of 3425) sorted by last modified time

1234567891011>>

/linux-master/net/ipv4/
H A Dinet_hashtables.c340 * @skb: context for a potential SK_REUSEPORT program.
352 struct sk_buff *skb, int doff,
363 reuse_sk = reuseport_select_sock(sk, phash, skb, doff);
379 struct sk_buff *skb, int doff,
391 result = inet_lookup_reuseport(net, sk, skb, doff,
406 struct sk_buff *skb, int doff,
419 reuse_sk = inet_lookup_reuseport(net, sk, skb, doff, saddr, sport, daddr, hnum,
428 struct sk_buff *skb, int doff,
440 result = inet_lookup_run_sk_lookup(net, IPPROTO_TCP, skb, doff,
450 result = inet_lhash2_lookup(net, ilb2, skb, dof
351 inet_lookup_reuseport(struct net *net, struct sock *sk, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, unsigned short hnum, inet_ehashfn_t *ehashfn) argument
377 inet_lhash2_lookup(struct net *net, struct inet_listen_hashbucket *ilb2, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) argument
404 inet_lookup_run_sk_lookup(struct net *net, int protocol, struct sk_buff *skb, int doff, __be32 saddr, __be16 sport, __be32 daddr, u16 hnum, const int dif, inet_ehashfn_t *ehashfn) argument
426 __inet_lookup_listener(struct net *net, struct inet_hashinfo *hashinfo, struct sk_buff *skb, int doff, const __be32 saddr, __be16 sport, const __be32 daddr, const unsigned short hnum, const int dif, const int sdif) argument
485 sock_edemux(struct sk_buff *skb) argument
[all...]
H A Digmp.c350 struct sk_buff *skb; local
362 skb = alloc_skb(size + hlen + tlen,
364 if (skb)
370 skb->priority = TC_PRIO_CONTROL;
376 kfree_skb(skb);
380 skb_dst_set(skb, &rt->dst);
381 skb->dev = dev;
383 skb_reserve(skb, hlen);
384 skb_tailroom_reserve(skb, mtu, tlen);
386 skb_reset_network_header(skb);
420 igmpv3_sendpack(struct sk_buff *skb) argument
435 add_grhead(struct sk_buff *skb, struct ip_mc_list *pmc, int type, struct igmpv3_grec **ppgr, unsigned int mtu) argument
460 add_grec(struct sk_buff *skb, struct ip_mc_list *pmc, int type, int gdeleted, int sdeleted) argument
590 struct sk_buff *skb = NULL; local
656 struct sk_buff *skb = NULL; local
729 struct sk_buff *skb; local
944 igmp_heard_query(struct in_device *in_dev, struct sk_buff *skb, int len) argument
1072 igmp_rcv(struct sk_buff *skb) argument
1497 ip_mc_check_iphdr(struct sk_buff *skb) argument
1530 ip_mc_check_igmp_reportv3(struct sk_buff *skb) argument
1539 ip_mc_check_igmp_query(struct sk_buff *skb) argument
1565 ip_mc_check_igmp_msg(struct sk_buff *skb) argument
1581 ip_mc_validate_checksum(struct sk_buff *skb) argument
1586 ip_mc_check_igmp_csum(struct sk_buff *skb) argument
1621 ip_mc_check_igmp(struct sk_buff *skb) argument
[all...]
H A Dicmp.c104 struct sk_buff *skb; member in struct:icmp_bxm
192 enum skb_drop_reason (*handler)(struct sk_buff *skb);
351 struct sk_buff *skb)
356 csum = skb_copy_and_csum_bits(icmp_param->skb,
360 skb->csum = csum_block_add(skb->csum, csum, odd);
362 nf_ct_attach(skb, icmp_param->skb);
371 struct sk_buff *skb; local
379 } else if ((skb
350 icmp_glue_bits(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument
400 icmp_reply(struct icmp_bxm *icmp_param, struct sk_buff *skb) argument
468 icmp_get_route_lookup_dev(struct sk_buff *skb) argument
823 icmp_socket_deliver(struct sk_buff *skb, u32 info) argument
859 icmp_unreach(struct sk_buff *skb) argument
975 icmp_redirect(struct sk_buff *skb) argument
1005 icmp_echo(struct sk_buff *skb) argument
1037 icmp_build_probe(struct sk_buff *skb, struct icmphdr *icmphdr) argument
1152 icmp_timestamp(struct sk_buff *skb) argument
1184 icmp_discard(struct sk_buff *skb) argument
1193 icmp_rcv(struct sk_buff *skb) argument
1306 ip_icmp_error_rfc4884_validate(const struct sk_buff *skb, int off) argument
1340 ip_icmp_error_rfc4884(const struct sk_buff *skb, struct sock_ee_data_rfc4884 *out, int thlen, int off) argument
1365 icmp_err(struct sk_buff *skb, u32 info) argument
[all...]
H A Dfib_semantics.c518 struct sk_buff *skb; local
522 skb = nlmsg_new(fib_nlmsg_size(fa->fa_info), GFP_KERNEL);
523 if (!skb)
535 err = fib_dump_info(skb, info->portid, seq, event, &fri, nlm_flags);
539 kfree_skb(skb);
542 rtnl_notify(skb, info->nl_net, info->portid, RTNLGRP_IPV4_ROUTE,
1636 int fib_nexthop_info(struct sk_buff *skb, const struct fib_nh_common *nhc, argument
1661 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4))
1673 nla = nla_reserve(skb, RTA_VIA, alen + 2);
1680 } else if (nla_put_in6_addr(skb, RTA_GATEWA
1707 fib_add_nexthop(struct sk_buff *skb, const struct fib_nh_common *nhc, int nh_weight, u8 rt_family, u32 nh_tclassid) argument
1741 fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) argument
1774 fib_add_multipath(struct sk_buff *skb, struct fib_info *fi) argument
1780 fib_dump_info(struct sk_buff *skb, u32 portid, u32 seq, int event, const struct fib_rt_info *fri, unsigned int flags) argument
2253 fib_select_path(struct net *net, struct fib_result *res, struct flowi4 *fl4, const struct sk_buff *skb) argument
[all...]
H A Dgre_demux.c62 int gre_parse_header(struct sk_buff *skb, struct tnl_ptk_info *tpi, argument
69 if (unlikely(!pskb_may_pull(skb, nhs + sizeof(struct gre_base_hdr))))
72 greh = (struct gre_base_hdr *)(skb->data + nhs);
79 if (!pskb_may_pull(skb, nhs + hdr_len))
82 greh = (struct gre_base_hdr *)(skb->data + nhs);
87 if (!skb_checksum_simple_validate(skb)) {
88 skb_checksum_try_convert(skb, IPPROTO_GRE,
117 val = skb_header_pointer(skb, nhs + hdr_len,
135 if (!pskb_may_pull(skb, nhs + hdr_len + sizeof(*ershdr)))
138 ershdr = (struct erspan_base_hdr *)(skb
146 gre_rcv(struct sk_buff *skb) argument
174 gre_err(struct sk_buff *skb, u32 info) argument
[all...]
H A Dfou_bpf.c47 struct sk_buff *skb = (struct sk_buff *)skb_ctx; local
48 struct ip_tunnel_info *info = skb_tunnel_info(skb);
89 struct sk_buff *skb = (struct sk_buff *)skb_ctx; local
90 struct ip_tunnel_info *info = skb_tunnel_info(skb);
H A Desp4.c45 * TODO: Use spare space in skb for this where possible.
99 static void esp_ssg_unref(struct xfrm_state *x, void *tmp, struct sk_buff *skb) argument
114 * Skip the first sg which comes from skb->data.
118 skb_page_unref(sg_page(sg), skb->pp_recycle);
192 static int esp_output_tcp_finish(struct xfrm_state *x, struct sk_buff *skb) argument
206 err = espintcp_queue_out(sk, skb);
208 err = espintcp_push_skb(sk, skb);
217 struct sk_buff *skb)
219 struct dst_entry *dst = skb_dst(skb);
222 return esp_output_tcp_finish(x, skb);
216 esp_output_tcp_encap_cb(struct net *net, struct sock *sk, struct sk_buff *skb) argument
225 esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) argument
240 esp_output_tail_tcp(struct xfrm_state *x, struct sk_buff *skb) argument
250 struct sk_buff *skb = data; local
287 esp_restore_header(struct sk_buff *skb, unsigned int offset) argument
297 esp_output_restore_header(struct sk_buff *skb) argument
306 esp_output_set_extra(struct sk_buff *skb, struct xfrm_state *x, struct ip_esp_hdr *esph, struct esp_output_extra *extra) argument
338 struct sk_buff *skb = data; local
344 esp_output_udp_encap(struct sk_buff *skb, int encap_type, struct esp_info *esp, __be16 sport, __be16 dport) argument
369 esp_output_tcp_encap(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) argument
395 esp_output_tcp_encap(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) argument
403 esp_output_encap(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) argument
435 esp_output_head(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) argument
525 esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *esp) argument
647 esp_output(struct xfrm_state *x, struct sk_buff *skb) argument
697 esp_remove_trailer(struct sk_buff *skb) argument
738 esp_input_done2(struct sk_buff *skb, int err) argument
829 struct sk_buff *skb = data; local
834 esp_input_restore_header(struct sk_buff *skb) argument
840 esp_input_set_header(struct sk_buff *skb, __be32 *seqhi) argument
859 struct sk_buff *skb = data; local
870 esp_input(struct xfrm_state *x, struct sk_buff *skb) argument
963 esp4_err(struct sk_buff *skb, u32 info) argument
1192 esp4_rcv_cb(struct sk_buff *skb, int err) argument
[all...]
H A Ddevinet.c652 static int inet_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh, argument
655 struct net *net = sock_net(skb->sk);
694 __inet_del_ifa(in_dev, ifap, 1, nlh, NETLINK_CB(skb).portid);
956 static int inet_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh, argument
959 struct net *net = sock_net(skb->sk);
986 return __inet_insert_ifa(ifa, nlh, NETLINK_CB(skb).portid,
1012 rtmsg_ifa(RTM_NEWADDR, ifa, nlh, NETLINK_CB(skb).portid);
1671 static int put_cacheinfo(struct sk_buff *skb, unsigned long cstamp, argument
1681 return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci);
1684 static int inet_fill_ifaddr(struct sk_buff *skb, cons argument
1819 in_dev_dump_addr(struct in_device *in_dev, struct sk_buff *skb, struct netlink_callback *cb, int *s_ip_idx, struct inet_fill_args *fillargs) argument
1862 inet_dump_ifaddr(struct sk_buff *skb, struct netlink_callback *cb) argument
1931 struct sk_buff *skb; local
1965 inet_fill_link_af(struct sk_buff *skb, const struct net_device *dev, u32 ext_filter_mask) argument
2065 inet_netconf_fill_devconf(struct sk_buff *skb, int ifindex, const struct ipv4_devconf *devconf, u32 portid, u32 seq, int event, unsigned int flags, int type) argument
2129 struct sk_buff *skb; local
2159 inet_netconf_valid_get_req(struct sk_buff *skb, const struct nlmsghdr *nlh, struct nlattr **tb, struct netlink_ext_ack *extack) argument
2207 struct sk_buff *skb; local
2260 inet_netconf_dump_devconf(struct sk_buff *skb, struct netlink_callback *cb) argument
[all...]
H A Dcipso_ipv4.c1490 * @skb: the packet
1497 unsigned char *cipso_v4_optptr(const struct sk_buff *skb) argument
1499 const struct iphdr *iph = ip_hdr(skb);
1500 unsigned char *optptr = (unsigned char *)&(ip_hdr(skb)[1]);
1528 * @skb: the packet
1546 int cipso_v4_validate(const struct sk_buff *skb, unsigned char **option) argument
1663 * userspace so reject it if skb is NULL. */
1664 if (!skb || !(skb->dev->flags & IFF_LOOPBACK)) {
1691 * @skb
1716 cipso_v4_error(struct sk_buff *skb, int error, u32 gateway) argument
2161 cipso_v4_skbuff_setattr(struct sk_buff *skb, const struct cipso_v4_doi *doi_def, const struct netlbl_lsm_secattr *secattr) argument
2239 cipso_v4_skbuff_delattr(struct sk_buff *skb) argument
[all...]
H A Darp.c66 * bonding can change the skb before
125 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
126 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
127 static void parp_redo(struct sk_buff *skb);
294 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb) argument
296 dst_link_failure(skb);
297 kfree_skb_reason(skb, SKB_DROP_REASON_NEIGH_FAILED);
308 struct sk_buff *skb; local
314 skb = arp_create(type, ptype, dest_ip, dev, src_ip,
316 if (!skb)
333 arp_solicit(struct neighbour *neigh, struct sk_buff *skb) argument
551 struct sk_buff *skb; local
652 arp_xmit_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument
660 arp_xmit(struct sk_buff *skb) argument
699 arp_process(struct net *net, struct sock *sk, struct sk_buff *skb) argument
950 parp_redo(struct sk_buff *skb) argument
964 arp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument
[all...]
H A Daf_inet.c1369 struct sk_buff *inet_gso_segment(struct sk_buff *skb, argument
1382 skb_reset_network_header(skb);
1383 nhoff = skb_network_header(skb) - skb_mac_header(skb);
1384 if (unlikely(!pskb_may_pull(skb, sizeof(*iph))))
1387 iph = ip_hdr(skb);
1396 if (unlikely(!pskb_may_pull(skb, ihl)))
1398 __skb_pull(skb, ihl);
1400 encap = SKB_GSO_CB(skb)->encap_level > 0;
1402 features &= skb
1468 ipip_gso_segment(struct sk_buff *skb, netdev_features_t features) argument
1477 inet_gro_receive(struct list_head *head, struct sk_buff *skb) argument
1550 ipip_gro_receive(struct list_head *head, struct sk_buff *skb) argument
1603 inet_gro_complete(struct sk_buff *skb, int nhoff) argument
1635 ipip_gro_complete(struct sk_buff *skb, int nhoff) argument
[all...]
/linux-master/net/ieee802154/6lowpan/
H A Dreassembly.c33 static int lowpan_frag_reasm(struct lowpan_frag_queue *fq, struct sk_buff *skb,
85 struct sk_buff *skb, u8 frag_type)
91 /* inet_frag_queue_* functions use skb->cb; see struct ipfrag_skb_cb
100 offset = lowpan_802154_cb(skb)->d_offset << 3;
101 end = lowpan_802154_cb(skb)->d_size;
104 if (offset + skb->len == end) {
122 ldev = skb->dev;
124 skb->dev = NULL;
128 err = inet_frag_queue_insert(&fq->q, skb, offset, end);
132 fq->q.stamp = skb
84 lowpan_frag_queue(struct lowpan_frag_queue *fq, struct sk_buff *skb, u8 frag_type) argument
164 lowpan_frag_reasm(struct lowpan_frag_queue *fq, struct sk_buff *skb, struct sk_buff *prev_tail, struct net_device *ldev) argument
188 lowpan_frag_rx_handlers_result(struct sk_buff *skb, lowpan_rx_result res) argument
206 lowpan_frag_rx_h_iphc(struct sk_buff *skb) argument
220 lowpan_invoke_frag_rx_handlers(struct sk_buff *skb) argument
243 lowpan_get_cb(struct sk_buff *skb, u8 frag_type, struct lowpan_802154_cb *cb) argument
277 lowpan_frag_rcv(struct sk_buff *skb, u8 frag_type) argument
[all...]
/linux-master/net/hsr/
H A Dhsr_main.h181 int (*fill_frame_info)(__be16 proto, struct sk_buff *skb,
233 /* Caller must ensure skb is a valid HSR frame */
234 static inline u16 hsr_get_skb_sequence_nr(struct sk_buff *skb) argument
238 hsr_ethhdr = (struct hsr_ethhdr *)skb_mac_header(skb);
242 static inline struct prp_rct *skb_get_PRP_rct(struct sk_buff *skb) argument
244 unsigned char *tail = skb_tail_pointer(skb) - HSR_HLEN;
254 /* Assume caller has confirmed this skb is PRP suffixed */
261 static inline bool prp_check_lsdu_size(struct sk_buff *skb, argument
271 ethhdr = (struct ethhdr *)skb_mac_header(skb);
272 expected_lsdu_size = skb
[all...]
H A Dhsr_netlink.c145 static int hsr_fill_info(struct sk_buff *skb, const struct net_device *dev) argument
153 if (nla_put_u32(skb, IFLA_HSR_SLAVE1, port->dev->ifindex))
159 if (nla_put_u32(skb, IFLA_HSR_SLAVE2, port->dev->ifindex))
163 if (nla_put(skb, IFLA_HSR_SUPERVISION_ADDR, ETH_ALEN,
165 nla_put_u16(skb, IFLA_HSR_SEQ_NR, hsr->sequence_nr))
169 if (nla_put_u8(skb, IFLA_HSR_PROTOCOL, proto))
213 struct sk_buff *skb; local
218 skb = genlmsg_new(NLMSG_GOODSIZE, GFP_ATOMIC);
219 if (!skb)
222 msg_head = genlmsg_put(skb,
255 struct sk_buff *skb; local
[all...]
H A Dhsr_slave.c26 struct sk_buff *skb = *pskb; local
32 if (unlikely(skb->pkt_type == PACKET_LOOPBACK))
35 if (!skb_mac_header_was_set(skb)) {
36 WARN_ONCE(1, "%s: skb invalid", __func__);
40 port = hsr_port_get_rcu(skb->dev);
45 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) {
47 kfree_skb(skb);
55 protocol = eth_hdr(skb)->h_proto;
63 skb_push(skb, ETH_HLEN);
64 skb_reset_mac_header(skb);
[all...]
H A Dhsr_framereg.h34 struct sk_buff *skb, bool is_sup,
39 void hsr_addr_subst_source(struct hsr_node *node, struct sk_buff *skb);
40 void hsr_addr_subst_dest(struct hsr_node *node_src, struct sk_buff *skb,
H A Dhsr_framereg.c203 /* Get the hsr_node from which 'skb' was sent.
206 struct sk_buff *skb, bool is_sup,
216 if (!skb_mac_header_was_set(skb))
219 ethhdr = (struct ethhdr *)skb_mac_header(skb);
248 /* Check if skb contains hsr_ethhdr */
249 if (skb->mac_len < sizeof(struct hsr_ethhdr))
255 seq_out = hsr_get_skb_sequence_nr(skb) - 1;
257 rct = skb_get_PRP_rct(skb);
258 if (rct && prp_check_lsdu_size(skb, rct, is_sup)) {
283 struct sk_buff *skb local
205 hsr_get_node(struct hsr_port *port, struct list_head *node_db, struct sk_buff *skb, bool is_sup, enum hsr_port_type rx_port) argument
404 hsr_addr_subst_source(struct hsr_node *node, struct sk_buff *skb) argument
423 hsr_addr_subst_dest(struct hsr_node *node_src, struct sk_buff *skb, struct hsr_port *port) argument
[all...]
H A Dhsr_device.c218 static netdev_tx_t hsr_dev_xmit(struct sk_buff *skb, struct net_device *dev) argument
225 skb->dev = master->dev;
226 skb_reset_mac_header(skb);
227 skb_reset_mac_len(skb);
229 hsr_forward_skb(skb, master);
233 dev_kfree_skb_any(skb);
246 struct sk_buff *skb; local
251 /* skb size is same for PRP/HSR frames, only difference
255 skb = dev_alloc_skb(sizeof(struct hsr_sup_tag) +
258 if (!skb)
290 struct sk_buff *skb; local
354 struct sk_buff *skb; local
[all...]
H A Dhsr_forward.c35 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) argument
43 WARN_ON_ONCE(!skb_mac_header_was_set(skb));
44 eth_hdr = (struct ethhdr *)skb_mac_header(skb);
59 if (!pskb_may_pull(skb, total_length))
62 hsr_V1_hdr = (struct hsrv1_ethhdr_sp *)skb_mac_header(skb);
69 if (!pskb_may_pull(skb, total_length))
73 &((struct hsrv0_ethhdr_sp *)skb_mac_header(skb))->hsr_sup;
87 if (!pskb_may_pull(skb, total_length))
89 skb_pull(skb, total_length);
90 hsr_sup_tlv = (struct hsr_sup_tlv *)skb
123 struct sk_buff *skb; local
206 prp_fill_rct(struct sk_buff *skb, struct hsr_frame_info *frame, struct hsr_port *port) argument
249 hsr_fill_tag(struct sk_buff *skb, struct hsr_frame_info *frame, struct hsr_port *port, u8 proto_version) argument
284 struct sk_buff *skb; local
326 struct sk_buff *skb; local
348 hsr_deliver_master(struct sk_buff *skb, struct net_device *dev, struct hsr_node *node_src) argument
369 hsr_xmit(struct sk_buff *skb, struct hsr_port *port, struct hsr_frame_info *frame) argument
402 struct sk_buff *skb; local
471 struct sk_buff *skb; local
537 check_local_dest(struct hsr_priv *hsr, struct sk_buff *skb, struct hsr_frame_info *frame) argument
556 handle_std_frame(struct sk_buff *skb, struct hsr_frame_info *frame) argument
578 hsr_fill_frame_info(__be16 proto, struct sk_buff *skb, struct hsr_frame_info *frame) argument
605 prp_fill_frame_info(__be16 proto, struct sk_buff *skb, struct hsr_frame_info *frame) argument
624 fill_frame_info(struct hsr_frame_info *frame, struct sk_buff *skb, struct hsr_port *port) argument
677 hsr_forward_skb(struct sk_buff *skb, struct hsr_port *port) argument
[all...]
/linux-master/net/ethtool/
H A Dpse-pd.c93 static int pse_fill_reply(struct sk_buff *skb, argument
101 nla_put_u32(skb, ETHTOOL_A_PODL_PSE_ADMIN_STATE,
106 nla_put_u32(skb, ETHTOOL_A_PODL_PSE_PW_D_STATUS,
111 nla_put_u32(skb, ETHTOOL_A_C33_PSE_ADMIN_STATE,
116 nla_put_u32(skb, ETHTOOL_A_C33_PSE_PW_D_STATUS,
H A Dtsinfo.c99 static int tsinfo_put_stat(struct sk_buff *skb, u64 val, u16 attrtype) argument
103 if (nla_put_uint(skb, attrtype, val))
108 static int tsinfo_put_stats(struct sk_buff *skb, argument
113 nest = nla_nest_start(skb, ETHTOOL_A_TSINFO_STATS);
117 if (tsinfo_put_stat(skb, stats->tx_stats.pkts,
119 tsinfo_put_stat(skb, stats->tx_stats.lost,
121 tsinfo_put_stat(skb, stats->tx_stats.err,
125 nla_nest_end(skb, nest);
129 nla_nest_cancel(skb, nest);
133 static int tsinfo_fill_reply(struct sk_buff *skb, argument
[all...]
/linux-master/net/dsa/
H A Duser.c505 struct sk_buff *skb; member in struct:dsa_user_dump_ctx
515 u32 portid = NETLINK_CB(dump->cb->skb).portid;
523 nlh = nlmsg_put(dump->skb, portid, seq, RTM_NEWNEIGH,
537 if (nla_put(dump->skb, NDA_LLADDR, ETH_ALEN, addr))
540 if (vid && nla_put_u16(dump->skb, NDA_VLAN, vid))
543 nlmsg_end(dump->skb, nlh);
550 nlmsg_cancel(dump->skb, nlh);
555 dsa_user_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, argument
562 .skb = skb,
878 dsa_user_netpoll_send_skb(struct net_device *dev, struct sk_buff *skb) argument
891 dsa_skb_tx_timestamp(struct dsa_user_priv *p, struct sk_buff *skb) argument
905 dsa_enqueue_skb(struct sk_buff *skb, struct net_device *dev) argument
923 dsa_user_xmit(struct sk_buff *skb, struct net_device *dev) argument
[all...]
/linux-master/net/devlink/
H A Dport.c594 int devlink_nl_port_get_doit(struct sk_buff *skb, struct genl_info *info) argument
627 NETLINK_CB(cb->skb).portid,
639 int devlink_nl_port_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb) argument
641 return devlink_nl_dumpit(skb, cb, devlink_nl_port_get_dump_one);
830 int devlink_nl_port_set_doit(struct sk_buff *skb, struct genl_info *info) argument
856 int devlink_nl_port_split_doit(struct sk_buff *skb, struct genl_info *info) argument
887 int devlink_nl_port_unsplit_doit(struct sk_buff *skb, struct genl_info *info) argument
897 int devlink_nl_port_new_doit(struct sk_buff *skb, struct genl_info *info) argument
961 int devlink_nl_port_del_doit(struct sk_buff *skb, struct genl_info *info) argument
H A Dparam.c396 NETLINK_CB(cb->skb).portid,
409 int devlink_nl_param_get_dumpit(struct sk_buff *skb, argument
412 return devlink_nl_dumpit(skb, cb, devlink_nl_param_get_dump_one);
502 int devlink_nl_param_get_doit(struct sk_buff *skb, argument
584 int devlink_nl_param_set_doit(struct sk_buff *skb, struct genl_info *info) argument
599 int devlink_nl_port_param_get_doit(struct sk_buff *skb, argument
606 int devlink_nl_port_param_set_doit(struct sk_buff *skb, argument
H A Ddev.c223 int devlink_nl_get_doit(struct sk_buff *skb, struct genl_info *info) argument
248 NETLINK_CB(cb->skb).portid,
378 static struct net *devlink_netns_get(struct sk_buff *skb, argument
396 net = get_net_ns_by_id(sock_net(skb->sk),
408 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) {
519 int devlink_nl_reload_doit(struct sk_buff *skb, struct genl_info *info) argument
575 dest_net = devlink_netns_get(skb, info);
685 int devlink_nl_eswitch_get_doit(struct sk_buff *skb, struct genl_info *info) argument
706 int devlink_nl_eswitch_set_doit(struct sk_buff *skb, struct genl_info *info) argument
908 int devlink_nl_info_get_doit(struct sk_buff *skb, struc argument
1134 devlink_nl_flash_update_doit(struct sk_buff *skb, struct genl_info *info) argument
1304 devlink_nl_selftests_get_doit(struct sk_buff *skb, struct genl_info *info) argument
1341 devlink_nl_selftests_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb) argument
1347 devlink_selftest_result_put(struct sk_buff *skb, unsigned int id, enum devlink_selftest_status test_status) argument
1373 devlink_nl_selftests_run_doit(struct sk_buff *skb, struct genl_info *info) argument
[all...]

Completed in 287 milliseconds

1234567891011>>