Home
last modified time | relevance | path

Searched refs:check_pkt (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/test/unit/dhcp/
Dtest_dhcp.c200 static void check_pkt(struct pbuf *p, u32_t pos, const u8_t *mem, u32_t len) in check_pkt() function
272 check_pkt(p, 0, broadcast, 6); /* eth level dest: broadcast */ in lwip_tx_func()
273 check_pkt(p, 6, netif->hwaddr, 6); /* eth level src: unit mac */ in lwip_tx_func()
275 check_pkt(p, 12, ipproto, sizeof(ipproto)); /* eth level proto: ip */ in lwip_tx_func()
277 check_pkt(p, 42, bootp_start, sizeof(bootp_start)); in lwip_tx_func()
279 check_pkt(p, 53, ipaddrs, sizeof(ipaddrs)); in lwip_tx_func()
281 check_pkt(p, 70, netif->hwaddr, 6); /* mac addr inside bootp */ in lwip_tx_func()
283 check_pkt(p, 278, magic_cookie, sizeof(magic_cookie)); in lwip_tx_func()
304 check_pkt(p, 0, broadcast, 6); /* eth level dest: broadcast */ in lwip_tx_func()
305 check_pkt(p, 6, netif->hwaddr, 6); /* eth level src: unit mac */ in lwip_tx_func()
[all …]
/third_party/ffmpeg/libavformat/
Dmovenc.c5603 static int check_pkt(AVFormatContext *s, AVPacket *pkt) in check_pkt() function
5653 ret = check_pkt(s, pkt); in ff_mov_write_packet()
5982 int ret = check_pkt(s, pkt); in mov_write_single_packet()