gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:memcpy from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/if_arp.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/netinet/if_arp.c - 55.2KB - 1,677 lines
735:         ah->ar_op = htons(ARPOP_REQUEST);
736:         memcpy(ar_sha(ah), enaddr, ah->ar_hln);
737:         memcpy(ar_spa(ah), sip, ah->ar_pln);
738:         memcpy(ar_tpa(ah), tip, ah->ar_pln);
739:         sa.sa_family = AF_ARP;
785: sdl->sdl_family == AF_LINK && sdl->sdl_alen != 0) { 786: memcpy(desten, CLLADDR(sdl), 787: min(sdl->sdl_alen, ifp->if_addrlen));
964: 965: memcpy(&isaddr, ar_spa(ah), sizeof (isaddr)); 966: memcpy(&itaddr, ar_tpa(ah), sizeof (itaddr)); 967:
1145: rif->tr_rcf &= htons(~TOKEN_RCF_BROADCAST_MASK); 1146: memcpy(TOKEN_RIF(la), rif, riflen); 1147: }
1180: if (tha) 1181: memcpy(tha, ar_sha(ah), ah->ar_hln); 1182: memcpy(ar_sha(ah), CLLADDR(ifp->if_sadl), ah->ar_hln); 1183: } else {
1192: if (tha) 1193: memcpy(tha, ar_sha(ah), ah->ar_hln); 1194: sdl = satosdl(rt->rt_gateway); 1195: memcpy(ar_sha(ah), CLLADDR(sdl), ah->ar_hln); 1196: } 1197: 1198: memcpy(ar_tpa(ah), ar_spa(ah), ah->ar_pln); 1199: memcpy(ar_spa(ah), &itaddr, ah->ar_pln); 1200: ah->ar_op = htons(ARPOP_REPLY);
1424: goto out; 1425: memcpy(&srv_ip, ar_spa(ah), sizeof(srv_ip)); 1426: memcpy(&myip, ar_tpa(ah), sizeof(myip)); 1427: myip_initialized = 1;
1461: 1462: memcpy(ar_sha(ah), CLLADDR(ifp->if_sadl), ah->ar_hln); 1463: tha = ar_tha(ah);
1465: return; 1466: memcpy(tha, CLLADDR(ifp->if_sadl), ah->ar_hln); 1467:
1500: 1501: memcpy(serv_in, &srv_ip, sizeof(*serv_in)); 1502: memcpy(clnt_in, &myip, sizeof(*clnt_in)); 1503: return 0;