#include <skbuff.h>
Data Fields | |
| sk_buff * | next |
| These two members must be first. | |
| sk_buff * | prev |
| sock * | sk |
| skb_timeval | tstamp |
| net_device * | dev |
| net_device * | input_dev |
| union { | |
| tcphdr * th | |
| udphdr * uh | |
| icmphdr * icmph | |
| igmphdr * igmph | |
| iphdr * ipiph | |
| ipv6hdr * ipv6h | |
| unsigned char * raw | |
| } | h |
| union { | |
| iphdr * iph | |
| ipv6hdr * ipv6h | |
| arphdr * arph | |
| unsigned char * raw | |
| } | nh |
| union { | |
| unsigned char * raw | |
| } | mac |
| dst_entry * | dst |
| sec_path * | sp |
| char | cb [48] |
| unsigned int | len |
| unsigned int | data_len |
| unsigned int | mac_len |
| unsigned int | csum |
| __u32 | priority |
| __u8 | local_df:1 |
| __u8 | cloned:1 |
| __u8 | ip_summed:2 |
| __u8 | nohdr:1 |
| __u8 | nfctinfo:3 |
| __u8 | pkt_type:3 |
| __u8 | fclone:2 |
| __u8 | ipvs_property:1 |
| __be16 | protocol |
| void(* | destructor )(struct sk_buff *skb) |
| unsigned int | truesize |
| These elements must be at the end, see alloc_skb() for details. | |
| atomic_t | users |
| unsigned char * | head |
| unsigned char * | data |
| unsigned char * | tail |
| unsigned char * | end |
Definition at line 224 of file skbuff.h.
| struct arphdr* sk_buff::arph |
| char sk_buff::cb[48] |
This is the control buffer. It is free to use for every layer. Please put your private variables there. If you want to keep them across layers you have to do a skb_clone() first. This is owned by whoever has the skb queued ATM.
Definition at line 266 of file skbuff.h.
Referenced by irda_get_mtt(), irda_get_next_speed(), irda_get_next_xbofs(), irda_get_xbofs(), llc_backlog_type(), llc_conn_ev(), llc_sap_ev(), llc_set_backlog_type(), sctp_event2skb(), and sctp_skb2event().
| unsigned int sk_buff::csum |
| unsigned char * sk_buff::data |
Definition at line 305 of file skbuff.h.
Referenced by ax25_type_trans(), nlmsg_cancel(), tcf_defact_dump(), tcf_get_base_ptr(), and x25_type_trans().
| unsigned int sk_buff::data_len |
| void(* sk_buff::destructor)(struct sk_buff *skb) |
Referenced by sk_stream_set_owner_r(), skb_set_owner_r(), and skb_set_owner_w().
| struct net_device* sk_buff::dev |
Definition at line 231 of file skbuff.h.
Referenced by ax25_type_trans(), dn_rt_finish_output(), hci_recv_frame(), and x25_type_trans().
| struct dst_entry* sk_buff::dst |
| unsigned char * sk_buff::end |
| union { ... } sk_buff::h |
Referenced by ipx_hdr(), tcf_get_base_ptr(), TCP_ECN_accept_cwr(), and TCP_ECN_send().
| unsigned char* sk_buff::head |
| struct icmphdr* sk_buff::icmph |
| struct igmphdr* sk_buff::igmph |
| struct net_device* sk_buff::input_dev |
| struct iphdr* sk_buff::iph |
| struct iphdr* sk_buff::ipiph |
| struct ipv6hdr* sk_buff::ipv6h |
| struct ipv6hdr* sk_buff::ipv6h |
| unsigned int sk_buff::len |
Definition at line 268 of file skbuff.h.
Referenced by __qdisc_dequeue_head(), __qdisc_dequeue_tail(), __qdisc_enqueue_tail(), __qdisc_queue_drop(), __qdisc_requeue(), ah_hmac_digest(), dn_rt_finish_output(), nla_nest_end(), nlmsg_end(), sk_filter(), skb_copy_to_page(), sock_queue_err_skb(), tcf_defact_dump(), TCP_ECN_send(), and tcp_v4_check().
| union { ... } sk_buff::mac |
Referenced by ax25_type_trans(), and x25_type_trans().
| unsigned int sk_buff::mac_len |
| struct sk_buff* sk_buff::next |
These two members must be first.
Definition at line 226 of file skbuff.h.
Referenced by sk_add_backlog(), and skb_frags_no().
| union { ... } sk_buff::nh |
Referenced by INET_ECN_set_ce(), llc_pdu_sn_hdr(), llc_pdu_un_hdr(), llc_set_pdu_hdr(), and tcf_get_base_ptr().
| struct sk_buff* sk_buff::prev |
Definition at line 281 of file skbuff.h.
Referenced by INET_ECN_set_ce(), llc_pdu_decode_da(), llc_pdu_decode_sa(), and llc_pdu_init_as_test_rsp().
| unsigned char* sk_buff::raw |
| unsigned char* sk_buff::raw |
| unsigned char* sk_buff::raw |
Definition at line 241 of file skbuff.h.
Referenced by ax25_type_trans(), INET_ECN_set_ce(), ipx_hdr(), llc_pdu_sn_hdr(), llc_pdu_un_hdr(), llc_set_pdu_hdr(), tcf_get_base_ptr(), and x25_type_trans().
| struct sock* sk_buff::sk |
Definition at line 229 of file skbuff.h.
Referenced by bt_skb_send_alloc(), keepalive_intvl_when(), llc_conn_space(), nlmsg_multicast(), nlmsg_unicast(), sk_filter(), sk_stream_alloc_pskb(), sk_stream_alloc_skb(), sk_stream_rmem_schedule(), sk_stream_set_owner_r(), sk_stream_wmem_schedule(), sk_stream_writequeue_purge(), skb_set_owner_r(), skb_set_owner_w(), tcp_done(), TCP_ECN_send(), TCP_ECN_send_syn(), tcp_fast_path_check(), tcp_set_state(), and tcp_space().
| struct sec_path* sk_buff::sp |
| unsigned char * sk_buff::tail |
Definition at line 305 of file skbuff.h.
Referenced by INET_ECN_set_ce(), nla_nest_end(), nla_nest_start(), nlmsg_end(), tcf_defact_dump(), and tcf_valid_offset().
| struct tcphdr* sk_buff::th |
Definition at line 235 of file skbuff.h.
Referenced by TCP_ECN_accept_cwr(), TCP_ECN_create_request(), TCP_ECN_make_synack(), TCP_ECN_rcv_ecn_echo(), TCP_ECN_rcv_syn(), TCP_ECN_rcv_synack(), and TCP_ECN_send().
| unsigned int sk_buff::truesize |
These elements must be at the end, see alloc_skb() for details.
Definition at line 303 of file skbuff.h.
Referenced by llc_conn_space(), sk_charge_skb(), sk_stream_alloc_pskb(), sk_stream_free_skb(), sk_stream_rmem_schedule(), sk_stream_set_owner_r(), skb_copy_to_page(), skb_set_owner_r(), skb_set_owner_w(), and sock_queue_err_skb().
| struct skb_timeval sk_buff::tstamp |
| struct udphdr* sk_buff::uh |
1.4.7