Lines Matching refs:sockaddr
54 add_addr_to_list(pcap_if_t *curdev, struct sockaddr *addr,
55 struct sockaddr *netmask, struct sockaddr *broadaddr,
56 struct sockaddr *dstaddr, char *errbuf)
72 curaddr->addr = (struct sockaddr*)dup_sockaddr(addr, sizeof(struct sockaddr_storage));
83 curaddr->netmask = (struct sockaddr*)dup_sockaddr(netmask, sizeof(struct sockaddr_storage));
94 curaddr->broadaddr = (struct sockaddr*)dup_sockaddr(broadaddr, sizeof(struct sockaddr_storage));
105 curaddr->dstaddr = (struct sockaddr*)dup_sockaddr(dstaddr, sizeof(struct sockaddr_storage));
193 (struct sockaddr *)&if_addrs[if_addr_size].IPAddress,
194 (struct sockaddr *)&if_addrs[if_addr_size].SubnetMask,
195 (struct sockaddr *)&if_addrs[if_addr_size].Broadcast,