Lines Matching refs:buf_ip
366 const guint8 *buf_ip = 0; in gst_pcap_parse_scan_frame() local
395 buf_ip = buf + ETH_HEADER_LEN + ETH_VLAN_HEADER_LEN; in gst_pcap_parse_scan_frame()
397 buf_ip = buf + ETH_HEADER_LEN; in gst_pcap_parse_scan_frame()
405 buf_ip = buf + SLL_HEADER_LEN; in gst_pcap_parse_scan_frame()
412 buf_ip = buf; in gst_pcap_parse_scan_frame()
426 b = *buf_ip; in gst_pcap_parse_scan_frame()
433 if (buf_ip + ip_header_size > buf + buf_size) in gst_pcap_parse_scan_frame()
436 flags = buf_ip[6] >> 5; in gst_pcap_parse_scan_frame()
438 (GUINT16_FROM_BE (*((guint16 *) (buf_ip + 6))) & 0x1fff) * 8; in gst_pcap_parse_scan_frame()
444 ip_protocol = *(buf_ip + 9); in gst_pcap_parse_scan_frame()
451 ip_src_addr = *((guint32 *) (buf_ip + 12)); in gst_pcap_parse_scan_frame()
452 ip_dst_addr = *((guint32 *) (buf_ip + 16)); in gst_pcap_parse_scan_frame()
453 buf_proto = buf_ip + ip_header_size; in gst_pcap_parse_scan_frame()
454 ip_packet_len = GUINT16_FROM_BE (*(guint16 *) (buf_ip + 2)); in gst_pcap_parse_scan_frame()