/linux-master/include/uapi/linux/netfilter_arp/ |
H A D | arpt_mangle.h | 6 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr) 12 struct in_addr src_ip; 15 struct in_addr tgt_ip;
|
H A D | arp_tables.h | 46 struct in_addr src, tgt; 48 struct in_addr smsk, tmsk;
|
/linux-master/include/net/netfilter/ipv4/ |
H A D | nf_dup_ipv4.h | 9 const struct in_addr *gw, int oif);
|
/linux-master/net/ceph/ |
H A D | decode.c | 31 if (addr_len > sizeof(addr->in_addr)) 34 memset(&addr->in_addr, 0, sizeof(addr->in_addr)); 36 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad); 38 addr->in_addr.ss_family = 39 le16_to_cpu((__force __le16)addr->in_addr.ss_family); 64 memset(&addr->in_addr, 0, sizeof(addr->in_addr)); 65 ceph_decode_copy_safe(p, end, &addr->in_addr, 66 sizeof(addr->in_addr), ba [all...] |
/linux-master/include/uapi/linux/ |
H A D | mroute.h | 7 #include <linux/in.h> /* For struct in_addr. */ 67 struct in_addr vifc_lcl_addr; /* Local interface address */ 70 struct in_addr vifc_rmt_addr; /* IPIP tunnel addr */ 81 struct in_addr mfcc_origin; /* Origin of mcast */ 82 struct in_addr mfcc_mcastgrp; /* Group in question */ 93 struct in_addr src; 94 struct in_addr grp; 118 struct in_addr im_src,im_dst;
|
H A D | in.h | 92 struct in_addr { struct 179 struct in_addr imr_multiaddr; /* IP multicast address of group */ 180 struct in_addr imr_interface; /* local IP address of interface */ 184 struct in_addr imr_multiaddr; /* IP multicast address of group */ 185 struct in_addr imr_address; /* local IP address of interface */ 248 struct in_addr ipi_spec_dst; 249 struct in_addr ipi_addr; 259 struct in_addr sin_addr; /* Internet address */ 263 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
H A D | netfilter.h | 76 struct in_addr in;
|
H A D | l2tp.h | 27 struct in_addr l2tp_addr; /* Internet address */ 34 sizeof(__be16) - sizeof(struct in_addr) -
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | gid.c | 123 void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); local 124 char *addr_l3_addr = MLX5_ADDR_OF(roce_addr_layout, in_addr, 126 void *addr_mac = MLX5_ADDR_OF(roce_addr_layout, in_addr, 135 MLX5_SET_RA(in_addr, vlan_valid, 1); 136 MLX5_SET_RA(in_addr, vlan_id, vlan_id); 142 MLX5_SET_RA(in_addr, roce_version, roce_version); 143 MLX5_SET_RA(in_addr, roce_l3_type, roce_l3_type);
|
/linux-master/tools/include/uapi/linux/ |
H A D | in.h | 92 struct in_addr { struct 179 struct in_addr imr_multiaddr; /* IP multicast address of group */ 180 struct in_addr imr_interface; /* local IP address of interface */ 184 struct in_addr imr_multiaddr; /* IP multicast address of group */ 185 struct in_addr imr_address; /* local IP address of interface */ 248 struct in_addr ipi_spec_dst; 249 struct in_addr ipi_addr; 259 struct in_addr sin_addr; /* Internet address */ 263 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
/linux-master/tools/usb/ffs-aio-example/simple/host_app/ |
H A D | test.c | 159 unsigned char in_addr, out_addr; local 166 in_addr = iface->endpoint[0].bEndpointAddress; 172 libusb_bulk_transfer(state.handle, in_addr, buffer, BUF_LEN,
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_policy.h | 35 struct in_addr a4;
|
/linux-master/include/linux/ceph/ |
H A D | msgr.h | 87 struct sockaddr_storage in_addr; member in struct:ceph_entity_addr 93 return !memcmp(&lhs->in_addr, &rhs->in_addr, sizeof(lhs->in_addr)) &&
|
/linux-master/arch/arm/mach-mvebu/ |
H A D | pm.c | 90 __be32 in_addr[2]; local 100 in_addr[0] = cpu_to_be32(0xf0010000); 101 in_addr[1] = 0x0; 103 return of_translate_address(np, in_addr);
|
/linux-master/net/ipv4/netfilter/ |
H A D | nf_dup_ipv4.c | 24 const struct in_addr *gw, int oif) 51 const struct in_addr *gw, int oif)
|
H A D | nft_dup_ipv4.c | 25 struct in_addr gw = { 44 sizeof(struct in_addr));
|
/linux-master/samples/bpf/ |
H A D | sockex3_user.c | 88 inet_ntoa((struct in_addr){htonl(next_key.src)}), 90 inet_ntoa((struct in_addr){htonl(next_key.dst)}),
|
H A D | sockex2_user.c | 55 inet_ntoa((struct in_addr){htonl(next_key)}),
|
/linux-master/net/netlabel/ |
H A D | netlabel_domainhash.h | 79 const struct in_addr *addr, 80 const struct in_addr *mask,
|
/linux-master/tools/testing/selftests/net/ |
H A D | ipsec.c | 358 struct in_addr addr, uint8_t prefix) 426 struct in_addr src, struct in_addr dst) 465 struct in_addr tunsrc, struct in_addr tundst) 483 struct in_addr intsrc = inet_makeaddr(INADDR_B, src); 484 struct in_addr tunsrc = inet_makeaddr(INADDR_A, src); 485 struct in_addr tundst = inet_makeaddr(INADDR_A, dst); 621 static int udp_ping_init(struct in_addr listen_ip, unsigned int u_timeout, 636 memcpy(&server.sin_addr.s_addr, &listen_ip, sizeof(struct in_addr)); [all...] |
H A D | so_incoming_cpu.c | 19 struct sockaddr_in in_addr; member in union:__anon423 99 self->in_addr.sin_family = AF_INET; 100 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); 101 self->in_addr.sin_port = htons(0);
|
/linux-master/include/uapi/linux/netfilter_ipv4/ |
H A D | ip_tables.h | 73 struct in_addr src, dst; 75 struct in_addr smsk, dmsk;
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | aolib.h | 120 struct in_addr a4; 307 static inline int test_set_md5(int sk, const union tcp_addr in_addr, argument 315 tcp_addr_to_sockaddr_in(&addr, &in_addr, 0); 343 union tcp_addr in_addr, uint8_t prefix, uint8_t vrf, 349 return test_prepare_key(ao, DEFAULT_TEST_ALGO, in_addr, false, false, 379 union tcp_addr in_addr, uint8_t prefix, 385 err = test_prepare_def_key(&tmp, key, keyflags, in_addr, prefix, 398 union tcp_addr in_addr, uint8_t prefix, 401 return test_add_key_vrf(sk, key, 0, in_addr, prefix, 0, sndid, rcvid); 586 union tcp_addr in_addr, uint8_ 341 test_prepare_def_key(struct tcp_ao_add *ao, const char *key, uint8_t keyflags, union tcp_addr in_addr, uint8_t prefix, uint8_t vrf, uint8_t sndid, uint8_t rcvid) argument 377 test_add_key_vrf(int sk, const char *key, uint8_t keyflags, union tcp_addr in_addr, uint8_t prefix, uint8_t vrf, uint8_t sndid, uint8_t rcvid) argument 397 test_add_key(int sk, const char *key, union tcp_addr in_addr, uint8_t prefix, uint8_t sndid, uint8_t rcvid) argument 584 test_add_repaired_key(int sk, const char *key, uint8_t keyflags, union tcp_addr in_addr, uint8_t prefix, uint8_t sndid, uint8_t rcvid) argument [all...] |
/linux-master/drivers/net/wireguard/ |
H A D | peer.h | 29 struct in_addr src4;
|
H A D | allowedips.h | 37 int wg_allowedips_insert_v4(struct allowedips *table, const struct in_addr *ip,
|