Lines Matching defs:net_pkt

91 struct net_pkt {  struct
108 struct net_pkt_cursor cursor; argument
111 struct net_context *context;
114 struct net_if *iface;
120 sys_snode_t next;
123 struct net_if *orig_iface; /* Original network interface */
156 /** Collect extra statistics for net_pkt processing argument
171 struct net_pkt_alloc_stats_slab *alloc_stats; argument
175 atomic_t atomic_ref;
178 struct net_linkaddr lladdr_src;
179 struct net_linkaddr lladdr_dst;
180 uint16_t ll_proto_type;
183 uint8_t ip_hdr_len; /* pre-filled in order to avoid func call */
186 uint8_t overwrite : 1; /* Is packet content being overwritten? */
187 uint8_t eof : 1; /* Last packet before EOF */
188 uint8_t ptp_pkt : 1; /* For outgoing packet: is this packet
192 uint8_t forwarding : 1; /* Are we forwarding this pkt
195 uint8_t family : 3; /* Address family, see net_ip.h */
200 uint8_t ipv4_acd_arp_msg : 1; /* Is this pkt IPv4 conflict detection ARP
207 uint8_t lldp_pkt : 1; /* Is this pkt an LLDP message.
212 uint8_t ppp_msg : 1; /* This is a PPP message */
213 uint8_t captured : 1; /* Set to 1 if this packet is already being
216 uint8_t l2_bridged : 1; /* set to 1 if this packet comes from a bridge
221 uint8_t l2_processed : 1; /* Set to 1 if this packet has already been
224 uint8_t chksum_done : 1; /* Checksum has already been computed for
228 uint8_t ip_reassembled : 1; /* Packet is a reassembled IP packet. */
231 uint8_t tx_timestamping : 1; /** Timestamp transmitted packet */
232 uint8_t rx_timestamping : 1; /** Timestamp received packet */
237 union {
249 union {
259 union {
282 uint16_t ipv6_prev_hdr_start;
284 uint8_t ipv6_ext_opt_len; /* IPv6 ND option length */
285 uint8_t ipv6_next_hdr; /* What is the very first next header */
290 uint8_t ip_dscp : 6;
315 struct net_pkt_cb_ieee802154 cb; argument
322 uint8_t priority;
329 union {
356 static inline struct net_linkaddr *net_pkt_lladdr_if(struct net_pkt *pkt) in net_pkt_lladdr_if() argument