Home
last modified time | relevance | path

Searched refs:ifrarplen (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c62 size_t physaddrlen, ifrarplen; in doifrevarp() local
110 ifrarplen = sizeof (struct arphdr) + (2 * IPADDRL) + (2 * physaddrlen); in doifrevarp()
127 if (((req = malloc(ifrarplen)) == NULL) || in doifrevarp()
128 ((ans = malloc(ifrarplen)) == NULL)) { in doifrevarp()
136 (void) memset(req, 0, ifrarplen); in doifrevarp()
150 ifrarplen, NULL); in doifrevarp()
160 retval = rarp_recv(dh, ans, ifrarplen, physaddrlen, in doifrevarp()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c99 int ifrarplen; /* size of rarp data packet */ member
435 rdev->ifrarplen = sizeof (struct arphdr) + (2 * sizeof (ipaddr_t)) + in init_rarpdev()
485 size_t anslen = rdev->ifrarplen; in do_rarp()
490 ((ans = malloc(rdev->ifrarplen)) == NULL)) in do_rarp()
519 if (anslen < rdev->ifrarplen) in do_rarp()
625 rdev->ifrarplen); in rarp_request()
638 (void) memcpy(rrp->arprep, rp, rdev->ifrarplen); in rarp_request()
647 rdev->physaddrlen, rrp->arprep, rdev->ifrarplen, NULL); in rarp_request()
737 rdev->ifrarplen); in arp_request()
745 (void) memcpy(rrp->arprep, rp, rdev->ifrarplen); in arp_request()
[all …]