Searched refs:ptb_pkt (Results 1 – 1 of 1) sorted by relevance
509 struct net_pkt *ptb_pkt; in create_icmpv6_ptb() local514 ptb_pkt = net_pkt_alloc_with_buffer(iface, sizeof(struct net_ipv6_hdr) + in create_icmpv6_ptb()519 if (ptb_pkt == NULL) { in create_icmpv6_ptb()527 ret = net_ipv6_create(ptb_pkt, src6, dest6); in create_icmpv6_ptb()533 ret = net_icmpv6_create(ptb_pkt, NET_ICMPV6_PACKET_TOO_BIG, 0); in create_icmpv6_ptb()541 ret = net_pkt_write(ptb_pkt, &ptb_hdr, sizeof(ptb_hdr)); in create_icmpv6_ptb()547 net_pkt_cursor_init(ptb_pkt); in create_icmpv6_ptb()548 net_ipv6_finalize(ptb_pkt, IPPROTO_ICMPV6); in create_icmpv6_ptb()550 net_pkt_set_iface(ptb_pkt, iface); in create_icmpv6_ptb()552 *pkt = ptb_pkt; in create_icmpv6_ptb()