Home | History | Annotate | Download | only in iputils

Lines Matching refs:FROM

376 int recv_pack(unsigned char *buf, int len, struct sockaddr_ll *FROM)
386 if (FROM->sll_pkttype != PACKET_HOST &&
387 FROM->sll_pkttype != PACKET_BROADCAST &&
388 FROM->sll_pkttype != PACKET_MULTICAST)
397 if (ah->ar_hrd != htons(FROM->sll_hatype) &&
398 (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER)))
442 printf("%s ", FROM->sll_pkttype==PACKET_HOST ? "Unicast" : "Broadcast");
443 printf("%s from ", ah->ar_op == htons(ARPOP_REPLY) ? "reply" : "request");
470 if (FROM->sll_pkttype != PACKET_HOST)
1196 printf("from %s %s\n", inet_ntoa(src), device.name ? : "");
1214 struct sockaddr_storage from;
1215 socklen_t alen = sizeof(from);
1219 (struct sockaddr *)&from, &alen)) < 0) {
1228 recv_pack(packet, cc, (struct sockaddr_ll *)&from);