Lines Matching refs:udp

2442       if ((udp_flags(sock->conn->pcb.udp) & UDP_FLAGS_UDPLITE) != 0) {  in lwip_getsockopt_impl()
2447 *(int*)optval = (udp_flags(sock->conn->pcb.udp) & UDP_FLAGS_NOCHKSUM) ? 1 : 0; in lwip_getsockopt_impl()
2487 *(u8_t*)optval = udp_get_multicast_ttl(sock->conn->pcb.udp); in lwip_getsockopt_impl()
2496 … inet_addr_from_ipaddr((struct in_addr*)optval, udp_get_multicast_netif_addr(sock->conn->pcb.udp)); in lwip_getsockopt_impl()
2502 if ((sock->conn->pcb.udp->flags & UDP_FLAGS_MULTICAST_LOOP) != 0) { in lwip_getsockopt_impl()
2596 *(int*)optval = sock->conn->pcb.udp->chksum_len_tx; in lwip_getsockopt_impl()
2601 *(int*)optval = sock->conn->pcb.udp->chksum_len_rx; in lwip_getsockopt_impl()
2831 if ((udp_flags(sock->conn->pcb.udp) & UDP_FLAGS_UDPLITE) != 0) { in lwip_setsockopt_impl()
2837 udp_setflags(sock->conn->pcb.udp, udp_flags(sock->conn->pcb.udp) | UDP_FLAGS_NOCHKSUM); in lwip_setsockopt_impl()
2839 udp_setflags(sock->conn->pcb.udp, udp_flags(sock->conn->pcb.udp) & ~UDP_FLAGS_NOCHKSUM); in lwip_setsockopt_impl()
2904 udp_set_multicast_ttl(sock->conn->pcb.udp, (u8_t)(*(const u8_t*)optval)); in lwip_setsockopt_impl()
2911 udp_set_multicast_netif_addr(sock->conn->pcb.udp, &if_addr); in lwip_setsockopt_impl()
2917 … udp_setflags(sock->conn->pcb.udp, udp_flags(sock->conn->pcb.udp) | UDP_FLAGS_MULTICAST_LOOP); in lwip_setsockopt_impl()
2919 … udp_setflags(sock->conn->pcb.udp, udp_flags(sock->conn->pcb.udp) & ~UDP_FLAGS_MULTICAST_LOOP); in lwip_setsockopt_impl()
3046 sock->conn->pcb.udp->chksum_len_tx = 8; in lwip_setsockopt_impl()
3048 sock->conn->pcb.udp->chksum_len_tx = (u16_t)*(const int*)optval; in lwip_setsockopt_impl()
3056 sock->conn->pcb.udp->chksum_len_rx = 8; in lwip_setsockopt_impl()
3058 sock->conn->pcb.udp->chksum_len_rx = (u16_t)*(const int*)optval; in lwip_setsockopt_impl()