/linux-master/net/ipv6/ |
H A D | ip6_input.c | 49 struct sk_buff *skb) 52 !skb_dst(skb) && !skb->sk) { 53 switch (ipv6_hdr(skb)->nexthdr) { 56 tcp_v6_early_demux(skb); 60 udp_v6_early_demux(skb); 65 if (!skb_valid_dst(skb)) 66 ip6_route_input(skb); 69 int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 72 * skb t 48 ip6_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb) argument 84 struct sk_buff *skb, *next; local 92 ip6_can_use_hint(const struct sk_buff *skb, const struct sk_buff *hint) argument 99 ip6_extract_route_hint(const struct net *net, struct sk_buff *skb) argument 112 struct sk_buff *skb, *next, *hint = NULL; local 149 ip6_rcv_core(struct sk_buff *skb, struct net_device *dev, struct net *net) argument 303 ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 329 struct sk_buff *skb, *next; local 363 ip6_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int nexthdr, bool have_final) argument 479 ip6_input_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 490 ip6_input(struct sk_buff *skb) argument 498 ip6_mc_input(struct sk_buff *skb) argument [all...] |
/linux-master/net/ipv4/ |
H A D | ip_input.c | 148 bool ip_call_ra_chain(struct sk_buff *skb) argument 151 u8 protocol = ip_hdr(skb)->protocol; 153 struct net_device *dev = skb->dev; 165 if (ip_is_fragment(ip_hdr(skb))) { 166 if (ip_defrag(net, skb, IP_DEFRAG_CALL_RA_CHAIN)) 170 struct sk_buff *skb2 = skb_clone(skb, GFP_ATOMIC); 179 raw_rcv(last, skb); 187 void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) argument 193 raw = raw_local_deliver(skb, protocol); 198 if (!xfrm4_policy_check(NULL, XFRM_POLICY_IN, skb)) { 227 ip_local_deliver_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 242 ip_local_deliver(struct sk_buff *skb) argument 260 ip_rcv_options(struct sk_buff *skb, struct net_device *dev) argument 308 ip_can_use_hint(const struct sk_buff *skb, const struct iphdr *iph, const struct sk_buff *hint) argument 317 ip_rcv_finish_core(struct net *net, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct sk_buff *hint) argument 435 ip_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) argument 456 ip_rcv_core(struct sk_buff *skb, struct net *net) argument 560 ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 576 struct sk_buff *skb, *next; local 584 ip_extract_route_hint(const struct net *net, struct sk_buff *skb, int rt_type) argument 597 struct sk_buff *skb, *next, *hint = NULL; local 648 struct sk_buff *skb, *next; local [all...] |
H A D | fou_nl.h | 20 int fou_nl_add_doit(struct sk_buff *skb, struct genl_info *info); 21 int fou_nl_del_doit(struct sk_buff *skb, struct genl_info *info); 22 int fou_nl_get_doit(struct sk_buff *skb, struct genl_info *info); 23 int fou_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
|
H A D | udp_offload.c | 16 static struct sk_buff *__skb_udp_tunnel_segment(struct sk_buff *skb, argument 18 struct sk_buff *(*gso_inner_segment)(struct sk_buff *skb, 22 int tnl_hlen = skb_inner_mac_header(skb) - skb_transport_header(skb); 25 struct udphdr *uh = udp_hdr(skb); 26 u16 mac_offset = skb->mac_header; 27 __be16 protocol = skb->protocol; 28 u16 mac_len = skb->mac_len; 33 if (unlikely(!pskb_may_pull(skb, tnl_hlen))) 42 if (skb_shinfo(skb) 153 skb_udp_tunnel_segment(struct sk_buff *skb, netdev_features_t features, bool is_ipv6) argument 250 __udp_gso_segment_list(struct sk_buff *skb, netdev_features_t features, bool is_ipv6) argument 376 udp4_ufo_fragment(struct sk_buff *skb, netdev_features_t features) argument 436 skb_gro_receive_list(struct sk_buff *p, struct sk_buff *skb) argument 465 udp_gro_receive_segment(struct list_head *head, struct sk_buff *skb) argument 556 udp_gro_receive(struct list_head *head, struct sk_buff *skb, struct udphdr *uh, struct sock *sk) argument 626 udp4_gro_lookup_skb(struct sk_buff *skb, __be16 sport, __be16 dport) argument 641 udp4_gro_receive(struct list_head *head, struct sk_buff *skb) argument 674 udp_gro_complete_segment(struct sk_buff *skb) argument 691 udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup) argument 729 udp4_gro_complete(struct sk_buff *skb, int nhoff) argument [all...] |
/linux-master/net/dccp/ |
H A D | qpolicy.c | 15 static void qpolicy_simple_push(struct sock *sk, struct sk_buff *skb) argument 17 skb_queue_tail(&sk->sk_write_queue, skb); 38 struct sk_buff *skb, *best = NULL; local 40 skb_queue_walk(&sk->sk_write_queue, skb) 41 if (best == NULL || skb->priority > best->priority) 42 best = skb; 48 struct sk_buff *skb, *worst = NULL; local 50 skb_queue_walk(&sk->sk_write_queue, skb) 51 if (worst == NULL || skb->priority < worst->priority) 52 worst = skb; 95 dccp_qpolicy_push(struct sock *sk, struct sk_buff *skb) argument 105 dccp_qpolicy_drop(struct sock *sk, struct sk_buff *skb) argument 120 struct sk_buff *skb = dccp_qpolicy_top(sk); local [all...] |
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_handlers.h | 12 void rmnet_egress_handler(struct sk_buff *skb);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | tailcall3.c | 16 int classifier_0(struct __sk_buff *skb) argument 19 bpf_tail_call_static(skb, &jmp_table, 0); 24 int entry(struct __sk_buff *skb) argument 26 bpf_tail_call_static(skb, &jmp_table, 0);
|
/linux-master/include/net/ |
H A D | ip6_checksum.h | 39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) argument 41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, 42 &ipv6_hdr(skb)->daddr, 43 skb->len, proto, 0)); 54 static inline void __tcp_v6_send_check(struct sk_buff *skb, argument 58 struct tcphdr *th = tcp_hdr(skb); 60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); 61 skb->csum_start = skb_transport_header(skb) - skb 65 tcp_v6_gso_csum_prep(struct sk_buff *skb) argument [all...] |
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | hif_rx.h | 15 void wfx_handle_rx(struct wfx_dev *wdev, struct sk_buff *skb);
|
/linux-master/net/tipc/ |
H A D | net.h | 47 int tipc_nl_net_dump(struct sk_buff *skb, struct netlink_callback *cb); 48 int tipc_nl_net_set(struct sk_buff *skb, struct genl_info *info); 49 int __tipc_nl_net_set(struct sk_buff *skb, struct genl_info *info); 50 int tipc_nl_net_addr_legacy_get(struct sk_buff *skb, struct genl_info *info);
|
/linux-master/net/dsa/ |
H A D | tag_rtl4_a.c | 35 static struct sk_buff *rtl4a_tag_xmit(struct sk_buff *skb, argument 44 if (unlikely(__skb_put_padto(skb, ETH_ZLEN, false))) 49 skb_push(skb, RTL4_A_HDR_LEN); 51 dsa_alloc_etype_header(skb, RTL4_A_HDR_LEN); 52 tag = dsa_etype_header_pos_tx(skb); 65 return skb; 68 static struct sk_buff *rtl4a_tag_rcv(struct sk_buff *skb, argument 78 if (unlikely(!pskb_may_pull(skb, RTL4_A_HDR_LEN))) 81 tag = dsa_etype_header_pos_rx(skb); 87 return skb; [all...] |
H A D | tag.h | 50 static inline struct sk_buff *dsa_untag_bridge_pvid(struct sk_buff *skb) argument 52 struct dsa_port *dp = dsa_user_to_port(skb->dev); 54 struct net_device *dev = skb->dev; 60 return skb; 64 return skb; 67 if (!skb_vlan_tag_present(skb) && skb->protocol == htons(proto)) { 68 skb = skb_vlan_untag(skb); 69 if (!skb) 156 dsa_default_offload_fwd_mark(struct sk_buff *skb) argument 184 dsa_strip_etype_header(struct sk_buff *skb, int len) argument 213 dsa_alloc_etype_header(struct sk_buff *skb, int len) argument 227 dsa_etype_header_pos_rx(struct sk_buff *skb) argument 236 dsa_etype_header_pos_tx(struct sk_buff *skb) argument [all...] |
H A D | tag_rtl8_4.c | 103 static void rtl8_4_write_tag(struct sk_buff *skb, struct net_device *dev, argument 124 static struct sk_buff *rtl8_4_tag_xmit(struct sk_buff *skb, argument 127 skb_push(skb, RTL8_4_TAG_LEN); 129 dsa_alloc_etype_header(skb, RTL8_4_TAG_LEN); 131 rtl8_4_write_tag(skb, dev, dsa_etype_header_pos_tx(skb)); 133 return skb; 136 static struct sk_buff *rtl8_4t_tag_xmit(struct sk_buff *skb, argument 142 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) 150 rtl8_4_read_tag(struct sk_buff *skb, struct net_device *dev, void *tag) argument 197 rtl8_4_tag_rcv(struct sk_buff *skb, struct net_device *dev) argument 214 rtl8_4t_tag_rcv(struct sk_buff *skb, struct net_device *dev) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | ccm_mbox.c | 13 * form a batch. Threads come in with CMSG formed in an skb, then 14 * enqueue that skb onto the request queue. If threads skb is first 20 * (response is copied into the same skb as the request, overwriting 62 nfp_ccm_mbox_msg_init(struct sk_buff *skb, unsigned int exp_reply, int max_len) argument 64 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; 73 static int nfp_ccm_mbox_maxlen(const struct sk_buff *skb) argument 75 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb->cb; 80 static bool nfp_ccm_mbox_done(struct sk_buff *skb) argument 82 struct nfp_ccm_mbox_cmsg_cb *cb = (void *)skb 87 nfp_ccm_mbox_in_progress(struct sk_buff *skb) argument 95 nfp_ccm_mbox_set_busy(struct sk_buff *skb) argument 102 nfp_ccm_mbox_is_posted(struct sk_buff *skb) argument 109 nfp_ccm_mbox_mark_posted(struct sk_buff *skb) argument 116 nfp_ccm_mbox_is_first(struct nfp_net *nn, struct sk_buff *skb) argument 121 nfp_ccm_mbox_should_run(struct nfp_net *nn, struct sk_buff *skb) argument 131 struct sk_buff *skb; local 153 struct sk_buff *skb; local 201 struct sk_buff *skb; local 218 struct sk_buff *skb; local 358 struct sk_buff *skb; local 378 struct sk_buff *skb, *last; variable in typeref:struct:sk_buff 394 nfp_ccm_mbox_set_busy(skb); variable 420 nfp_ccm_mbox_skb_return(struct sk_buff *skb) argument 464 nfp_ccm_mbox_msg_prepare(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, gfp_t flags) argument 517 nfp_ccm_mbox_msg_enqueue(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, bool critical) argument 539 __nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size, bool critical) argument 597 nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int reply_size, unsigned int max_reply_size) argument 608 struct sk_buff *skb; local 627 struct sk_buff *skb; local 648 nfp_ccm_mbox_post(struct nfp_net *nn, struct sk_buff *skb, enum nfp_ccm_type type, unsigned int max_reply_size) argument 694 struct sk_buff *skb; local [all...] |
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 136 void *ipvlan_get_L3_hdr(struct ipvl_port *port, struct sk_buff *skb, int *type) argument 140 switch (skb->protocol) { 144 if (unlikely(!pskb_may_pull(skb, arp_hdr_len(port->dev)))) 147 arph = arp_hdr(skb); 156 if (unlikely(!pskb_may_pull(skb, sizeof(*ip4h)))) 159 ip4h = ip_hdr(skb); 160 pktlen = skb_ip_totlen(skb); 163 if (skb->len < pktlen || pktlen < (ip4h->ihl * 4)) 174 if (unlikely(!pskb_may_pull(skb, sizeof(*ip6h)))) 177 ip6h = ipv6_hdr(skb); 230 struct sk_buff *skb, *nskb; local 299 ipvlan_skb_crossing_ns(struct sk_buff *skb, struct net_device *dev) argument 319 struct sk_buff *skb = *pskb; local 414 ipvlan_process_v4_outbound(struct sk_buff *skb) argument 458 ipvlan_route_v6_outbound(struct net_device *dev, struct sk_buff *skb) argument 483 ipvlan_process_v6_outbound(struct sk_buff *skb) argument 505 ipvlan_process_v6_outbound(struct sk_buff *skb) argument 511 ipvlan_process_outbound(struct sk_buff *skb) argument 550 ipvlan_multicast_enqueue(struct ipvl_port *port, struct sk_buff *skb, bool tx_pkt) argument 578 ipvlan_xmit_mode_l3(struct sk_buff *skb, struct net_device *dev) argument 605 ipvlan_xmit_mode_l2(struct sk_buff *skb, struct net_device *dev) argument 650 ipvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) argument 678 ipvlan_external_frame(struct sk_buff *skb, struct ipvl_port *port) argument 704 struct sk_buff *skb = *pskb; local 722 struct sk_buff *skb = *pskb; local 751 struct sk_buff *skb = *pskb; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | en_accel.h | 55 mlx5e_tx_tunnel_accel(struct sk_buff *skb, struct mlx5_wqe_eth_seg *eseg, u16 ihs) argument 62 l3_proto = vlan_get_protocol(skb); 65 l4_proto = ip_hdr(skb)->protocol; 68 l4_proto = ipv6_find_hdr(skb, &offset, -1, NULL, NULL); 75 udp_hdr(skb)->dest != cpu_to_be16(GENEVE_UDP_PORT)) 80 if (inner_ip_hdr(skb)->version == 6) { 82 swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr; 85 swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol; 88 mlx5e_set_eseg_swp(skb, eseg, &swp_spec); 89 if (skb_vlan_tag_present(skb) 102 mlx5e_udp_gso_handle_tx_skb(struct sk_buff *skb) argument 118 mlx5e_accel_tx_begin(struct net_device *dev, struct mlx5e_txqsq *sq, struct sk_buff *skb, struct mlx5e_accel_tx_state *state) argument 167 mlx5e_accel_tx_eseg(struct mlx5e_priv *priv, struct sk_buff *skb, struct mlx5_wqe_eth_seg *eseg, u16 ihs) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | virtio_bt.c | 33 struct sk_buff *skb; local 36 skb = alloc_skb(1000, GFP_KERNEL); 37 if (!skb) 40 sg_init_one(sg, skb->data, 1000); 42 err = virtqueue_add_inbuf(vq, sg, 1, skb, GFP_KERNEL); 44 kfree_skb(skb); 78 struct sk_buff *skb; local 80 while ((skb = virtqueue_detach_unused_buf(vq))) 81 kfree_skb(skb); 93 static int virtbt_send_frame(struct hci_dev *hdev, struct sk_buff *skb) argument 115 struct sk_buff *skb; local 133 struct sk_buff *skb; local 146 struct sk_buff *skb; local 159 struct sk_buff *skb; local 172 struct sk_buff *skb; local 187 struct sk_buff *skb; local 198 virtbt_rx_handle(struct virtio_bluetooth *vbt, struct sk_buff *skb) argument 223 struct sk_buff *skb; local 241 struct sk_buff *skb; local [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | cmsg.c | 16 nfp_flower_cmsg_get_hdr(struct sk_buff *skb) argument 18 return (struct nfp_flower_cmsg_hdr *)skb->data; 26 struct sk_buff *skb; local 30 skb = nfp_app_ctrl_msg_alloc(app, size, flag); 31 if (!skb) 34 ch = nfp_flower_cmsg_get_hdr(skb); 38 skb_put(skb, size); 40 return skb; 47 struct sk_buff *skb; local 49 skb 62 nfp_flower_cmsg_mac_repr_add(struct sk_buff *skb, unsigned int idx, unsigned int nbi, unsigned int nbi_port, unsigned int phys_port) argument 79 struct sk_buff *skb; local 104 struct sk_buff *skb; local 123 nfp_flower_process_mtu_ack(struct nfp_app *app, struct sk_buff *skb) argument 151 nfp_flower_cmsg_portmod_rx(struct nfp_app *app, struct sk_buff *skb) argument 186 nfp_flower_cmsg_portreify_rx(struct nfp_app *app, struct sk_buff *skb) argument 208 nfp_flower_cmsg_merge_hint_rx(struct nfp_app *app, struct sk_buff *skb) argument 254 nfp_flower_cmsg_process_one_rx(struct nfp_app *app, struct sk_buff *skb) argument 313 struct sk_buff *skb; local 331 nfp_flower_queue_ctl_msg(struct nfp_app *app, struct sk_buff *skb, int type) argument 351 nfp_flower_cmsg_rx(struct nfp_app *app, struct sk_buff *skb) argument [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-switchdev.h | 11 static inline void am65_cpsw_nuss_set_offload_fwd_mark(struct sk_buff *skb, bool val) argument 13 skb->offload_fwd_mark = val; 28 static inline void am65_cpsw_nuss_set_offload_fwd_mark(struct sk_buff *skb, bool val) argument
|
/linux-master/net/mac80211/ |
H A D | wme.h | 14 struct sk_buff *skb, 17 struct sta_info *sta, struct sk_buff *skb); 19 struct sk_buff *skb);
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfdk/ |
H A D | ipsec.c | 9 u64 nfp_nfdk_ipsec_tx(u64 flags, struct sk_buff *skb) argument 11 struct xfrm_state *x = xfrm_input_state(skb); 12 struct iphdr *iph = ip_hdr(skb);
|
/linux-master/net/mptcp/ |
H A D | mptcp_pm_gen.h | 42 int mptcp_pm_nl_add_addr_doit(struct sk_buff *skb, struct genl_info *info); 43 int mptcp_pm_nl_del_addr_doit(struct sk_buff *skb, struct genl_info *info); 44 int mptcp_pm_nl_get_addr_doit(struct sk_buff *skb, struct genl_info *info); 45 int mptcp_pm_nl_get_addr_dumpit(struct sk_buff *skb, 47 int mptcp_pm_nl_flush_addrs_doit(struct sk_buff *skb, struct genl_info *info); 48 int mptcp_pm_nl_set_limits_doit(struct sk_buff *skb, struct genl_info *info); 49 int mptcp_pm_nl_get_limits_doit(struct sk_buff *skb, struct genl_info *info); 50 int mptcp_pm_nl_set_flags_doit(struct sk_buff *skb, struct genl_info *info); 51 int mptcp_pm_nl_announce_doit(struct sk_buff *skb, struct genl_info *info); 52 int mptcp_pm_nl_remove_doit(struct sk_buff *skb, struc [all...] |
/linux-master/include/linux/ |
H A D | if_vlan.h | 60 static inline struct vlan_ethhdr *vlan_eth_hdr(const struct sk_buff *skb) argument 62 return (struct vlan_ethhdr *)skb_mac_header(skb); 68 static inline struct vlan_ethhdr *skb_vlan_eth_hdr(const struct sk_buff *skb) argument 70 return (struct vlan_ethhdr *)skb->data; 152 * @priority: skb priority 153 * @vlan_qos: vlan priority: (skb->priority << 13) & 0xE000 226 extern bool vlan_do_receive(struct sk_buff **skb); 278 static inline bool vlan_do_receive(struct sk_buff **skb) argument 338 * @skb: skbuff to tag 343 * Inserts the VLAN tag into @skb a 348 __vlan_insert_inner_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci, unsigned int mac_len) argument 397 __vlan_insert_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument 418 vlan_insert_inner_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci, unsigned int mac_len) argument 447 vlan_insert_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument 465 vlan_insert_tag_set_proto(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument 481 __vlan_hwaccel_clear_tag(struct sk_buff *skb) argument 507 __vlan_hwaccel_push_inside(struct sk_buff *skb) argument 524 __vlan_hwaccel_put_tag(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci) argument 538 __vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument 556 __vlan_hwaccel_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument 575 vlan_get_tag(const struct sk_buff *skb, u16 *vlan_tci) argument 593 __vlan_get_protocol(const struct sk_buff *skb, __be16 type, int *depth) argument 635 vlan_get_protocol(const struct sk_buff *skb) argument 641 vlan_get_protocol_and_depth(struct sk_buff *skb, __be16 type, int *depth) argument 660 skb_protocol(const struct sk_buff *skb, bool skip_vlan) argument 671 vlan_set_encap_proto(struct sk_buff *skb, struct vlan_hdr *vhdr) argument 715 vlan_remove_tag(struct sk_buff *skb, u16 *vlan_tci) argument 733 skb_vlan_tagged(const struct sk_buff *skb) argument 749 skb_vlan_tagged_multi(struct sk_buff *skb) argument 779 vlan_features_check(struct sk_buff *skb, netdev_features_t features) argument [all...] |
/linux-master/net/ax25/ |
H A D | ax25_in.c | 34 static int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb) argument 39 if (!(*skb->data & AX25_SEG_FIRST)) { 40 if ((ax25->fragno - 1) == (*skb->data & AX25_SEG_REM)) { 42 ax25->fragno = *skb->data & AX25_SEG_REM; 43 skb_pull(skb, 1); /* skip fragno */ 44 ax25->fraglen += skb->len; 45 skb_queue_tail(&ax25->frag_queue, skb); 82 if (*skb->data & AX25_SEG_FIRST) { 84 ax25->fragno = *skb->data & AX25_SEG_REM; 85 skb_pull(skb, 99 ax25_rx_iframe(ax25_cb *ax25, struct sk_buff *skb) argument 157 ax25_process_rx_frame(ax25_cb *ax25, struct sk_buff *skb, int type, int dama) argument 183 ax25_rcv(struct sk_buff *skb, struct net_device *dev, const ax25_address *dev_addr, struct packet_type *ptype) argument 433 ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument [all...] |
/linux-master/net/smc/ |
H A D | smc_stats.c | 45 static int smc_nl_fill_stats_rmb_data(struct sk_buff *skb, argument 57 attrs = nla_nest_start(skb, type); 60 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_REUSE_CNT, 64 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_SIZE_SM_PEER_CNT, 68 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_SIZE_SM_CNT, 72 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_FULL_PEER_CNT, 76 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_FULL_CNT, 80 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_ALLOC_CNT, 84 if (nla_put_u64_64bit(skb, SMC_NLA_STATS_RMB_DGRADE_CNT, 89 nla_nest_end(skb, attr 98 smc_nl_fill_stats_bufsize_data(struct sk_buff *skb, struct smc_stats *stats, int tech, int type) argument 165 smc_nl_fill_stats_tech_data(struct sk_buff *skb, struct smc_stats *stats, int tech) argument 259 smc_nl_get_stats(struct sk_buff *skb, struct netlink_callback *cb) argument 321 smc_nl_get_fback_details(struct sk_buff *skb, struct netlink_callback *cb, int pos, bool is_srv) argument 381 smc_nl_get_fback_stats(struct sk_buff *skb, struct netlink_callback *cb) argument [all...] |