Home
last modified time | relevance | path

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

12

/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/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.h97 #define IP6H_V(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 28) & 0x0f) argument
98 #define IP6H_TC(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 20) & 0xff) argument
99 #define IP6H_FL(hdr) (lwip_ntohl((hdr)->_v_tc_fl) & 0x000fffff) argument
100 #define IP6H_PLEN(hdr) (lwip_ntohs((hdr)->_plen)) argument
101 #define IP6H_NEXTH(hdr) ((hdr)->_nexth) argument
102 #define IP6H_NEXTH_P(hdr) ((u8_t *)(hdr) + 6) argument
103 #define IP6H_HOPLIM(hdr) ((hdr)->_hoplim) argument
104 #define IP6H_VTCFL_SET(hdr, v, tc, fl) (hdr)->_v_tc_fl = (lwip_htonl((((u32_t)(v)) << 28) | (((u32_… argument
105 #define IP6H_PLEN_SET(hdr, plen) (hdr)->_plen = lwip_htons(plen) argument
106 #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
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/prot/
H A Dip4.h102 #define IPH_V(hdr) ((hdr)->_v_hl >> 4) argument
103 #define IPH_HL(hdr) ((hdr)->_v_hl & 0x0f) argument
104 #define IPH_TOS(hdr) ((hdr)->_tos) argument
105 #define IPH_LEN(hdr) ((hdr)->_len) argument
106 #define IPH_ID(hdr) ((hdr)->_id) argument
107 #define IPH_OFFSET(hdr) ((hdr)->_offset) argument
108 #define IPH_TTL(hdr) ((hdr)->_ttl) argument
109 #define IPH_PROTO(hdr) ((hdr)->_proto) argument
110 #define IPH_CHKSUM(hdr) ((hdr)->_chksum) argument
113 #define IPH_VHL_SET(hdr, v, hl) (hdr)->_v_hl = (u8_t)((((v) << 4) | (hl))) argument
[all …]
H A Dip6.h152 #define IP6H_V(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 28) & 0x0f) argument
153 #define IP6H_TC(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 20) & 0xff) argument
154 #define IP6H_FL(hdr) (lwip_ntohl((hdr)->_v_tc_fl) & 0x000fffff) argument
155 #define IP6H_PLEN(hdr) (lwip_ntohs((hdr)->_plen)) argument
156 #define IP6H_NEXTH(hdr) ((hdr)->_nexth) argument
157 #define IP6H_NEXTH_P(hdr) ((u8_t *)(hdr) + 6) argument
158 #define IP6H_HOPLIM(hdr) ((hdr)->_hoplim) argument
160 #define IP6H_VTCFL_SET(hdr, v, tc, fl) (hdr)->_v_tc_fl = (lwip_htonl((((u32_t)(v)) << 28) | (((u32_… argument
161 #define IP6H_PLEN_SET(hdr, plen) (hdr)->_plen = lwip_htons(plen) argument
162 #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
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/ipv4/lwip/
H A 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 …]
H A 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
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/
H A Dble.h110 #define BLE_MBUF_HDR_EXT_ADV_SEC(hdr) \ argument
113 #define BLE_MBUF_HDR_EXT_ADV(hdr) \ argument
116 #define BLE_MBUF_HDR_DEVMATCH(hdr) \ argument
119 #define BLE_MBUF_HDR_SCAN_RSP_RCV(hdr) \ argument
122 #define BLE_MBUF_HDR_AUX_INVALID(hdr) \ argument
125 #define BLE_MBUF_HDR_WAIT_AUX(hdr) \ argument
128 #define BLE_MBUF_HDR_CRC_OK(hdr) \ argument
131 #define BLE_MBUF_HDR_MIC_FAILURE(hdr) \ argument
134 #define BLE_MBUF_HDR_RESOLVED(hdr) \ argument
137 #define BLE_MBUF_HDR_RX_STATE(hdr) \ argument
/nrf52832-nimble/rt-thread/components/utilities/zmodem/
H A Dzcore.c79 void zsend_bin_header(rt_uint8_t type, rt_uint8_t *hdr) in zsend_bin_header()
146 void zsend_hex_header(rt_uint8_t type, rt_uint8_t *hdr) in zsend_hex_header()
496 rt_int16_t zget_header(rt_uint8_t *hdr) in zget_header()
598 static rt_int16_t zget_bin_header(rt_uint8_t *hdr) in zget_bin_header()
631 static rt_int16_t zget_bin_fcs(rt_uint8_t *hdr) in zget_bin_fcs()
670 rt_int16_t zget_hex_header(rt_uint8_t *hdr) in zget_hex_header()
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/
H A Dble_l2cap_sig.c298 struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_rx_noop()
343 struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_update_req_rx()
412 struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_update_rsp_rx()
633 ble_l2cap_sig_coc_req_rx(uint16_t conn_handle, struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_coc_req_rx()
735 ble_l2cap_sig_coc_rsp_rx(uint16_t conn_handle, struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_coc_rsp_rx()
866 ble_l2cap_sig_disc_req_rx(uint16_t conn_handle, struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_disc_req_rx()
952 ble_l2cap_sig_disc_rsp_rx(uint16_t conn_handle, struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_disc_rsp_rx()
1028 ble_l2cap_sig_le_credits_rx(uint16_t conn_handle, struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_le_credits_rx()
1074 struct ble_l2cap_sig_hdr *hdr, in ble_l2cap_sig_rx_reject()
1105 struct ble_l2cap_sig_hdr hdr; in ble_l2cap_sig_rx() local
H A Dble_monitor.c185 struct ble_monitor_hdr *hdr = (struct ble_monitor_hdr *) rtt_pktbuf; in monitor_write() local
221 struct ble_monitor_hdr hdr; in monitor_write_header() local
H A Dble_sm_cmd.c30 struct ble_sm_hdr *hdr; in ble_sm_cmd_get() local
H A Dble_l2cap_sig_cmd.c93 struct ble_l2cap_sig_hdr *hdr; in ble_l2cap_sig_cmd_get() local
H A Dble_hs_flow.c206 const struct hci_data_hdr *hdr; in ble_hs_flow_fill_acl_usrhdr() local
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/
H A Dtransport.c87 u8_t hdr; member
573 static int sdu_recv(struct bt_mesh_net_rx *rx, u32_t seq, u8_t hdr, in sdu_recv()
700 static int trans_ack(struct bt_mesh_net_rx *rx, u8_t hdr, in trans_ack()
801 static int ctl_recv(struct bt_mesh_net_rx *rx, u8_t hdr, in ctl_recv()
869 u8_t hdr; in trans_unseg() local
1102 const u8_t *hdr, u8_t seg_n) in seg_rx_is_valid()
1123 const u8_t *hdr, const u64_t *seq_auth, in seg_rx_alloc()
1160 u8_t *hdr = buf->om_data; in trans_seg() local
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/include/lwip/
H A Dip6_frag.h71 #define IPV6_FRAG_HDRREF(hdr) (&(hdr)) argument
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/ipv6/lwip/
H A Dip.h99 #define IPH_PROTO(hdr) (iphdr->nexthdr) argument
/nrf52832-nimble/rt-thread/components/drivers/can/
H A Dcan.c56 rt_int32_t hdr; in _can_int_rx() local
763 rt_int32_t hdr; in rt_hw_can_isr() local
/nrf52832-nimble/rt-thread/components/net/uip/apps/resolv/
H A Dresolv.c170 register struct dns_hdr *hdr; in check_entries() local
239 struct dns_hdr *hdr; in newdata() local
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ipv4/
H A Dautoip.c478 autoip_arp_reply(struct netif *netif, struct etharp_hdr *hdr) in autoip_arp_reply()
/nrf52832-nimble/rt-thread/components/drivers/include/drivers/
H A Dpin.h63 void (*hdr)(void *args); member
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ipv4/
H A Detharp.c643 struct etharp_hdr *hdr; local
1110 struct etharp_hdr *hdr; local

12