Home
last modified time | relevance | path

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

/btstack/3rd-party/lwip/core/src/include/lwip/prot/
H A Dip4.h104 #define IPH_V(hdr) ((hdr)->_v_hl >> 4) argument
105 #define IPH_HL(hdr) ((hdr)->_v_hl & 0x0f) argument
106 #define IPH_HL_BYTES(hdr) ((u8_t)(IPH_HL(hdr) * 4)) argument
107 #define IPH_TOS(hdr) ((hdr)->_tos) argument
108 #define IPH_LEN(hdr) ((hdr)->_len) argument
109 #define IPH_ID(hdr) ((hdr)->_id) argument
110 #define IPH_OFFSET(hdr) ((hdr)->_offset) argument
111 #define IPH_OFFSET_BYTES(hdr) ((u16_t)((lwip_ntohs(IPH_OFFSET(hdr)) & IP_OFFMASK) * 8U)) argument
112 #define IPH_TTL(hdr) ((hdr)->_ttl) argument
113 #define IPH_PROTO(hdr) ((hdr)->_proto) argument
[all …]
H A Dip6.h99 #define IP6H_V(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 28) & 0x0f) argument
100 #define IP6H_TC(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 20) & 0xff) argument
101 #define IP6H_FL(hdr) (lwip_ntohl((hdr)->_v_tc_fl) & 0x000fffff) argument
102 #define IP6H_PLEN(hdr) (lwip_ntohs((hdr)->_plen)) argument
103 #define IP6H_NEXTH(hdr) ((hdr)->_nexth) argument
104 #define IP6H_NEXTH_P(hdr) ((u8_t *)(hdr) + 6) argument
105 #define IP6H_HOPLIM(hdr) ((hdr)->_hoplim) argument
106 #define IP6H_VTCFL_SET(hdr, v, tc, fl) (hdr)->_v_tc_fl = (lwip_htonl((((u32_t)(v)) << 28) | (((u32_… argument
107 #define IP6H_PLEN_SET(hdr, plen) (hdr)->_plen = lwip_htons(plen) argument
108 #define IP6H_NEXTH_SET(hdr, nexth) (hdr)->_nexth = (nexth) argument
[all …]
H A Dicmp.h82 #define ICMPH_TYPE(hdr) ((hdr)->type) argument
83 #define ICMPH_CODE(hdr) ((hdr)->code) argument
84 #define ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t)) argument
85 #define ICMPH_CODE_SET(hdr, c) ((hdr)->code = (c)) argument
H A Ddns.h96 #define DNS_HDR_GET_OPCODE(hdr) ((((hdr)->flags1) >> 3) & 0xF) argument
/btstack/3rd-party/lc3-google/tools/
H A Dlc3bin.c48 struct lc3bin_header hdr; in lc3bin_read_header() local
99 struct lc3bin_header hdr = { in lc3bin_write_header() local
/btstack/3rd-party/lwip/core/src/netif/
H A Dlowpan6.c130 lowpan6_write_iee802154_header(struct ieee_802154_hdr *hdr, const struct lowpan6_link_addr *src, in lowpan6_write_iee802154_header()
437 struct ieee_802154_hdr *hdr = (struct ieee_802154_hdr *)buffer; in lowpan6_frag() local
/btstack/3rd-party/lwip/core/src/core/ipv4/
H A Detharp.c644 struct etharp_hdr *hdr; local
1118 struct etharp_hdr *hdr; local
H A Dacd.c344 acd_arp_reply(struct netif *netif, struct etharp_hdr *hdr) in acd_arp_reply()
/btstack/3rd-party/bluedroid/decoder/srce/
H A Dbitalloc-sbc.c135 OI_UINT16 hdr; in OI_CODEC_SBC_CalculateBitpool() local
/btstack/3rd-party/lwip/core/src/core/
H A Ddns.c770 struct dns_hdr hdr; in dns_send() local
1194 struct dns_hdr hdr; in dns_recv() local
/btstack/3rd-party/lwip/core/src/include/lwip/
H A Dopt.h2854 #define LWIP_HOOK_TCP_INPACKET_PCB(pcb, hdr, optlen, opt1len, opt2, p) argument
2900 #define LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(p, hdr, pcb, opts) argument
/btstack/3rd-party/lwip/core/src/apps/mdns/
H A Dmdns_out.c779 struct dns_hdr hdr; in mdns_send_outpacket() local
H A Dmdns.c2002 struct dns_hdr hdr; in mdns_recv() local