Searched refs:rand_id (Results 1 – 1 of 1) sorted by relevance
424 static int send_ipv4_fragment(struct net_pkt *pkt, uint16_t rand_id, uint16_t fit_len, in send_ipv4_fragment() argument474 memcpy(ipv4_hdr->id, &rand_id, sizeof(rand_id)); in send_ipv4_fragment()542 uint16_t rand_id = sys_rand16_get(); in net_ipv4_send_fragmented_pkt() local544 if (rand_id == 0) { in net_ipv4_send_fragmented_pkt()545 rand_id = 1; in net_ipv4_send_fragmented_pkt()600 ret = send_ipv4_fragment(pkt, rand_id, fit_len, frag_offset, final); in net_ipv4_send_fragmented_pkt()