taglinefilesource code
atreq688net/appletalk/ddp.cstruct ifreq atreq;
atreq695net/appletalk/ddp.cint err=verify_area(ro?VERIFY_READ:VERIFY_WRITE, arg,sizeof(atreq));
atreq703net/appletalk/ddp.cmemcpy_fromfs(&atreq,arg,sizeof(atreq));
atreq705net/appletalk/ddp.cif((dev=dev_get(atreq.ifr_name))==NULL)
atreq708net/appletalk/ddp.csa=(struct sockaddr_at*)&atreq.ifr_addr;
atreq797net/appletalk/ddp.c((struct sockaddr_at *)(&atreq.ifr_addr))->sat_family=AF_APPLETALK;
atreq798net/appletalk/ddp.c((struct sockaddr_at *)(&atreq.ifr_addr))->sat_addr=atif->address;
atreq803net/appletalk/ddp.c((struct sockaddr_at *)(&atreq.ifr_addr))->sat_family=AF_APPLETALK;
atreq804net/appletalk/ddp.c((struct sockaddr_at *)(&atreq.ifr_addr))->sat_addr.s_net=atif->address.s_net;
atreq805net/appletalk/ddp.c((struct sockaddr_at *)(&atreq.ifr_addr))->sat_addr.s_node=ATADDR_BCAST;
atreq808net/appletalk/ddp.cmemcpy_tofs(arg,&atreq,sizeof(atreq));