Lines Matching full:inet_pton
182 if (inet_pton(AF_INET6, addr6_src, &ph6.saddr) != 1) in tcp_checksum()
184 if (inet_pton(AF_INET6, addr6_dst, &ph6.daddr) != 1) in tcp_checksum()
191 if (inet_pton(AF_INET, addr4_src, &ph4.saddr) != 1) in tcp_checksum()
192 error(1, errno, "inet_pton source ip pseudo"); in tcp_checksum()
193 if (inet_pton(AF_INET, addr4_dst, &ph4.daddr) != 1) in tcp_checksum()
194 error(1, errno, "inet_pton dest ip pseudo"); in tcp_checksum()
233 if (inet_pton(AF_INET6, addr6_src, &ip6h->saddr) != 1) in fill_networklayer()
234 error(1, errno, "inet_pton source ip6"); in fill_networklayer()
235 if (inet_pton(AF_INET6, addr6_dst, &ip6h->daddr) != 1) in fill_networklayer()
236 error(1, errno, "inet_pton dest ip6"); in fill_networklayer()
247 if (inet_pton(AF_INET, addr4_src, &iph->saddr) != 1) in fill_networklayer()
248 error(1, errno, "inet_pton source ip"); in fill_networklayer()
249 if (inet_pton(AF_INET, addr4_dst, &iph->daddr) != 1) in fill_networklayer()
250 error(1, errno, "inet_pton dest ip"); in fill_networklayer()