Home
last modified time | relevance | path

Searched refs:raddr (Results 1 – 19 of 19) sorted by relevance

/external/avahi/avahi-core/
Diface-pfroute.c122 AvahiAddress raddr; in rtm_addr() local
155 raddr.proto = avahi_af_to_proto(sa->sa_family); in rtm_addr()
173 memcpy(raddr.data.data, &((struct sockaddr_in *)sa)->sin_addr, sizeof(struct in_addr)); in rtm_addr()
185 memcpy(raddr.data.data, &((struct sockaddr_in6 *)sa)->sin6_addr, sizeof(struct in6_addr)); in rtm_addr()
187 if (IN6_IS_ADDR_LINKLOCAL((struct in6_addr *)raddr.data.data)) in rtm_addr()
189 ((struct in6_addr *)raddr.data.data)->s6_addr[2] = 0; in rtm_addr()
190 ((struct in6_addr *)raddr.data.data)->s6_addr[3] = 0; in rtm_addr()
214 if (!(addriface = avahi_interface_monitor_get_address(m, iface, &raddr))) in rtm_addr()
215 if (!(addriface = avahi_interface_address_new(m, iface, &raddr, prefixlen))) in rtm_addr()
217 if (raddr.proto == AVAHI_PROTO_INET6) in rtm_addr()
[all …]
Diface-linux.c184 AvahiAddress raddr, rlocal, *r; in netlink_callback() local
198 rlocal.proto = raddr.proto = avahi_af_to_proto(ifaddrmsg->ifa_family); in netlink_callback()
226 if ((raddr.proto == AVAHI_PROTO_INET6 && RTA_PAYLOAD(a) != 16) || in netlink_callback()
227 (raddr.proto == AVAHI_PROTO_INET && RTA_PAYLOAD(a) != 4)) in netlink_callback()
230 memcpy(raddr.data.data, RTA_DATA(a), RTA_PAYLOAD(a)); in netlink_callback()
246 r = &raddr; in netlink_callback()
Diface.h191 …erface_monitor_get_address(AvahiInterfaceMonitor *m, AvahiInterface *i, const AvahiAddress *raddr);
Diface.c554 …rface_monitor_get_address(AvahiInterfaceMonitor *m, AvahiInterface *i, const AvahiAddress *raddr) { in avahi_interface_monitor_get_address() argument
559 assert(raddr); in avahi_interface_monitor_get_address()
562 if (avahi_address_cmp(&ia->address, raddr) == 0) in avahi_interface_monitor_get_address()
/external/iproute2/ip/
Dip6tunnel.c80 format_host(AF_INET6, 16, &p->raddr, s1, sizeof(s1)), in print_tunnel()
165 inet_prefix raddr; in parse_args() local
167 get_prefix(&raddr, *argv, preferred_family); in parse_args()
168 if (raddr.family == AF_UNSPEC) in parse_args()
170 memcpy(&p->raddr, &raddr.data, sizeof(p->raddr)); in parse_args()
312 (memcmp(&p1->raddr, &in6addr_any, sizeof(p1->raddr)) == 0 || in ip6_tnl_parm_match()
313 memcmp(&p1->raddr, &p2->raddr, sizeof(p1->raddr)) == 0) && in ip6_tnl_parm_match()
Dlink_ip6tnl.c72 struct in6_addr raddr; in ip6tunnel_parse_opt() local
81 memset(&raddr, 0, sizeof(raddr)); in ip6tunnel_parse_opt()
122 memcpy(&raddr, RTA_DATA(iptuninfo[IFLA_IPTUN_REMOTE]), in ip6tunnel_parse_opt()
123 sizeof(raddr)); in ip6tunnel_parse_opt()
166 memcpy(&raddr, addr.data, addr.bytelen); in ip6tunnel_parse_opt()
245 addattr_l(n, 1024, IFLA_IPTUN_REMOTE, &raddr, sizeof(raddr)); in ip6tunnel_parse_opt()
Dlink_gre6.c76 struct in6_addr raddr = IN6ADDR_ANY_INIT; in gre_parse_opt() local
135 memcpy(&raddr, RTA_DATA(greinfo[IFLA_GRE_REMOTE]), sizeof(raddr)); in gre_parse_opt()
222 memcpy(&raddr, &addr.data, sizeof(raddr)); in gre_parse_opt()
287 addattr_l(n, 1024, IFLA_GRE_REMOTE, &raddr, sizeof(raddr)); in gre_parse_opt()
Dlink_iptnl.c68 __u32 raddr = 0; in iptunnel_parse_opt() local
123 raddr = rta_getattr_u32(iptuninfo[IFLA_IPTUN_REMOTE]); in iptunnel_parse_opt()
174 raddr = get_addr32(*argv); in iptunnel_parse_opt()
176 raddr = 0; in iptunnel_parse_opt()
296 addattr32(n, 1024, IFLA_IPTUN_REMOTE, raddr); in iptunnel_parse_opt()
/external/ipsec-tools/src/racoon/
Dprivsep.c511 struct sockaddr *raddr; in privsep_init() local
523 raddr = (struct sockaddr *)bufs[1]; in privsep_init()
533 port, saddr2str(raddr), bufs[2]); in privsep_init()
537 raddr, bufs[2], inout) != 0) { in privsep_init()
608 struct sockaddr *raddr; in privsep_init() local
623 raddr = (struct sockaddr *)bufs[2]; in privsep_init()
637 port, saddr2str(raddr), bufs[3]); in privsep_init()
641 raddr, bufs[3], bufs[4]) != 0) { in privsep_init()
991 privsep_accounting_system(port, raddr, usr, inout) in privsep_accounting_system() argument
993 struct sockaddr *raddr;
[all …]
Disakmp_xauth.c636 xauth_login_pam(port, raddr, usr, pwd) in xauth_login_pam() argument
638 struct sockaddr *raddr;
671 if ((remote = strdup(saddrwop2str(raddr))) == NULL) {
Disakmp_cfg.c1651 isakmp_cfg_accounting_system(port, raddr, usr, inout) in isakmp_cfg_accounting_system() argument
1653 struct sockaddr *raddr;
1678 GETNAMEINFO_NULL(raddr, addr);
/external/strace/
Dipc_shm.c75 unsigned long raddr; in SYS_FUNC() local
76 if (umove(tcp, tcp->u_arg[2], &raddr) < 0) in SYS_FUNC()
78 tcp->u_rval = raddr; in SYS_FUNC()
Dutil.c1003 vm_read_mem(pid_t pid, void *laddr, long raddr, size_t len) argument
1010 .iov_base = (void *) raddr,
/external/kernel-headers/original/uapi/linux/
Dip6_tunnel.h31 struct in6_addr raddr; /* remote tunnel end-point address */ member
43 struct in6_addr raddr; /* remote tunnel end-point address */ member
/external/iproute2/include/linux/
Dip6_tunnel.h31 struct in6_addr raddr; /* remote tunnel end-point address */ member
43 struct in6_addr raddr; /* remote tunnel end-point address */ member
/external/toybox/toys/pending/
Dnetstat.c253 iaddr laddr, raddr; in show_ipv4() local
258 &num, &laddr.u, &lport, &raddr.u, &rport, &state, &txq, in show_ipv4()
262 addr2str(AF_INET, &raddr, rport, rip, label); in show_ipv4()
/external/tcpdump/
Dprint-isakmp.c659 union inaddr_u raddr; member
800 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in4, &ip->ip_dst, sizeof(struct in_addr)); in cookie_record()
807 UNALIGNED_MEMCPY(&cookiecache[ninitiator].raddr.in6, &ip6->ip6_dst, sizeof(struct in6_addr)); in cookie_record()
836 if (UNALIGNED_MEMCMP(&ip->ip_src, &cookiecache[i].raddr.in4, sizeof(struct in_addr)) == 0) in cookie_sidecheck()
849 if (UNALIGNED_MEMCMP(&ip6->ip6_src, &cookiecache[i].raddr.in6, sizeof(struct in6_addr)) == 0) in cookie_sidecheck()
/external/valgrind/VEX/priv/
Dhost_arm_isel.c6069 HReg raddr = iselIntExpr_R(env, stmt->Ist.LLSC.addr); in iselStmt() local
6076 addInstr(env, mk_iMOVds_RR(hregARM_R4(), raddr)); in iselStmt()
6082 HReg raddr = iselIntExpr_R(env, stmt->Ist.LLSC.addr); in iselStmt() local
6083 addInstr(env, mk_iMOVds_RR(hregARM_R4(), raddr)); in iselStmt()
Dhost_arm64_isel.c3782 HReg raddr = iselIntExpr_R(env, stmt->Ist.LLSC.addr); in iselStmt() local
3790 addInstr(env, ARM64Instr_MovI(hregARM64_X4(), raddr)); in iselStmt()