/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
D | tcp.h | 146 #define RCV_WND_SCALE(pcb, wnd) (((wnd) >> (pcb)->rcv_scale)) argument 148 #define SND_WND_SCALE(pcb, wnd) (((tcpwnd_size_t)(wnd) << (pcb)->snd_scale)) argument 150 #define ACTUAL_WND_SIZE(pcb, wnd) ((tcpwnd_size_t)((wnd) >> (pcb)->rcv_scale) << (pcb)->rcv_scale) argument 154 #define TCP_WND_MAX(pcb) ((tcpwnd_size_t)(((pcb)->flags & TF_WND_SCALE) ? TCP_WND : TCPWND16… argument 156 #define RCV_WND_SCALE(pcb, wnd) (wnd) argument 157 #define SND_WND_SCALE(pcb, wnd) (wnd) argument 159 #define TCP_WND_MAX(pcb) TCP_WND argument 206 #define TCP_CALC_SSTHRESH(pcb, ssthresh, wnd, mss) do { \ argument 207 if (((u64_t)(wnd) * (mss)) < TCP_WND_MAX(pcb)) { \ 210 (ssthresh) = TCP_WND_MAX(pcb); \ [all …]
|
D | raw.h | 95 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p, 152 #define raw_getpriority(pcb) ((pcb)->priority) argument 159 void raw_remove (struct raw_pcb *pcb); 160 err_t raw_bind (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 161 err_t raw_connect (struct raw_pcb *pcb, const ip_addr_t *ipaddr); 162 void raw_disconnect (struct raw_pcb *pcb); 164 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr); 165 err_t raw_sendto_if_src(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, st… 166 err_t raw_send (struct raw_pcb *pcb, struct pbuf *p); 168 void raw_recv (struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg); [all …]
|
D | udp.h | 78 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p, 130 void udp_remove (struct udp_pcb *pcb); 131 err_t udp_bind (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 133 err_t udp_connect (struct udp_pcb *pcb, const ip_addr_t *ipaddr, 135 void udp_disconnect (struct udp_pcb *pcb); 136 void udp_recv (struct udp_pcb *pcb, udp_recv_fn recv, 138 err_t udp_sendto_if (struct udp_pcb *pcb, struct pbuf *p, 141 err_t udp_sendto_if_src(struct udp_pcb *pcb, struct pbuf *p, 144 err_t udp_sendto (struct udp_pcb *pcb, struct pbuf *p, 146 err_t udp_send (struct udp_pcb *pcb, struct pbuf *p); [all …]
|
D | tcp_sack.h | 32 tcp_sack_update(struct tcp_pcb *pcb, u32_t ackno); 35 tcp_sack_based_fast_rexmit_alg(struct tcp_pcb *pcb); 38 tcp_sack_based_loss_recovery_alg(struct tcp_pcb *pcb); 42 tcp_sack_rexmit_lost_rexmitted(struct tcp_pcb *pcb); 46 tcp_sack_set_pipe(struct tcp_pcb *pcb); 49 tcp_sack_is_lost(struct tcp_pcb *pcb, struct tcp_seg *seg); 51 void tcp_pcb_reset_sack_seq(struct tcp_pcb *pcb); 52 void tcp_update_sack_for_received_ooseq_segs(struct tcp_pcb *pcb); 54 void tcp_enqueue_flags_sack(struct tcp_pcb *pcb, u8_t *optflags); 56 u8_t tcp_get_sack_block_count_for_send(struct tcp_pcb *pcb, u8_t optlen); [all …]
|
D | ip.h | 263 #define ip_get_option(pcb, opt) ((pcb)->so_options & (opt)) argument 265 #define ip_set_option(pcb, opt) ((pcb)->so_options |= (opt)) argument 267 #define ip_reset_option(pcb, opt) ((pcb)->so_options &= (u8_t)~(opt)) argument 275 #define ip_output(p, src, dest, ttl, tos, proto, pcb) \ argument 277 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, pcb) : \ 278 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, pcb)) 363 ip4_output(p, src, dest, ttl, tos, proto, pcb) 423 struct netif *ip_route_pcb(const ip_addr_t *dest, const struct ip_pcb *pcb);
|
D | debug.h | 220 void debug_tcppcb_info(void *pcb); 223 void debug_udppcb_info(void *pcb); 226 void debug_rawpcb_info(void *pcb); 230 void debug_ippcb_info(void *pcb);
|
D | snmp.h | 168 void mib2_udp_bind(struct udp_pcb *pcb); 169 void mib2_udp_unbind(struct udp_pcb *pcb); 191 #define mib2_udp_bind(pcb) argument 192 #define mib2_udp_unbind(pcb) argument
|
D | api.h | 266 } pcb; member 268 #define net_tcp_pcb pcb.tcp 269 #define net_tcp_state pcb.tcp->state 270 #define net_udp_pcb pcb.udp 271 #define net_raw_pcb pcb.raw 272 #define net_ip_pcb pcb.ip
|
D | ip_addr.h | 109 #define IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ipaddr) (IP_GET_TYPE(&pcb->local_ip) == IP_GET_TYPE(ip… argument 110 #define IP_ADDR_PCB_VERSION_MATCH(pcb, ipaddr) (IP_IS_ANY_TYPE_VAL(pcb->local_ip) || \ argument 111 IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ipaddr)) 289 #define IP_ADDR_PCB_VERSION_MATCH(addr, pcb) 1 argument 290 #define IP_ADDR_PCB_VERSION_MATCH_EXACT(pcb, ipaddr) 1 argument
|
D | ip4.h | 88 u8_t ttl, u8_t tos, u8_t proto, struct ip_pcb *pcb); 96 … u8_t ttl, u8_t tos, u8_t proto, struct netif_hint *netif_hint, struct ip_pcb *pcb);
|
D | opt.h | 1681 #define TCP_OOSEQ_BYTES_LIMIT(pcb) TCP_OOSEQ_MAX_BYTES argument 1683 #define TCP_OOSEQ_BYTES_LIMIT(pcb) argument 1704 #define TCP_OOSEQ_PBUFS_LIMIT(pcb) TCP_OOSEQ_MAX_PBUFS argument 1706 #define TCP_OOSEQ_PBUFS_LIMIT(pcb) argument 3548 #define LWIP_HOOK_TCP_INPACKET_PCB(pcb, hdr, optlen, opt1len, opt2, p) argument 3570 #define LWIP_HOOK_TCP_OUT_TCPOPT_LENGTH(pcb, internal_len) argument 3594 #define LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(p, hdr, pcb, opts) argument
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/ |
D | tcp_priv.h | 82 void tcp_free (struct tcp_pcb *pcb); 83 void tcp_abandon (struct tcp_pcb *pcb, int reset); 84 void tcp_send_rst_abort (struct tcp_pcb *pcb, int reset); 85 err_t tcp_send_empty_ack(struct tcp_pcb *pcb); 86 err_t tcp_rexmit (struct tcp_pcb *pcb); 87 void tcp_rexmit_rto (struct tcp_pcb *pcb); 88 void tcp_rexmit_fast (struct tcp_pcb *pcb); 89 u32_t tcp_update_rcv_ann_wnd(struct tcp_pcb *pcb); 90 err_t tcp_process_refused_data(struct tcp_pcb *pcb); 221 #define TCP_EVENT_ACCEPT(lpcb, pcb, arg, err, ret) ret = lwip_tcp_event(arg, (pcb), \ argument [all …]
|
D | api_msg.h | 244 u8_t poll_tcp_needed(void *arg, struct tcp_pcb *pcb); 283 void recv_udp(void *arg, struct udp_pcb *pcb, struct pbuf *p, 287 void update_tcp_sndplus_event(void *arg, struct tcp_pcb *pcb);
|
/device/soc/winnermicro/wm800/board/src/network/api2.0.3/ |
D | tls_netconn.c | 36 static err_t net_tcp_poll_cb(void *arg, struct tcp_pcb *pcb); 144 if (conn->pcb.tcp) { in net_free_socket() 145 tcp_close(conn->pcb.tcp); in net_free_socket() 146 conn->pcb.tcp = NULL; in net_free_socket() 168 static err_t net_tcp_poll_cb(void *arg, struct tcp_pcb *pcb) in net_tcp_poll_cb() argument 176 struct tcp_pcb *pcb = NULL; in net_tcp_err_cb() local 185 pcb = conn->pcb.tcp; in net_tcp_err_cb() 186 …TLS_DBGPRT_INFO("tcp err = %d, pcb==%x, conn==%x, skt==%x\n", err, (u32)pcb, (u32)conn, (u32)conn-… in net_tcp_err_cb() 188 if (pcb) { in net_tcp_err_cb() 189 tcp_arg(pcb, NULL); in net_tcp_err_cb() [all …]
|
D | tls_netconn.h | 51 } pcb; member 84 void *pcb; member
|
/device/soc/esp/esp32/components/esp_lwip/lwip/src/api/ |
D | sockets.c | 170 …if (((sock)->conn == NULL) || ((sock)->conn->pcb.tcp == NULL)) { done_socket(sock); return EINVAL;… 3008 if ((sock->conn->pcb.tcp != NULL) && (sock->conn->pcb.tcp->state == LISTEN)) { 3031 *(int *)optval = ip_get_option(sock->conn->pcb.ip, optname); 3103 if (udp_is_flag_set(sock->conn->pcb.udp, UDP_FLAGS_UDPLITE)) { 3109 *(int *)optval = udp_is_flag_set(sock->conn->pcb.udp, UDP_FLAGS_NOCHKSUM) ? 1 : 0; 3125 *(int *)optval = sock->conn->pcb.ip->ttl; 3131 *(int *)optval = sock->conn->pcb.ip->tos; 3142 *(u8_t *)optval = udp_get_multicast_ttl(sock->conn->pcb.udp); 3152 …net_addr_from_ip4addr((struct in_addr *)optval, udp_get_multicast_netif_addr(sock->conn->pcb.udp)); 3158 if ((sock->conn->pcb.udp->flags & UDP_FLAGS_MULTICAST_LOOP) != 0) { [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/adapt/ |
D | hi_math_adapt.h | 175 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument 181 *pcb = (hi_u16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in rgb2_yc() 196 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 … in rgb2_yc_full() argument 205 *pcb = hi_max2(hi_min2(pcb_temp, 1023), 0); in rgb2_yc_full() 222 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument 228 *pcb = (hi_u8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in rgb2_yc_8_bit() 243 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 … in rgb2_yc_full_8_bit() argument 252 *pcb = hi_max2(hi_min2(pcb_temp, 255), 0); in rgb2_yc_full_8_bit()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
D | hi_math.h | 179 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument 185 *pcb = (HI_U16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in Rgb2Yc() 200 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *… in Rgb2Yc_full() argument 209 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full() 226 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument 232 *pcb = (HI_U8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in Rgb2Yc_8BIT() 247 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *p… in Rgb2Yc_full_8BIT() argument 256 *pcb = MAX2(MIN2(pcb_temp, 255), 0); in Rgb2Yc_full_8BIT()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
D | hi_math.h | 176 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument 182 *pcb = (HI_U16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in Rgb2Yc() 197 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *… in Rgb2Yc_full() argument 206 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full() 223 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument 229 *pcb = (HI_U8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in Rgb2Yc_8BIT() 244 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *p… in Rgb2Yc_full_8BIT() argument 253 *pcb = MAX2(MIN2(pcb_temp, 255), 0); in Rgb2Yc_full_8BIT()
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/adapt/ |
D | hi_math_adapt.h | 172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument 178 *pcb = (hi_u16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in rgb2_yc() 193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 … in rgb2_yc_full() argument 202 *pcb = hi_max2(hi_min2(pcb_temp, 1023), 0); in rgb2_yc_full() 219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument 225 *pcb = (hi_u8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in rgb2_yc_8_bit() 240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 … in rgb2_yc_full_8_bit() argument 249 *pcb = hi_max2(hi_min2(pcb_temp, 255), 0); in rgb2_yc_full_8_bit()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/adapt/ |
D | hi_math_adapt.h | 172 __inline static hi_void rgb2_yc(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 *pcr) in rgb2_yc() argument 178 *pcb = (hi_u16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in rgb2_yc() 193 __inline static hi_void rgb2_yc_full(hi_u16 r, hi_u16 g, hi_u16 b, hi_u16 *py, hi_u16 *pcb, hi_u16 … in rgb2_yc_full() argument 202 *pcb = hi_max2(hi_min2(pcb_temp, 1023), 0); in rgb2_yc_full() 219 __inline static hi_void rgb2_yc_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 *pcr) in rgb2_yc_8_bit() argument 225 *pcb = (hi_u8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in rgb2_yc_8_bit() 240 __inline static hi_void rgb2_yc_full_8_bit(hi_u8 r, hi_u8 g, hi_u8 b, hi_u8 *py, hi_u8 *pcb, hi_u8 … in rgb2_yc_full_8_bit() argument 249 *pcb = hi_max2(hi_min2(pcb_temp, 255), 0); in rgb2_yc_full_8_bit()
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
D | hi_math.h | 178 __inline static HI_VOID Rgb2Yc(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *pcr) in Rgb2Yc() argument 184 *pcb = (HI_U16)(((((b * 112 - r * 38) - g * 74) >> 8) + 128) << 2); in Rgb2Yc() 199 __inline static HI_VOID Rgb2Yc_full(HI_U16 r, HI_U16 g, HI_U16 b, HI_U16 *py, HI_U16 *pcb, HI_U16 *… in Rgb2Yc_full() argument 208 *pcb = MAX2(MIN2(pcb_temp, 1023), 0); in Rgb2Yc_full() 225 __inline static HI_VOID Rgb2Yc_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *pcr) in Rgb2Yc_8BIT() argument 231 *pcb = (HI_U8)((((b * 112 - r * 38) - g * 74) >> 8) + 128); in Rgb2Yc_8BIT() 246 __inline static HI_VOID Rgb2Yc_full_8BIT(HI_U8 r, HI_U8 g, HI_U8 b, HI_U8 *py, HI_U8 *pcb, HI_U8 *p… in Rgb2Yc_full_8BIT() argument 255 *pcb = MAX2(MIN2(pcb_temp, 255), 0); in Rgb2Yc_full_8BIT()
|
/device/soc/beken/bk7235/liteos_m/third_party_adapter/lwip_intf_v2_1/lwip-2.1.2/port/ |
D | sockets.c | 175 …if (((sock)->conn == NULL) || ((sock)->conn->pcb.tcp == NULL)) { done_socket(sock); return EINVAL;… 2980 if ((sock->conn->pcb.tcp != NULL) && (sock->conn->pcb.tcp->state == LISTEN)) { in lwip_getsockopt_impl() 3003 *(int *)optval = ip_get_option(sock->conn->pcb.ip, optname); in lwip_getsockopt_impl() 3075 if (udp_is_flag_set(sock->conn->pcb.udp, UDP_FLAGS_UDPLITE)) { in lwip_getsockopt_impl() 3081 *(int *)optval = udp_is_flag_set(sock->conn->pcb.udp, UDP_FLAGS_NOCHKSUM) ? 1 : 0; in lwip_getsockopt_impl() 3097 *(int *)optval = sock->conn->pcb.ip->ttl; in lwip_getsockopt_impl() 3103 *(int *)optval = sock->conn->pcb.ip->tos; in lwip_getsockopt_impl() 3114 *(u8_t *)optval = udp_get_multicast_ttl(sock->conn->pcb.udp); in lwip_getsockopt_impl() 3124 …net_addr_from_ip4addr((struct in_addr *)optval, udp_get_multicast_netif_addr(sock->conn->pcb.udp)); in lwip_getsockopt_impl() 3130 if ((sock->conn->pcb.udp->flags & UDP_FLAGS_MULTICAST_LOOP) != 0) { in lwip_getsockopt_impl() [all …]
|
/device/soc/esp/esp32/components/esp_netif/lwip/ |
D | esp_netif_lwip_ppp.c | 51 static void on_ppp_status_changed(ppp_pcb *pcb, int err_code, void *ctx) in on_ppp_status_changed() argument 53 struct netif *pppif = ppp_netif(pcb); in on_ppp_status_changed() 68 if (pcb->if4_up && !ip_addr_isany(&pppif->ip_addr)) { in on_ppp_status_changed() 96 } else if (pcb->if6_up && !ip_addr_isany(&pppif->ip6_addr[0])) { in on_ppp_status_changed() 185 static void on_ppp_notify_phase(ppp_pcb *pcb, u8_t phase, void *ctx) in on_ppp_notify_phase() argument 238 static uint32_t pppos_low_level_output(ppp_pcb *pcb, uint8_t *data, uint32_t len, void *netif) in pppos_low_level_output() argument
|
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/ |
D | opt.h | 1390 #define TCP_OOSEQ_BYTES_LIMIT(pcb) TCP_OOSEQ_MAX_BYTES argument 1392 #define TCP_OOSEQ_BYTES_LIMIT(pcb) argument 1413 #define TCP_OOSEQ_PBUFS_LIMIT(pcb) TCP_OOSEQ_MAX_PBUFS argument 1415 #define TCP_OOSEQ_PBUFS_LIMIT(pcb) argument 2839 #define LWIP_HOOK_TCP_INPACKET_PCB(pcb, hdr, optlen, opt1len, opt2, p) argument 2861 #define LWIP_HOOK_TCP_OUT_TCPOPT_LENGTH(pcb, internal_len) argument 2885 #define LWIP_HOOK_TCP_OUT_ADD_TCPOPTS(p, hdr, pcb, opts) argument
|