/kernel/linux/linux-5.10/net/ceph/ |
D | decode.c | 27 if (addr_len > sizeof(addr->in_addr)) in ceph_decode_entity_addr_versioned() 30 memset(&addr->in_addr, 0, sizeof(addr->in_addr)); in ceph_decode_entity_addr_versioned() 32 ceph_decode_copy_safe(p, end, &addr->in_addr, addr_len, bad); in ceph_decode_entity_addr_versioned() 34 addr->in_addr.ss_family = in ceph_decode_entity_addr_versioned() 35 le16_to_cpu((__force __le16)addr->in_addr.ss_family); in ceph_decode_entity_addr_versioned() 60 memset(&addr->in_addr, 0, sizeof(addr->in_addr)); in ceph_decode_entity_addr_legacy() 61 ceph_decode_copy_safe(p, end, &addr->in_addr, in ceph_decode_entity_addr_legacy() 62 sizeof(addr->in_addr), bad); in ceph_decode_entity_addr_legacy() 63 addr->in_addr.ss_family = in ceph_decode_entity_addr_legacy() 64 be16_to_cpu((__force __be16)addr->in_addr.ss_family); in ceph_decode_entity_addr_legacy()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | mroute.h | 44 struct in_addr vifc_lcl_addr; 47 struct in_addr vifc_rmt_addr; 54 struct in_addr mfcc_origin; 55 struct in_addr mfcc_mcastgrp; 64 struct in_addr src; 65 struct in_addr grp; 83 struct in_addr im_src,im_dst;
|
D | in.h | 67 struct in_addr { struct 129 struct in_addr imr_multiaddr; 130 struct in_addr imr_interface; 133 struct in_addr imr_multiaddr; 134 struct in_addr imr_address; 175 struct in_addr ipi_spec_dst; 176 struct in_addr ipi_addr; 184 struct in_addr sin_addr; 187 sizeof(unsigned short int) - sizeof(struct in_addr)];
|
D | l2tp.h | 18 struct in_addr l2tp_addr; 23 sizeof(__be16) - sizeof(struct in_addr) -
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | mroute.h | 62 struct in_addr vifc_lcl_addr; 65 struct in_addr vifc_rmt_addr; 72 struct in_addr mfcc_origin; 73 struct in_addr mfcc_mcastgrp; 82 struct in_addr src; 83 struct in_addr grp; 101 struct in_addr im_src, im_dst;
|
D | in.h | 86 struct in_addr { struct 149 struct in_addr imr_multiaddr; 150 struct in_addr imr_interface; 153 struct in_addr imr_multiaddr; 154 struct in_addr imr_address; 192 struct in_addr ipi_spec_dst; 193 struct in_addr ipi_addr; 201 struct in_addr sin_addr; 202 …har __pad[__SOCK_SIZE__ - sizeof(short int) - sizeof(unsigned short int) - sizeof(struct in_addr)];
|
D | l2tp.h | 30 struct in_addr l2tp_addr; 32 …K_SIZE__ - sizeof(__kernel_sa_family_t) - sizeof(__be16) - sizeof(struct in_addr) - sizeof(__u32)];
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | mroute.h | 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;
|
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)];
|
D | l2tp.h | 29 struct in_addr l2tp_addr; /* Internet address */ 36 sizeof(__be16) - sizeof(struct in_addr) -
|
/kernel/linux/linux-5.10/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)];
|
/kernel/liteos_m/kal/libc/newlib/porting/include/arpa/ |
D | inet.h | 43 char *inet_ntoa(struct in_addr addr); 47 int inet_aton(const char *cp, struct in_addr *addr); 48 struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host); 49 in_addr_t inet_lnaof(struct in_addr addr); 50 in_addr_t inet_netof(struct in_addr addr);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | gid.c | 128 void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); in mlx5_core_roce_gid_set() local 129 char *addr_l3_addr = MLX5_ADDR_OF(roce_addr_layout, in_addr, in mlx5_core_roce_gid_set() 131 void *addr_mac = MLX5_ADDR_OF(roce_addr_layout, in_addr, in mlx5_core_roce_gid_set() 140 MLX5_SET_RA(in_addr, vlan_valid, 1); in mlx5_core_roce_gid_set() 141 MLX5_SET_RA(in_addr, vlan_id, vlan_id); in mlx5_core_roce_gid_set() 145 MLX5_SET_RA(in_addr, roce_version, roce_version); in mlx5_core_roce_gid_set() 146 MLX5_SET_RA(in_addr, roce_l3_type, roce_l3_type); in mlx5_core_roce_gid_set()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_arp/ |
D | arpt_mangle.h | 9 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr) 15 struct in_addr src_ip; 18 struct in_addr tgt_ip;
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter_arp/ |
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;
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_arp/ |
D | arpt_mangle.h | 22 #define ARPT_MANGLE_ADDR_LEN_MAX sizeof(struct in_addr) 27 struct in_addr src_ip; 30 struct in_addr tgt_ip;
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | in.h | 174 struct in_addr { struct 181 struct in_addr sin_addr; 186 struct in_addr ip_dst; 192 struct in_addr imr_multiaddr; 193 struct in_addr imr_interface;
|
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/ |
D | pm.c | 93 __be32 in_addr[2]; in mvebu_internal_reg_base() local 103 in_addr[0] = cpu_to_be32(0xf0010000); in mvebu_internal_reg_base() 104 in_addr[1] = 0x0; in mvebu_internal_reg_base() 106 return of_translate_address(np, in_addr); in mvebu_internal_reg_base()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/selftest/ |
D | allowedips.c | 138 horrible_match_v4(const struct horrible_allowedips_node *node, struct in_addr *ip) in horrible_match_v4() 182 struct in_addr *ip, u8 cidr, void *value) in horrible_allowedips_insert_v4() 215 horrible_allowedips_lookup_v4(struct horrible_allowedips *table, struct in_addr *ip) in horrible_allowedips_lookup_v4() 290 if (wg_allowedips_insert_v4(&t, (struct in_addr *)ip, cidr, in randomized_test() 295 if (horrible_allowedips_insert_v4(&h, (struct in_addr *)ip, in randomized_test() 317 (struct in_addr *)mutated, in randomized_test() 323 (struct in_addr *)mutated, cidr, peer)) { in randomized_test() 385 if (lookup(t.root4, 32, ip) != horrible_allowedips_lookup_v4(&h, (struct in_addr *)ip)) { in randomized_test() 386 horrible_allowedips_lookup_v4(&h, (struct in_addr *)ip); in randomized_test() 425 static __init inline struct in_addr *ip4(u8 a, u8 b, u8 c, u8 d) in ip4() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/netlabel/ |
D | netlabel_unlabeled.c | 122 .len = sizeof(struct in_addr) }, 124 .len = sizeof(struct in_addr) }, 232 const struct in_addr *addr, in netlbl_unlhsh_add_addr4() 233 const struct in_addr *mask, in netlbl_unlhsh_add_addr4() 380 if (addr_len != sizeof(struct in_addr) && in netlbl_unlhsh_add() 407 case sizeof(struct in_addr): { in netlbl_unlhsh_add() 408 const struct in_addr *addr4 = addr; in netlbl_unlhsh_add() 409 const struct in_addr *mask4 = mask; in netlbl_unlhsh_add() 468 const struct in_addr *addr, in netlbl_unlhsh_remove_addr4() 469 const struct in_addr *mask, in netlbl_unlhsh_remove_addr4() [all …]
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | decode.h | 226 __be16 ss_family = htons(a->in_addr.ss_family); in ceph_encode_banner_addr() 227 a->in_addr.ss_family = *(__u16 *)&ss_family; in ceph_encode_banner_addr() 234 __be16 ss_family = *(__be16 *)&a->in_addr.ss_family; in ceph_decode_banner_addr() 235 a->in_addr.ss_family = ntohs(ss_family); in ceph_decode_banner_addr() 236 WARN_ON(a->in_addr.ss_family == 512); in ceph_decode_banner_addr()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_dup_ipv4.c | 24 const struct in_addr *gw, int oif) in nf_dup_ipv4_route() 51 const struct in_addr *gw, int oif) in nf_dup_ipv4()
|