tag | line | file | source code |
atif | 129 | net/appletalk/ddp.c | static atalk_socket *atalk_search_socket(struct sockaddr_at *to, struct atalk_iface *atif) |
atif | 142 | net/appletalk/ddp.c | s->protinfo.af_at.src_net == atif->address.s_net ) |
atif | 336 | net/appletalk/ddp.c | static int atif_probe_device(struct atalk_iface *atif) |
atif | 339 | net/appletalk/ddp.c | int netrange=ntohs(atif->nets.nr_lastnet)-ntohs(atif->nets.nr_firstnet)+1; |
atif | 340 | net/appletalk/ddp.c | int probe_net=ntohs(atif->address.s_net); |
atif | 341 | net/appletalk/ddp.c | int probe_node=atif->address.s_node; |
atif | 353 | net/appletalk/ddp.c | probe_net=ntohs(atif->nets.nr_firstnet); |
atif | 355 | net/appletalk/ddp.c | probe_net=ntohs(atif->nets.nr_firstnet) + (jiffies%netrange); |
atif | 372 | net/appletalk/ddp.c | atif->address.s_net=htons(probe_net); |
atif | 375 | net/appletalk/ddp.c | atif->address.s_node=((nodect+probe_node)&0xFF); |
atif | 376 | net/appletalk/ddp.c | if(atif->address.s_node>0&&atif->address.s_node<254) |
atif | 383 | net/appletalk/ddp.c | aarp_send_probe(atif->dev, &atif->address); |
atif | 390 | net/appletalk/ddp.c | if(atif->status&ATIF_PROBE_FAIL) |
atif | 393 | net/appletalk/ddp.c | if(!(atif->status&ATIF_PROBE_FAIL)) |
atif | 396 | net/appletalk/ddp.c | atif->status&=~ATIF_PROBE_FAIL; |
atif | 399 | net/appletalk/ddp.c | if(probe_net>ntohs(atif->nets.nr_lastnet)) |
atif | 400 | net/appletalk/ddp.c | probe_net=ntohs(atif->nets.nr_firstnet); |
atif | 692 | net/appletalk/ddp.c | struct atalk_iface *atif; |
atif | 708 | net/appletalk/ddp.c | atif=atalk_find_dev(dev); |
atif | 724 | net/appletalk/ddp.c | if(atif) |
atif | 729 | net/appletalk/ddp.c | if(atif->status&ATIF_PROBE) |
atif | 732 | net/appletalk/ddp.c | atif->address.s_net=sa->sat_addr.s_net; |
atif | 733 | net/appletalk/ddp.c | atif->address.s_node=sa->sat_addr.s_node; |
atif | 738 | net/appletalk/ddp.c | atif=atif_add_device(dev, &sa->sat_addr); |
atif | 740 | net/appletalk/ddp.c | atif->nets= *nr; |
atif | 747 | net/appletalk/ddp.c | if(!(dev->flags&IFF_LOOPBACK) && atif_probe_device(atif)<0) |
atif | 760 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
atif | 761 | net/appletalk/ddp.c | sa->sat_addr.s_node=atif->address.s_node; |
atif | 773 | net/appletalk/ddp.c | sa->sat_addr.s_net=atif->address.s_net; |
atif | 794 | net/appletalk/ddp.c | if(atif==NULL) |
atif | 797 | net/appletalk/ddp.c | ((struct sockaddr_at *)(&atreq.ifr_addr))->sat_addr=atif->address; |
atif | 800 | net/appletalk/ddp.c | if(atif==NULL) |
atif | 803 | net/appletalk/ddp.c | ((struct sockaddr_at *)(&atreq.ifr_addr))->sat_addr.s_net=atif->address.s_net; |
atif | 1364 | net/appletalk/ddp.c | struct atalk_iface *atif; |
atif | 1429 | net/appletalk/ddp.c | atif=atalk_find_anynet(ddp->deh_dnode, dev); |
atif | 1431 | net/appletalk/ddp.c | atif=atalk_find_interface(ddp->deh_dnet,ddp->deh_dnode); |
atif | 1434 | net/appletalk/ddp.c | if(atif==NULL) |
atif | 1489 | net/appletalk/ddp.c | sock=atalk_search_socket( &tosat, atif ); |