/Zephyr-latest/subsys/net/lib/mqtt_sn/ |
D | mqtt_sn_transport_udp.c | 127 err = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_ADD_MEMBERSHIP, &mreqn, sizeof(mreqn)); in tp_udp_init() 133 err = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &optval, sizeof(optval)); in tp_udp_init() 160 rc = zsock_getsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &ttl_len); in tp_udp_sendto() 166 rc = zsock_setsockopt(udp->sock, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, in tp_udp_sendto()
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | transport.c | 89 zsock_setsockopt(port->socket[1], IPPROTO_IP, in transport_join_multicast() 120 if (zsock_setsockopt(socket, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, sizeof(ttl))) { in transport_udp_ipv4_open() 125 if (zsock_getsockopt(socket, IPPROTO_IP, IP_TOS, &tos, &length)) { in transport_udp_ipv4_open() 133 if (zsock_setsockopt(socket, IPPROTO_IP, IP_TOS, &tos, length)) { in transport_udp_ipv4_open()
|
/Zephyr-latest/tests/net/igmp/src/ |
D | main.c | 450 ret = zsock_setsockopt(fd, IPPROTO_IP, option, in socket_group_with_address() 455 ret = zsock_setsockopt(fd, IPPROTO_IP, option, in socket_group_with_address() 461 ret = zsock_setsockopt(fd, IPPROTO_IP, option, in socket_group_with_address() 469 ret = zsock_setsockopt(fd, IPPROTO_IP, option, in socket_group_with_address() 517 ret = zsock_setsockopt(fd, IPPROTO_IP, option, in socket_group_with_index()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 1767 if (cmsg->cmsg_level == IPPROTO_IP && in run_ancillary_recvmsg_test() 1789 rv = zsock_setsockopt(server_sock, IPPROTO_IP, IP_PKTINFO, &opt, optlen); in run_ancillary_recvmsg_test() 1814 if (cmsg->cmsg_level == IPPROTO_IP && in run_ancillary_recvmsg_test() 2067 ret = zsock_setsockopt(sock_c, IPPROTO_IP, option, &opt, sizeof(opt)); in test_check_ttl() 2182 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); in ZTEST() 2186 ret = zsock_getsockopt(client_sock, IPPROTO_IP, IP_TTL, &verify, &optlen); in ZTEST() 2226 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &mcast_ttl, in ZTEST() 2231 ret = zsock_getsockopt(client_sock, IPPROTO_IP, IP_MULTICAST_TTL, &verify, in ZTEST() 2726 ret = zsock_getsockopt(sock, IPPROTO_IP, IP_MULTICAST_IF, in ZTEST() 2745 ret = zsock_getsockopt(sock, IPPROTO_IP, IP_MULTICAST_IF, in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netinet_in_h.c | 68 zexpect_not_equal(-1, IPPROTO_IP); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_common.c | 137 if (zsock_setsockopt(sock, IPPROTO_IP, IP_TOS, in zperf_prepare_upload_sock()
|
/Zephyr-latest/tests/net/pmtu/src/ |
D | main.c | 800 ret = zsock_getsockopt(client_sock, IPPROTO_IP, IP_MTU, &optval, &optlen); in ZTEST() 807 ret = zsock_setsockopt(client_sock, IPPROTO_IP, IP_MTU, &optval, optlen); in ZTEST()
|
/Zephyr-latest/drivers/net/ |
D | nsos_adapt.c | 118 *proto = IPPROTO_IP; in socket_proto_from_nsos_mid() 155 case IPPROTO_IP: in socket_proto_to_nsos_mid()
|
D | nsos_sockets.c | 91 case IPPROTO_IP: in socket_proto_to_nsos_mid() 965 *proto = IPPROTO_IP; in socket_proto_from_nsos_mid()
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 981 outer = create_outer(attached, AF_INET, IPPROTO_IP, in test_virtual_recv_data_from_tunnel() 1001 inner = create_inner(iface, AF_INET, IPPROTO_IP, in test_virtual_recv_data_from_tunnel()
|
/Zephyr-latest/subsys/net/l2/virtual/ipip/ |
D | ipip.c | 199 AF_INET, IPPROTO_IP, in interface_send()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | llmnr_responder.c | 328 (void)set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in create_ipv4_answer()
|
D | mdns_responder.c | 142 ret = set_ttl_hop_limit(sock, IPPROTO_IP, IP_MULTICAST_TTL, 255); in setup_dst_addr()
|
D | resolve.c | 1100 ret = set_ttl_hop_limit(sock, IPPROTO_IP, IP_TTL, in dns_write()
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 691 (void)zsock_getsockopt(v4, IPPROTO_IP, IP_MULTICAST_TTL, &ttl, &optlen); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_inet.c | 998 ret = insert_pktinfo(msg, IPPROTO_IP, IP_PKTINFO, in add_pktinfo() 1899 case IPPROTO_IP: in zsock_getsockopt_ctx() 2503 case IPPROTO_IP: in zsock_setsockopt_ctx()
|
/Zephyr-latest/include/zephyr/net/ |
D | net_ip.h | 65 IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */ enumerator
|