Searched refs:net_pkt_remote_address (Results 1 – 2 of 2) sorted by relevance
320 if (!verify_remote_addr(ctx, net_pkt_remote_address(pkt))) { in interface_recv()322 net_pkt_remote_address(pkt)->sa_family == AF_INET6 ? in interface_recv()323 net_sprint_ipv6_addr(&net_sin6(net_pkt_remote_address(pkt))->sin6_addr) : in interface_recv()324 net_sprint_ipv4_addr(&net_sin(net_pkt_remote_address(pkt))->sin_addr)); in interface_recv()
1482 static inline struct sockaddr *net_pkt_remote_address(struct net_pkt *pkt) in net_pkt_remote_address() function