Searched defs:in_addr (Results 1 - 16 of 16) sorted by relevance

/freebsd-head/contrib/netbsd-tests/usr.bin/xlint/lint1/
H A Dd_packed_structs.c3 struct in_addr { struct
15 struct in_addr ipt_addr;
/freebsd-head/sys/dev/mlx5/mlx5_lib/
H A Dmlx5_gid.c130 void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); local
131 char *addr_l3_addr = MLX5_ADDR_OF(roce_addr_layout, in_addr,
133 void *addr_mac = MLX5_ADDR_OF(roce_addr_layout, in_addr,
142 MLX5_SET_RA(in_addr, vlan_valid, 1);
143 MLX5_SET_RA(in_addr, vlan_id, vlan_id);
147 MLX5_SET_RA(in_addr, roce_version, roce_version);
148 MLX5_SET_RA(in_addr, roce_l3_type, roce_l3_type);
/freebsd-head/include/arpa/
H A Dinet.h111 struct in_addr { struct
148 /*const*/ char *inet_ntoa(struct in_addr);
154 int inet_aton(const char *, struct in_addr *);
155 in_addr_t inet_lnaof(struct in_addr);
156 struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
158 in_addr_t inet_netof(struct in_addr);
162 char *inet_ntoa_r(struct in_addr, char *buf, socklen_t size);
/freebsd-head/contrib/ldns/
H A Drdata.c418 ldns_rdf *in_addr; local
433 in_addr = NULL;
443 in_addr = ldns_dname_new_frm_str("in-addr.arpa.");
444 if (!in_addr) {
451 LDNS_FREE(in_addr);
458 LDNS_FREE(in_addr);
465 LDNS_FREE(in_addr);
505 in_addr = ldns_dname_new_frm_str("ip6.arpa.");
506 if (!in_addr) {
515 ldns_rdf_deep_free(in_addr);
[all...]
/freebsd-head/contrib/apr/include/
H A Dapr_network_io.h126 * We need to make sure we always have an in_addr type, so APR will just
129 struct in_addr { struct
224 /** A structure to represent in_addr */
225 typedef struct in_addr apr_in_addr_t;
/freebsd-head/contrib/wpa/src/wps/
H A Dwps_upnp.c901 struct in_addr in_addr; local
919 in_addr.s_addr = *ip_addr;
920 os_snprintf(*ip_addr_text, 16, "%s", inet_ntoa(in_addr));
/freebsd-head/contrib/sendmail/src/
H A Ddaemon.c3817 j = o[1] / sizeof(struct in_addr) - 1;
3823 struct in_addr addr;
3836 q += sizeof(struct in_addr);
3924 struct in_addr in_addr; local
4047 if ((in_addr.s_addr = inet_addr(&name[1])) != INADDR_NONE)
4048 hp = sm_gethostbyaddr((char *)&in_addr,
H A Dmap.c7433 struct in_addr in_addr; local
7435 r = inet_pton(AF_INET, name, &in_addr);
7440 src = (unsigned char *) &in_addr;
/freebsd-head/lib/libc/net/
H A Dname6.c132 sizeof(struct in_addr))
134 #define ADDRLEN(af) sizeof(struct in_addr)
139 memcpy(&(ab)->map_inaddr, ina, sizeof(struct in_addr)); \
148 struct in_addr in_addr; member in union:inx_addr
155 struct in_addr mau_inaddr;
262 if (inet_aton(name, (struct in_addr *)&addrbuf) == 1) {
265 MAPADDR(&addrbuf, &addrbuf.in_addr);
327 struct in_addr addrbuf;
332 if (len != sizeof(struct in_addr)) {
[all...]
/freebsd-head/usr.sbin/ppp/
H A Dipcp.c453 struct in_addr host;
527 struct in_addr peer;
604 numaddresses(struct in_addr mask)
623 int (*proxyfun)(struct bundle *, struct in_addr),
627 struct in_addr peer, mask, ip;
665 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr,
666 struct in_addr hisaddr)
671 struct in_addr mask;
714 static struct in_addr
715 ChooseHisAddr(struct bundle *bundle, struct in_addr g
622 ipcp_proxyarp(struct ipcp *ipcp, int (*proxyfun)(struct bundle *, struct in_addr), const struct iface_addr *addr) argument
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Dsocket_wrapper.c557 static int sockaddr_convert_to_un(struct socket_info *si, const struct sockaddr *in_addr, socklen_t in_len, argument
565 switch (in_addr->sa_family) {
579 return convert_in_un_alloc(si, in_addr, out_addr, bcast);
581 return convert_in_un_remote(si, in_addr, out_addr, bcast);
592 const struct sockaddr_un *in_addr,
619 return convert_un_in(in_addr, out_addr, out_addrlen);
591 sockaddr_convert_from_un(const struct socket_info *si, const struct sockaddr_un *in_addr, socklen_t un_addrlen, int family, struct sockaddr *out_addr, socklen_t *out_addrlen) argument
/freebsd-head/sys/dev/ocs_fc/
H A Docs_ioctl.h91 uint64_t in_addr; /**< user space address of input buffer */ member in struct:__anon1850
/freebsd-head/sys/netinet/
H A Din.h83 struct in_addr { struct
101 struct in_addr sin_addr;
418 #define IP_MULTICAST_IF 9 /* struct in_addr *or* struct ip_mreqn;
524 struct in_addr imr_multiaddr; /* IP multicast address of group */
525 struct in_addr imr_interface; /* local IP address of interface */
534 struct in_addr imr_multiaddr; /* IP multicast address of group */
535 struct in_addr imr_address; /* local IP address of interface */
543 struct in_addr imr_multiaddr; /* IP multicast address of group */
544 struct in_addr imr_sourceaddr; /* IP address of source */
545 struct in_addr imr_interfac
[all...]
/freebsd-head/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c401 void *in_addr = MLX5_ADDR_OF(set_roce_address_in, in, roce_address); local
407 ib_gid_to_mlx5_roce_addr(gid, attr, in_addr);
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar5.c268 int in_addr; /* Current byte pointer. */ member in struct:bit_reader
1016 uint32_t bits = ((uint32_t) p[rar->bits.in_addr]) << 24;
1017 bits |= p[rar->bits.in_addr + 1] << 16;
1018 bits |= p[rar->bits.in_addr + 2] << 8;
1019 bits |= p[rar->bits.in_addr + 3];
1021 bits |= p[rar->bits.in_addr + 4] >> (8 - rar->bits.bit_addr);
1027 int bits = (int) ((uint32_t) p[rar->bits.in_addr]) << 16;
1028 bits |= (int) p[rar->bits.in_addr + 1] << 8;
1029 bits |= (int) p[rar->bits.in_addr + 2];
1037 rar->bits.in_addr
[all...]
/freebsd-head/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2914 } in_addr; member in union:fw_coiscsi_tgt_wr::fw_coiscsi_tgt_conn_attr::fw_coiscsi_tgt_conn_attr_addr
2948 } in_addr; member in union:fw_coiscsi_tgt_conn_wr::__anon76::fw_coiscsi_tgt_conn_tcp::fw_coiscsi_tgt_conn_tcp_addr
3146 } in_addr; member in union:fw_isns_wr::fw_tcp_conn_attr::fw_tcp_conn_attr_addr

Completed in 185 milliseconds