Home
last modified time | relevance | path

Searched refs:addr_type (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/include/linux/
Dipmi.h81 int addr_type; member
94 int addr_type; member
106 int addr_type; member
349 unsigned int ipmi_addr_length(int addr_type);
/linux-2.4.37.9/net/ipv6/
Daf_inet6.c242 int addr_type = 0; in inet6_bind() local
250 addr_type = ipv6_addr_type(&addr->sin6_addr); in inet6_bind()
251 if ((addr_type & IPV6_ADDR_MULTICAST) && sock->type == SOCK_STREAM) in inet6_bind()
255 if (addr_type == IPV6_ADDR_MAPPED) { in inet6_bind()
260 if (addr_type != IPV6_ADDR_ANY) { in inet6_bind()
265 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in inet6_bind()
285 if (addr_type & IPV6_ADDR_LINKLOCAL) { in inet6_bind()
306 if (!(addr_type & IPV6_ADDR_MULTICAST)) in inet6_bind()
320 if (addr_type != IPV6_ADDR_ANY) in inet6_bind()
Dudp.c106 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in udp_v6_get_port() local
119 !(ipv6_only_sock(sk2) && addr_type == IPV6_ADDR_MAPPED)) || in udp_v6_get_port()
120 (addr_type == IPV6_ADDR_ANY && in udp_v6_get_port()
126 (addr_type == IPV6_ADDR_MAPPED && in udp_v6_get_port()
235 int addr_type; in udpv6_connect() local
262 addr_type = ipv6_addr_type(&usin->sin6_addr); in udpv6_connect()
264 if (addr_type == IPV6_ADDR_ANY) { in udpv6_connect()
273 if (addr_type == IPV6_ADDR_MAPPED) { in udpv6_connect()
307 if (addr_type&IPV6_ADDR_LINKLOCAL) { in udpv6_connect()
315 if (!sk->bound_dev_if && (addr_type&IPV6_ADDR_MULTICAST)) in udpv6_connect()
[all …]
Dicmp.c268 int addr_type = 0; in icmpv6_send() local
280 addr_type = ipv6_addr_type(&hdr->daddr); in icmpv6_send()
289 if ((addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST)) { in icmpv6_send()
299 addr_type = ipv6_addr_type(&hdr->saddr); in icmpv6_send()
305 if (addr_type & IPV6_ADDR_LINKLOCAL) in icmpv6_send()
312 if ((addr_type == IPV6_ADDR_ANY) || (addr_type & IPV6_ADDR_MULTICAST)) { in icmpv6_send()
Dndisc.c259 int addr_type; in ndisc_constructor() local
264 addr_type = ipv6_addr_type(addr); in ndisc_constructor()
268 if (addr_type&IPV6_ADDR_MULTICAST) in ndisc_constructor()
277 if (addr_type&IPV6_ADDR_MULTICAST) { in ndisc_constructor()
655 int addr_type = ipv6_addr_type(saddr); in ndisc_recv_ns() local
663 if (addr_type == IPV6_ADDR_ANY) { in ndisc_recv_ns()
683 if (addr_type == IPV6_ADDR_ANY) { in ndisc_recv_ns()
695 if (addr_type & IPV6_ADDR_UNICAST) { in ndisc_recv_ns()
722 int addr_type = ipv6_addr_type(saddr); in ndisc_recv_ns() local
731 if (addr_type == IPV6_ADDR_ANY) { in ndisc_recv_ns()
[all …]
Dip6_input.c232 int addr_type; in ip6_mc_input()
234 addr_type = ipv6_addr_type(&hdr->daddr); in ip6_mc_input()
236 if (!(addr_type & (IPV6_ADDR_LOOPBACK | IPV6_ADDR_LINKLOCAL))) { in ip6_mc_input()
Draw.c86 int addr_type = ipv6_addr_type(loc_addr); in __raw_v6_lookup() local
99 if ((addr_type & IPV6_ADDR_MULTICAST) && in __raw_v6_lookup()
193 int addr_type; in rawv6_bind() local
198 addr_type = ipv6_addr_type(&addr->sin6_addr); in rawv6_bind()
201 if (addr_type == IPV6_ADDR_MAPPED) in rawv6_bind()
210 if (addr_type & IPV6_ADDR_LINKLOCAL) { in rawv6_bind()
225 if (addr_type != IPV6_ADDR_ANY) { in rawv6_bind()
230 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in rawv6_bind()
240 if (!(addr_type & IPV6_ADDR_MULTICAST)) in rawv6_bind()
Dip6_flowlabel.c279 int addr_type; in fl_create() local
330 addr_type = ipv6_addr_type(&freq->flr_dst); in fl_create()
331 if ((addr_type&IPV6_ADDR_MAPPED) in fl_create()
332 || addr_type == IPV6_ADDR_ANY) in fl_create()
Dsit.c459 int addr_type; in ipip6_tunnel_xmit() local
485 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()
487 if (addr_type == IPV6_ADDR_ANY) { in ipip6_tunnel_xmit()
489 addr_type = ipv6_addr_type(addr6); in ipip6_tunnel_xmit()
492 if ((addr_type & IPV6_ADDR_COMPATv4) == 0) in ipip6_tunnel_xmit()
Dexthdrs.c208 int addr_type; in ipv6_routing_header() local
282 addr_type = ipv6_addr_type(addr); in ipv6_routing_header()
284 if (addr_type&IPV6_ADDR_MULTICAST) { in ipv6_routing_header()
Dtcp_ipv6.c144 int addr_type = ipv6_addr_type(&sk->net_pinfo.af_inet6.rcv_saddr); in tcp_v6_get_port() local
159 !(ipv6_only_sock(sk2) && addr_type == IPV6_ADDR_MAPPED)) || in tcp_v6_get_port()
160 (addr_type == IPV6_ADDR_ANY && in tcp_v6_get_port()
168 (addr_type == IPV6_ADDR_MAPPED && in tcp_v6_get_port()
559 int addr_type; in tcp_v6_connect() local
589 addr_type = ipv6_addr_type(&usin->sin6_addr); in tcp_v6_connect()
591 if(addr_type & IPV6_ADDR_MULTICAST) in tcp_v6_connect()
594 if (addr_type&IPV6_ADDR_LINKLOCAL) { in tcp_v6_connect()
625 if (addr_type == IPV6_ADDR_MAPPED) { in tcp_v6_connect()
Droute.c722 int addr_type; in ip6_route_add() local
746 addr_type = ipv6_addr_type(&rtmsg->rtmsg_dst); in ip6_route_add()
748 if (addr_type & IPV6_ADDR_MULTICAST) in ip6_route_add()
780 (dev && (dev->flags&IFF_LOOPBACK) && !(addr_type&IPV6_ADDR_LOOPBACK))) { in ip6_route_add()
Daddrconf.c954 int addr_type; in addrconf_prefix_rcv() local
969 addr_type = ipv6_addr_type(&pinfo->prefix); in addrconf_prefix_rcv()
971 if (addr_type & (IPV6_ADDR_MULTICAST|IPV6_ADDR_LINKLOCAL)) in addrconf_prefix_rcv()
1059 addr_type&IPV6_ADDR_SCOPE_MASK, 0); in addrconf_prefix_rcv()
Dmcast.c1142 int addr_type; in igmp6_event_report() local
1159 addr_type = ipv6_addr_type(&skb->nh.ipv6h->saddr); in igmp6_event_report()
1160 if (addr_type != IPV6_ADDR_ANY && in igmp6_event_report()
1161 !(addr_type&IPV6_ADDR_LINKLOCAL)) in igmp6_event_report()
/linux-2.4.37.9/drivers/char/ipmi/
Dipmi_msghandler.c257 if (addr1->addr_type != addr2->addr_type) in ipmi_addr_equal()
263 if (addr1->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_addr_equal()
271 if ((addr1->addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_equal()
272 || (addr1->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE)) in ipmi_addr_equal()
292 if (addr->addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) { in ipmi_validate_addr()
303 if ((addr->addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_validate_addr()
304 || (addr->addr_type == IPMI_IPMB_BROADCAST_ADDR_TYPE)) in ipmi_validate_addr()
315 unsigned int ipmi_addr_length(int addr_type) in ipmi_addr_length() argument
317 if (addr_type == IPMI_SYSTEM_INTERFACE_ADDR_TYPE) in ipmi_addr_length()
320 if ((addr_type == IPMI_IPMB_ADDR_TYPE) in ipmi_addr_length()
[all …]
Dipmi_watchdog.c251 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in i_ipmi_set_timeout()
426 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_heartbeat()
474 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in panic_halt_ipmi_heartbeat()
Dipmi_devintf.c262 addr_len = ipmi_addr_length(msg->addr.addr_type); in ipmi_ioctl()
/linux-2.4.37.9/net/ipv4/
Dip_gre.c713 int addr_type; in ipgre_tunnel_xmit() local
720 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()
722 if (addr_type == IPV6_ADDR_ANY) { in ipgre_tunnel_xmit()
724 addr_type = ipv6_addr_type(addr6); in ipgre_tunnel_xmit()
727 if ((addr_type & IPV6_ADDR_COMPATv4) == 0) in ipgre_tunnel_xmit()
Darp.c705 int addr_type; in arp_process() local
857 addr_type = rt->rt_type; in arp_process()
859 if (addr_type == RTN_LOCAL) { in arp_process()
876 (addr_type == RTN_UNICAST && rt->u.dst.dev != dev && in arp_process()
/linux-2.4.37.9/Documentation/
DIPMI.txt66 int addr_type;
71 The addr_type determines what the address really is. The driver
78 int addr_type;
91 int addr_type;