/linux-master/include/linux/ |
H A D | icmp.h | 20 static inline struct icmphdr *icmp_hdr(const struct sk_buff *skb) argument 22 return (struct icmphdr *)skb_transport_header(skb); 39 void ip_icmp_error_rfc4884(const struct sk_buff *skb,
|
H A D | icmpv6.h | 9 static inline struct icmp6hdr *icmp6_hdr(const struct sk_buff *skb) argument 11 return (struct icmp6hdr *)skb_transport_header(skb); 18 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info, 21 void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, 25 static inline void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, argument 28 icmp6_send(skb, type, code, info, NULL, parm); 41 extern void __icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info, 47 static inline void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument 49 __icmpv6_send(skb, type, code, info, IP6CB(skb)); 67 icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument 72 icmpv6_ndo_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument 93 icmpv6_param_prob(struct sk_buff *skb, u8 code, int pos) argument [all...] |
H A D | virtio_vsock.h | 18 #define VIRTIO_VSOCK_SKB_CB(skb) ((struct virtio_vsock_skb_cb *)((skb)->cb)) 20 static inline struct virtio_vsock_hdr *virtio_vsock_hdr(struct sk_buff *skb) argument 22 return (struct virtio_vsock_hdr *)skb->head; 25 static inline bool virtio_vsock_skb_reply(struct sk_buff *skb) argument 27 return VIRTIO_VSOCK_SKB_CB(skb)->reply; 30 static inline void virtio_vsock_skb_set_reply(struct sk_buff *skb) argument 32 VIRTIO_VSOCK_SKB_CB(skb)->reply = true; 35 static inline bool virtio_vsock_skb_tap_delivered(struct sk_buff *skb) argument 37 return VIRTIO_VSOCK_SKB_CB(skb) 40 virtio_vsock_skb_set_tap_delivered(struct sk_buff *skb) argument 45 virtio_vsock_skb_clear_tap_delivered(struct sk_buff *skb) argument 50 virtio_vsock_skb_rx_put(struct sk_buff *skb) argument 62 struct sk_buff *skb; local 76 virtio_vsock_skb_queue_head(struct sk_buff_head *list, struct sk_buff *skb) argument 84 virtio_vsock_skb_queue_tail(struct sk_buff_head *list, struct sk_buff *skb) argument 93 struct sk_buff *skb; local 109 virtio_vsock_skb_len(struct sk_buff *skb) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | tailcall4.c | 17 int classifier_##x(struct __sk_buff *skb) \ 26 int entry(struct __sk_buff *skb) argument 28 bpf_tail_call(skb, &jmp_table, selector);
|
H A D | tailcall6.c | 16 int classifier_0(struct __sk_buff *skb) argument 21 bpf_tail_call(skb, &jmp_table, which); 26 int entry(struct __sk_buff *skb) argument 30 bpf_tail_call(skb, &jmp_table, which);
|
H A D | xfrm_info.c | 20 int set_xfrm_info(struct __sk_buff *skb) argument 24 return bpf_skb_set_xfrm_info(skb, &info) ? TC_ACT_SHOT : TC_ACT_UNSPEC; 28 int get_xfrm_info(struct __sk_buff *skb) argument 32 if (bpf_skb_get_xfrm_info(skb, &info) < 0)
|
H A D | kfunc_call_test_subprog.c | 9 int __noinline f1(struct __sk_buff *skb) argument 11 struct bpf_sock *sk = skb->sk; 32 int kfunc_call_test1(struct __sk_buff *skb) argument 34 return f1(skb);
|
/linux-master/net/netfilter/ |
H A D | nf_flow_table_ip.c | 23 struct sk_buff *skb, unsigned int thoff) 30 tcph = (void *)(skb_network_header(skb) + thoff); 39 static void nf_flow_nat_ip_tcp(struct sk_buff *skb, unsigned int thoff, argument 44 tcph = (void *)(skb_network_header(skb) + thoff); 45 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, true); 48 static void nf_flow_nat_ip_udp(struct sk_buff *skb, unsigned int thoff, argument 53 udph = (void *)(skb_network_header(skb) + thoff); 54 if (udph->check || skb->ip_summed == CHECKSUM_PARTIAL) { 55 inet_proto_csum_replace4(&udph->check, skb, addr, 62 static void nf_flow_nat_ip_l4proto(struct sk_buff *skb, struc argument 22 nf_flow_state_check(struct flow_offload *flow, int proto, struct sk_buff *skb, unsigned int thoff) argument 76 nf_flow_snat_ip(const struct flow_offload *flow, struct sk_buff *skb, struct iphdr *iph, unsigned int thoff, enum flow_offload_tuple_dir dir) argument 99 nf_flow_dnat_ip(const struct flow_offload *flow, struct sk_buff *skb, struct iphdr *iph, unsigned int thoff, enum flow_offload_tuple_dir dir) argument 122 nf_flow_nat_ip(const struct flow_offload *flow, struct sk_buff *skb, unsigned int thoff, enum flow_offload_tuple_dir dir, struct iphdr *iph) argument 141 nf_flow_tuple_encap(struct sk_buff *skb, struct flow_offload_tuple *tuple) argument 173 nf_flow_tuple_ip(struct nf_flowtable_ctx *ctx, struct sk_buff *skb, struct flow_offload_tuple *tuple) argument 246 nf_flow_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) argument 266 nf_flow_xmit_xfrm(struct sk_buff *skb, const struct nf_hook_state *state, struct dst_entry *dst) argument 276 nf_flow_skb_encap_protocol(struct sk_buff *skb, __be16 proto, u32 *offset) argument 302 nf_flow_encap_pop(struct sk_buff *skb, struct flow_offload_tuple_rhash *tuplehash) argument 329 nf_flow_queue_xmit(struct net *net, struct sk_buff *skb, const struct flow_offload_tuple_rhash *tuplehash, unsigned short type) argument 348 nf_flow_offload_lookup(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct sk_buff *skb) argument 363 nf_flow_offload_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) argument 411 nf_flow_offload_ip_hook(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 472 nf_flow_nat_ipv6_tcp(struct sk_buff *skb, unsigned int thoff, struct in6_addr *addr, struct in6_addr *new_addr, struct ipv6hdr *ip6h) argument 484 nf_flow_nat_ipv6_udp(struct sk_buff *skb, unsigned int thoff, struct in6_addr *addr, struct in6_addr *new_addr) argument 499 nf_flow_nat_ipv6_l4proto(struct sk_buff *skb, struct ipv6hdr *ip6h, unsigned int thoff, struct in6_addr *addr, struct in6_addr *new_addr) argument 513 nf_flow_snat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, struct ipv6hdr *ip6h, unsigned int thoff, enum flow_offload_tuple_dir dir) argument 536 nf_flow_dnat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, struct ipv6hdr *ip6h, unsigned int thoff, enum flow_offload_tuple_dir dir) argument 559 nf_flow_nat_ipv6(const struct flow_offload *flow, struct sk_buff *skb, enum flow_offload_tuple_dir dir, struct ipv6hdr *ip6h) argument 576 nf_flow_tuple_ipv6(struct nf_flowtable_ctx *ctx, struct sk_buff *skb, struct flow_offload_tuple *tuple) argument 642 nf_flow_offload_ipv6_forward(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct flow_offload_tuple_rhash *tuplehash, struct sk_buff *skb) argument 689 nf_flow_offload_ipv6_lookup(struct nf_flowtable_ctx *ctx, struct nf_flowtable *flow_table, struct sk_buff *skb) argument 706 nf_flow_offload_ipv6_hook(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument [all...] |
H A D | nf_nat_proto.c | 33 static void nf_csum_update(struct sk_buff *skb, 39 __udp_manip_pkt(struct sk_buff *skb, argument 56 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype); 57 inet_proto_csum_replace2(&hdr->check, skb, *portptr, newport, 65 static bool udp_manip_pkt(struct sk_buff *skb, argument 72 if (skb_ensure_writable(skb, hdroff + sizeof(*hdr))) 75 hdr = (struct udphdr *)(skb->data + hdroff); 76 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check); 81 static bool udplite_manip_pkt(struct sk_buff *skb, argument 89 if (skb_ensure_writable(skb, hdrof 99 sctp_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 141 tcp_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 183 dccp_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 223 icmp_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 254 icmpv6_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 278 gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 317 l4proto_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, unsigned int hdroff, const struct nf_conntrack_tuple *tuple, enum nf_nat_manip_type maniptype) argument 353 nf_nat_ipv4_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype) argument 381 nf_nat_ipv6_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, const struct nf_conntrack_tuple *target, enum nf_nat_manip_type maniptype) argument 419 nf_nat_manip_pkt(struct sk_buff *skb, struct nf_conn *ct, enum nf_nat_manip_type mtype, enum ip_conntrack_dir dir) argument 445 nf_nat_ipv4_csum_update(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype) argument 463 nf_nat_ipv6_csum_update(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype) argument 484 nf_csum_update(struct sk_buff *skb, unsigned int iphdroff, __sum16 *check, const struct nf_conntrack_tuple *t, enum nf_nat_manip_type maniptype) argument 499 nf_nat_ipv4_csum_recalc(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) argument 519 nf_nat_ipv6_csum_recalc(struct sk_buff *skb, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) argument 539 nf_nat_csum_recalc(struct sk_buff *skb, u8 nfproto, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) argument 559 nf_nat_icmp_reply_translation(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int hooknum) argument 625 nf_nat_ipv4_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 649 nf_nat_ipv4_pre_routing(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 663 nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family) argument 700 nf_nat_inet_port_was_mangled(const struct sk_buff *skb, __be16 sport) argument 726 nf_nat_ipv4_local_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 755 nf_nat_ipv4_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 792 nf_nat_ipv4_local_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 873 nf_nat_icmpv6_reply_translation(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int hooknum, unsigned int hdrlen) argument 941 nf_nat_ipv6_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 978 nf_nat_ipv6_local_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 999 nf_nat_ipv6_in(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 1015 nf_nat_ipv6_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 1052 nf_nat_ipv6_local_fn(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument [all...] |
/linux-master/net/batman-adv/ |
H A D | multicast_forw.c | 43 * @skb: the skb to push onto 47 * Performs an skb_push() onto the given skb and adds the amount of pushed bytes 52 static void *batadv_mcast_forw_skb_push(struct sk_buff *skb, size_t size, argument 56 return skb_push(skb, size); 60 * batadv_mcast_forw_push_padding() - push 2 padding bytes to skb's front 61 * @skb: the skb to push onto 64 * Pushes two padding bytes to the front of the given skb. 67 * bytes within the skb 70 batadv_mcast_forw_push_padding(struct sk_buff *skb, unsigned short *tvlv_len) argument 97 batadv_mcast_forw_push_est_padding(struct sk_buff *skb, int count, unsigned short *tvlv_len) argument 149 batadv_mcast_forw_push_dest(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, struct batadv_orig_node *orig_node, unsigned short *num_dests, unsigned short *tvlv_len) argument 190 batadv_mcast_forw_push_dests_list(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, struct hlist_head *head, size_t entry_offset, unsigned short *num_dests, unsigned short *tvlv_len) argument 230 batadv_mcast_forw_push_tt(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument 276 batadv_mcast_forw_push_want_all(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument 322 batadv_mcast_forw_push_want_rtr(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, unsigned short *num_dests, unsigned short *tvlv_len) argument 367 batadv_mcast_forw_scrape(struct sk_buff *skb, unsigned short offset, unsigned short len) argument 391 batadv_mcast_forw_push_scrape_padding(struct sk_buff *skb, unsigned short *tvlv_len) argument 410 batadv_mcast_forw_push_insert_padding(struct sk_buff *skb, unsigned short *tvlv_len) argument 449 batadv_mcast_forw_push_adjust_padding(struct sk_buff *skb, int *count, unsigned short num_dests_pushed, unsigned short *tvlv_len) argument 492 batadv_mcast_forw_push_dests(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int *count, unsigned short *tvlv_len) argument 539 batadv_mcast_forw_push_tracker(struct sk_buff *skb, int num_dests, unsigned short *tvlv_len) argument 584 batadv_mcast_forw_push_tvlvs(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int count, unsigned short *tvlv_len) argument 616 batadv_mcast_forw_push_hdr(struct sk_buff *skb, unsigned short tvlv_len) argument 748 batadv_mcast_forw_shrink_pack_dests(struct sk_buff *skb) argument 825 batadv_mcast_forw_shrink_update_headers(struct sk_buff *skb, unsigned int num_dests_reduce) argument 869 batadv_mcast_forw_shrink_move_headers(struct sk_buff *skb, unsigned int offset) argument 893 batadv_mcast_forw_shrink_tracker(struct sk_buff *skb) argument 925 batadv_mcast_forw_packet(struct batadv_priv *bat_priv, struct sk_buff *skb, bool local_xmit) argument 1047 batadv_mcast_forw_tracker_tvlv_handler(struct batadv_priv *bat_priv, struct sk_buff *skb) argument 1087 batadv_mcast_forw_expand_head(struct batadv_priv *bat_priv, struct sk_buff *skb) argument 1126 batadv_mcast_forw_push(struct batadv_priv *bat_priv, struct sk_buff *skb, unsigned short vid, int is_routable, int count) argument 1166 batadv_mcast_forw_mcsend(struct batadv_priv *bat_priv, struct sk_buff *skb) argument [all...] |
/linux-master/net/rxrpc/ |
H A D | io_thread.c | 14 struct sk_buff *skb); 26 int rxrpc_encap_rcv(struct sock *udp_sk, struct sk_buff *skb) argument 32 kfree_skb(skb); 35 if (skb->tstamp == 0) 36 skb->tstamp = ktime_get_real(); 38 skb->mark = RXRPC_SKB_MARK_PACKET; 39 rxrpc_new_skb(skb, rxrpc_skb_new_encap_rcv); 44 skb->tstamp = ktime_add_ms(skb->tstamp, rxrpc_inject_rx_delay); 49 skb_queue_tail(rx_queue, skb); 60 struct sk_buff *skb; local 82 rxrpc_direct_abort(struct sk_buff *skb, enum rxrpc_abort_reason why, s32 abort_code, int err) argument 94 rxrpc_bad_message(struct sk_buff *skb, enum rxrpc_abort_reason why) argument 104 rxrpc_input_version(struct rxrpc_local *local, struct sk_buff *skb) argument 123 rxrpc_extract_header(struct rxrpc_skb_priv *sp, struct sk_buff *skb) argument 161 rxrpc_extract_abort(struct sk_buff *skb) argument 181 struct sk_buff *skb = *_skb; local 327 rxrpc_input_packet_on_conn(struct rxrpc_connection *conn, struct sockaddr_rxrpc *peer_srx, struct sk_buff *skb) argument 430 struct sk_buff *skb; local [all...] |
/linux-master/include/net/ |
H A D | llc_sap.h | 22 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb); 23 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, 28 void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb, 30 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
|
H A D | ipcomp.h | 22 int ipcomp_input(struct xfrm_state *x, struct sk_buff *skb); 23 int ipcomp_output(struct xfrm_state *x, struct sk_buff *skb); 27 static inline struct ip_comp_hdr *ip_comp_hdr(const struct sk_buff *skb) argument 29 return (struct ip_comp_hdr *)skb_transport_header(skb);
|
/linux-master/include/net/netfilter/ipv6/ |
H A D | nf_dup_ipv6.h | 7 void nf_dup_ipv6(struct net *net, struct sk_buff *skb, unsigned int hooknum,
|
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_getport.c | 25 get_port(const struct sk_buff *skb, int protocol, unsigned int protooff, argument 33 th = skb_header_pointer(skb, protooff, sizeof(_tcph), &_tcph); 45 sh = skb_header_pointer(skb, protooff, sizeof(_sh), &_sh); 58 uh = skb_header_pointer(skb, protooff, sizeof(_udph), &_udph); 70 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); 81 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); 98 ip_set_get_ip4_port(const struct sk_buff *skb, bool src, argument 101 const struct iphdr *iph = ip_hdr(skb); 102 unsigned int protooff = skb_network_offset(skb) + ip_hdrlen(skb); 132 ip_set_get_ip6_port(const struct sk_buff *skb, bool src, __be16 *port, u8 *proto) argument [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | ratelimiter.h | 13 bool wg_ratelimiter_allow(struct sk_buff *skb, struct net *net);
|
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | data_rx.h | 15 void wfx_rx_cb(struct wfx_vif *wvif, const struct wfx_hif_ind_rx *arg, struct sk_buff *skb);
|
/linux-master/drivers/staging/octeon/ |
H A D | ethernet-tx.h | 8 netdev_tx_t cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev); 9 netdev_tx_t cvm_oct_xmit_pow(struct sk_buff *skb, struct net_device *dev);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | time-sync.h | 20 bool iwl_mvm_time_sync_frame(struct iwl_mvm *mvm, struct sk_buff *skb, u8 *addr) argument 23 (ieee80211_is_timing_measurement(skb) || ieee80211_is_ftm(skb))) { 24 skb_queue_tail(&mvm->time_sync.frame_list, skb);
|
/linux-master/net/bluetooth/ |
H A D | coredump.c | 29 #define hci_dmp_cb(skb) ((struct hci_devcoredump_skb_cb *)((skb)->cb)) 34 hci_dmp_cb(skb)->pkt_type, hdev->dump.state) 62 static int hci_devcd_mkheader(struct hci_dev *hdev, struct sk_buff *skb) argument 70 skb_put_data(skb, hdr, hdr_len); 73 hdev->dump.dmp_hdr(hdev, skb); 75 skb_put_data(skb, dump_start, strlen(dump_start)); 77 return skb->len; 151 struct sk_buff *skb; local 155 skb 181 hci_devcd_handle_pkt_init(struct hci_dev *hdev, struct sk_buff *skb) argument 211 hci_devcd_handle_pkt_skb(struct hci_dev *hdev, struct sk_buff *skb) argument 222 hci_devcd_handle_pkt_pattern(struct hci_dev *hdev, struct sk_buff *skb) argument 243 hci_devcd_handle_pkt_complete(struct hci_dev *hdev, struct sk_buff *skb) argument 262 hci_devcd_handle_pkt_abort(struct hci_dev *hdev, struct sk_buff *skb) argument 315 struct sk_buff *skb; local 434 struct sk_buff *skb; local 453 hci_devcd_append(struct hci_dev *hdev, struct sk_buff *skb) argument 475 struct sk_buff *skb; local 499 struct sk_buff *skb; local 519 struct sk_buff *skb; local [all...] |
/linux-master/net/ipv6/netfilter/ |
H A D | ip6table_mangle.c | 32 ip6t_mangle_out(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument 41 memcpy(&saddr, &ipv6_hdr(skb)->saddr, sizeof(saddr)); 42 memcpy(&daddr, &ipv6_hdr(skb)->daddr, sizeof(daddr)); 43 mark = skb->mark; 44 hop_limit = ipv6_hdr(skb)->hop_limit; 47 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); 49 ret = ip6t_do_table(priv, skb, state); 53 (!ipv6_addr_equal(&ipv6_hdr(skb)->saddr, &saddr) || 54 !ipv6_addr_equal(&ipv6_hdr(skb)->daddr, &daddr) || 55 skb 68 ip6table_mangle_hook(void *priv, struct sk_buff *skb, const struct nf_hook_state *state) argument [all...] |
/linux-master/drivers/net/team/ |
H A D | team_nl.h | 24 int team_nl_noop_doit(struct sk_buff *skb, struct genl_info *info); 25 int team_nl_options_set_doit(struct sk_buff *skb, struct genl_info *info); 26 int team_nl_options_get_doit(struct sk_buff *skb, struct genl_info *info); 27 int team_nl_port_list_get_doit(struct sk_buff *skb, struct genl_info *info);
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | nfnetlink_compat.h | 47 #define NFA_NEST(skb, type) \ 48 ({ struct nfattr *__start = (struct nfattr *)skb_tail_pointer(skb); \ 49 NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); \ 51 #define NFA_NEST_END(skb, start) \ 52 ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *)(start); \ 53 (skb)->len; }) 54 #define NFA_NEST_CANCEL(skb, start) \ 56 skb_trim(skb, (unsigned char *) (start) - (skb)->data); \
|
/linux-master/net/llc/ |
H A D | llc_pdu.c | 18 static void llc_pdu_decode_pdu_type(struct sk_buff *skb, u8 *type); 21 void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type) argument 23 llc_pdu_un_hdr(skb)->ssap |= pdu_type; 28 * @skb: Frame to set bit in 35 void llc_pdu_set_pf_bit(struct sk_buff *skb, u8 bit_value) argument 40 llc_pdu_decode_pdu_type(skb, &pdu_type); 41 pdu = llc_pdu_sn_hdr(skb); 56 * @skb: input skb that p/f bit must be extracted from it 63 void llc_pdu_decode_pf_bit(struct sk_buff *skb, u argument 89 llc_pdu_init_as_disc_cmd(struct sk_buff *skb, u8 p_bit) argument 107 llc_pdu_init_as_i_cmd(struct sk_buff *skb, u8 p_bit, u8 ns, u8 nr) argument 126 llc_pdu_init_as_rej_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) argument 146 llc_pdu_init_as_rnr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) argument 166 llc_pdu_init_as_rr_cmd(struct sk_buff *skb, u8 p_bit, u8 nr) argument 184 llc_pdu_init_as_sabme_cmd(struct sk_buff *skb, u8 p_bit) argument 200 llc_pdu_init_as_dm_rsp(struct sk_buff *skb, u8 f_bit) argument 220 llc_pdu_init_as_frmr_rsp(struct sk_buff *skb, struct llc_pdu_sn *prev_pdu, u8 f_bit, u8 vs, u8 vr, u8 vzyxw) argument 255 llc_pdu_init_as_rr_rsp(struct sk_buff *skb, u8 f_bit, u8 nr) argument 275 llc_pdu_init_as_rej_rsp(struct sk_buff *skb, u8 f_bit, u8 nr) argument 295 llc_pdu_init_as_rnr_rsp(struct sk_buff *skb, u8 f_bit, u8 nr) argument 314 llc_pdu_init_as_ua_rsp(struct sk_buff *skb, u8 f_bit) argument 330 llc_pdu_decode_pdu_type(struct sk_buff *skb, u8 *type) argument [all...] |
/linux-master/drivers/regulator/ |
H A D | event.c | 32 struct sk_buff *skb; local 42 skb = genlmsg_new(size, GFP_ATOMIC); 43 if (!skb) 47 msg_header = genlmsg_put(skb, 0, atomic_inc_return(®_event_seqnum), 50 nlmsg_free(skb); 55 attr = nla_reserve(skb, REG_GENL_ATTR_EVENT, sizeof(struct reg_genl_event)); 57 nlmsg_free(skb); 68 genlmsg_end(skb, msg_header); 69 size = genlmsg_multicast(®_event_genl_family, skb, 0, 0, GFP_ATOMIC);
|