Home
last modified time | relevance | path

Searched defs:hdr (Results 1 – 9 of 9) sorted by relevance

/lib/liblwip/src/include/ipv4/lwip/
Dip.h146 #define IPH_V(hdr) ((hdr)->_v_hl >> 4) argument
147 #define IPH_HL(hdr) ((hdr)->_v_hl & 0x0f) argument
148 #define IPH_TOS(hdr) ((hdr)->_tos) argument
149 #define IPH_LEN(hdr) ((hdr)->_len) argument
150 #define IPH_ID(hdr) ((hdr)->_id) argument
151 #define IPH_OFFSET(hdr) ((hdr)->_offset) argument
152 #define IPH_TTL(hdr) ((hdr)->_ttl) argument
153 #define IPH_PROTO(hdr) ((hdr)->_proto) argument
154 #define IPH_CHKSUM(hdr) ((hdr)->_chksum) argument
156 #define IPH_VHL_SET(hdr, v, hl) (hdr)->_v_hl = (((v) << 4) | (hl)) argument
[all …]
Dicmp.h91 #define ICMPH_TYPE(hdr) ((hdr)->type) argument
92 #define ICMPH_CODE(hdr) ((hdr)->code) argument
95 #define ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t)) argument
96 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c)) argument
/bin/ethinject/
Dethinject.c55 struct ether_header *hdr = (struct ether_header *)&buf; in main() local
/bin/ethdump/
Dethdump.c16 struct ether_header *hdr = (struct ether_header *)&buf; in dumpPacket() local
/lib/libc/
Dmalloc.c98 Header *hdr; in malloc_small() local
171 Header *hdr = (Header *)mem; in free() local
/lib/liblwip/src/include/ipv6/lwip/
Dip.h99 #define IPH_PROTO(hdr) (iphdr->nexthdr) argument
/lib/liblwip/src/core/ipv4/
Dautoip.c478 autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr) in autoip_arp_reply()
/lib/liblwip/src/netif/
Detharp.c690 struct etharp_hdr *hdr; local
1184 struct etharp_hdr *hdr; local
/lib/liblwip/src/core/
Ddns.c563 struct dns_hdr *hdr; in dns_send() local
737 struct dns_hdr *hdr; in dns_recv() local