gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:memset from t2ex/bsd_source/t2ex/network/net/src_bsd/net/if.c (0.00 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/net/if.c - 61.4KB - 2,117 lines
370:         mask->sdl_len = sockaddr_dl_measure(namelen, 0);
371:         memset(&mask->sdl_data[0], 0xff, namelen);
372:         ifa->ifa_rtrequest = link_rtrequest;
664: /* address family dependent data region */ 665: memset(ifp->if_afdata, 0, sizeof(ifp->if_afdata)); 666: DOMAIN_FOREACH(dp) {
774: */ 775: memset(&so, 0, sizeof(so)); 776:
1503: } 1504: memset(&ifr, 0, sizeof(ifr)); 1505: ifr.ifr_flags = ifp->if_flags;
1672: */ 1673: memset(&ifp->if_data.ifi_ipackets, 0, sizeof(ifp->if_data) - 1674: offsetof(struct if_data, ifi_ipackets));
1918: /* Interface with no addresses - send zero sockaddr. */ 1919: memset(&ifr.ifr_addr, 0, sizeof(ifr.ifr_addr)); 1920: if (ifrp == NULL) {
1972: return EFBIG; 1973: memset(&ifr->ifr_addr, 0, len); 1974: sockaddr_copy(&ifr->ifr_addr, len, sa);