Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 12 of 12) sorted by relevance

/lib/lwip/lwip/src/netif/ppp/
A Ddemand.c156 for (pkt = pend_q; pkt != NULL; pkt = nextpkt) { in demand_discard()
158 free(pkt); in demand_discard()
302 pkt->next = NULL;
305 pend_q = pkt;
308 pend_qtail = pkt;
331 pkt = pend_q;
336 for (; pkt != NULL; pkt = nextpkt) {
414 output(pcb, pkt->data, pkt->length);
415 free(pkt);
418 pend_q = pkt;
[all …]
A Dchap-new.c94 unsigned char *pkt, int len);
101 unsigned char *pkt, int len);
103 unsigned char *pkt, int len);
301 response = pkt;
302 GETCHAR(response_len, pkt);
454 if (len < 2 || len < pkt[0] + 1)
456 clen = pkt[0];
541 GETCHAR(code, pkt);
542 GETCHAR(id, pkt);
543 GETSHORT(len, pkt);
[all …]
A Dipv6cp.c271 static int ipv6_active_pkt(u_char *pkt, int len);
1513 static int ipv6_active_pkt(u_char *pkt, int len) {
1517 pkt += PPP_HDRLEN;
1520 if (get_ip6nh(pkt) == IP6_NHDR_FRAG)
1522 if (get_ip6nh(pkt) != IPPROTO_TCP)
1526 tcp = pkt + IP6_HDRLEN;
A Decp.c94 static int ecp_printpkt (const u_char *pkt, int len,
A Dipcp.c2393 ip_active_pkt(pkt, len) in ip_active_pkt() argument
2394 u_char *pkt; in ip_active_pkt()
2401 pkt += PPP_HDRLEN;
2404 if ((get_ipoff(pkt) & IP_OFFMASK) != 0)
2406 if (get_ipproto(pkt) != IPPROTO_TCP)
2408 hlen = get_iphl(pkt) * 4;
2411 tcp = pkt + hlen;
A Dccp.c173 static void ccp_input(ppp_pcb *pcb, u_char *pkt, int len);
179 static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len);
1660 static void ccp_datainput(ppp_pcb *pcb, u_char *pkt, int len) { in ccp_datainput() argument
1665 LWIP_UNUSED_ARG(pkt); in ccp_datainput()
A Dlcp.c2720 u_char pkt[4], *pktp; in LcpSendEchoRequest() local
2757 pktp = pkt; in LcpSendEchoRequest()
2759 fsm_sdata(f, ECHOREQ, pcb->lcp_echo_number++, pkt, pktp - pkt); in LcpSendEchoRequest()
/lib/lwip/lwip/src/apps/mdns/
A Dmdns.c403 pkt->parse_offset = mdns_readname(pkt->pbuf, pkt->parse_offset, &info->domain); in mdns_read_rr_info()
437 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_question()
478 if (pkt->pbuf->tot_len < pkt->parse_offset) { in mdns_read_answer()
978 pkt->authoritative_left = pkt->authoritative; in mdns_handle_probe_tiebreaking()
1054 pkt->questions_left = pkt->questions; in mdns_handle_probe_tiebreaking()
1055 pkt->authoritative_left = pkt->authoritative; in mdns_handle_probe_tiebreaking()
1138 res = mdns_read_answer(pkt, &ans, &pkt->answers_left); in mdns_parse_pkt_known_answers()
1403 if ((pkt->questions > 0) && (pkt->answers == 0) && in mdns_handle_question()
1404 (pkt->authoritative > 0) && (pkt->additional == 0)) { in mdns_handle_question()
1853 total_answers_left = pkt->answers_left + pkt->authoritative_left + pkt->additional_left; in mdns_handle_response()
[all …]
/lib/lwip/lwip/contrib/ports/unix/port/netif/
A Dpcapif.c66 u8_t pkt[2048]; member
93 ethhdr = (struct eth_hdr *)pcapif->pkt; in timeout()
97 ip_lookup(pcapif->pkt + 14, netif)) { in timeout()
103 pbuf_take(p, pcapif->pkt, pcapif->len); in timeout()
135 callback(u_char *arg, const struct pcap_pkthdr *hdr, const u_char *pkt) in callback() argument
146 bcopy(pkt, pcapif->pkt, hdr->len); in callback()
/lib/lwip/lwip/src/include/netif/ppp/
A Dchap-new.h148 int (*check_success)(ppp_pcb *pcb, unsigned char *pkt, int len, unsigned char *priv);
149 void (*handle_failure)(ppp_pcb *pcb, unsigned char *pkt, int len);
A Dppp_impl.h288 void (*input) (ppp_pcb *pcb, u_char *pkt, int len);
301 int (*printpkt) (const u_char *pkt, int len,
307 void (*datainput) (ppp_pcb *pcb, u_char *pkt, int len);
322 int (*active_pkt) (u_char *pkt, int len);
/lib/efi_loader/
A Defi_net.c774 void efi_net_set_dhcp_ack(void *pkt, int len) in efi_net_set_dhcp_ack() argument
793 memcpy(*dhcp_ack, pkt, min(len, maxsize)); in efi_net_set_dhcp_ack()
815 static void efi_net_push(void *pkt, int len) in efi_net_push() argument
838 memcpy(nt->receive_buffer[rx_packet_next], pkt, len); in efi_net_push()

Completed in 39 milliseconds