Searched refs:in_addr (Results 1 – 15 of 15) sorted by relevance
/tools/include/uapi/linux/ |
D | in.h | 89 struct in_addr { struct 174 struct in_addr imr_multiaddr; /* IP multicast address of group */ 175 struct in_addr imr_interface; /* local IP address of interface */ 179 struct in_addr imr_multiaddr; /* IP multicast address of group */ 180 struct in_addr imr_address; /* local IP address of interface */ 229 struct in_addr ipi_spec_dst; 230 struct in_addr ipi_addr; 240 struct in_addr sin_addr; /* Internet address */ 244 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
/tools/testing/selftests/net/ |
D | ipsec.c | 320 struct in_addr addr, uint8_t prefix) in ip4_addr_set() 388 struct in_addr src, struct in_addr dst) in ip4_route_set() 427 struct in_addr tunsrc, struct in_addr tundst) in tunnel_set_route() 445 struct in_addr intsrc = inet_makeaddr(INADDR_B, src); in init_child() 446 struct in_addr tunsrc = inet_makeaddr(INADDR_A, src); in init_child() 447 struct in_addr tundst = inet_makeaddr(INADDR_A, dst); in init_child() 580 static int udp_ping_init(struct in_addr listen_ip, unsigned int u_timeout, in udp_ping_init() 595 memcpy(&server.sin_addr.s_addr, &listen_ip, sizeof(struct in_addr)); in udp_ping_init() 705 static int do_ping(int cmd_fd, char *buf, size_t buf_len, struct in_addr from, in do_ping() 746 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1); in do_ping() [all …]
|
D | nettest.c | 47 struct in_addr in; 53 struct in_addr in; 58 struct in_addr grp; /* multicast group */ 91 struct in_addr in; 97 struct in_addr in; 533 struct in_addr *exp_in = (struct in_addr *) expected; in expected_addr_match() 798 struct in_addr in4; in socket_read_dgram() 1438 struct in_addr *in; in convert_addr() 1499 in = (struct in_addr *) addr; in convert_addr()
|
D | timestamping.c | 312 struct in_addr iaddr; in main() 402 &imr.imr_interface.s_addr, sizeof(struct in_addr)) < 0) in main()
|
D | ip_defrag.c | 26 const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) };
|
D | udpgso.c | 73 const struct in_addr addr4 = { .s_addr = __constant_htonl(INADDR_LOOPBACK + 2) };
|
D | txtimestamp.c | 476 udph->check = get_udp_csum(udph, is_ipv4 ? sizeof(struct in_addr) : in fill_header_udp()
|
/tools/usb/ffs-aio-example/simple/host_app/ |
D | test.c | 159 unsigned char in_addr, out_addr; in main() local 166 in_addr = iface->endpoint[0].bEndpointAddress; in main() 172 libusb_bulk_transfer(state.handle, in_addr, buffer, BUF_LEN, in main()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | cls_redirect.c | 25 struct in_addr in_addr; member 77 ap->in_addr = in->sin_addr; in fill_addr_port() 283 struct in_addr next_hop; in build_input() 295 next_hop = (struct in_addr){ .s_addr = htonl(0x7f000002) }; in build_input() 310 .saddr = tuple->src.in_addr.s_addr, in build_input() 311 .daddr = tuple->dst.in_addr.s_addr, in build_input()
|
/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect.c | 381 sizeof(struct in_addr) * encap->unigue.hop_count; in accept_locally() 399 struct in_addr *next_hop, metrics_t *metrics) in forward_with_gre() 405 sizeof(struct in_addr) * encap->unigue.hop_count; in forward_with_gre() 520 struct in_addr *next_hop, metrics_t *metrics) in forward_to_next_hop() 560 if (!buf_skip(pkt, sizeof(struct in_addr))) in skip_next_hops() 577 struct in_addr *next_hop) in get_next_hop() 1014 struct in_addr next_hop; in cls_redirect()
|
/tools/testing/selftests/bpf/ |
D | xdping.c | 40 struct in_addr inaddr; in get_stats()
|
D | test_sock_addr.c | 912 struct in_addr src4_rw_ip; in sendmsg4_rw_asm_prog_load()
|
/tools/testing/selftests/net/forwarding/ |
D | vxlan_bridge_1q.sh | 253 local in_addr=$1; shift 260 ip address add dev $in_if $in_addr/28 274 ip link add name vx10 type vxlan id 1000 local $in_addr \ 285 ip link add name vx20 type vxlan id 2000 local $in_addr \
|
D | vxlan_bridge_1d.sh | 193 local in_addr=$1; shift 199 ip address add dev $in_if $in_addr/28 210 ip link add name vx2 type vxlan id 1000 local $in_addr dstport "$VXPORT"
|
/tools/hv/ |
D | hv_kvp_daemon.c | 1038 struct in_addr ipv4_addr; in is_ipv4()
|