Searched refs:net_pkt_ip_data (Results 1 – 4 of 4) sorted by relevance
34 #define ip_get(_x) ((struct net_ipv4_hdr *) net_pkt_ip_data((_x)))
255 slip->ptr = net_pkt_ip_data(slip->rx); in slip_input_byte()
780 (net_pkt_ip_data(pkt) - (uint8_t *)eth_hdr))) { in net_arp_input()783 (net_pkt_ip_data(pkt) - (uint8_t *)eth_hdr), pkt); in net_arp_input()
1270 static inline uint8_t *net_pkt_ip_data(struct net_pkt *pkt) in net_pkt_ip_data() function1407 #define NET_IPV6_HDR(pkt) ((struct net_ipv6_hdr *)net_pkt_ip_data(pkt))1408 #define NET_IPV4_HDR(pkt) ((struct net_ipv4_hdr *)net_pkt_ip_data(pkt))