• Home
  • Raw
  • Download

Lines Matching refs:pcb

85     struct udp_pcb *pcb;  member
128 LWIP_STATIC void dhcps_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p,
402 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_discover()
408 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_discover()
428 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &client_ipaddr, DHCP_CLIENT_PORT, netif, &(netif->ip_… in handle_discover()
440 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_discover()
619 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_request()
622 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, IP_ADDR_BROADCAST, DHCP_CLIENT_PORT, netif, &(netif->… in handle_request()
644 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &ip_send, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)); in handle_request()
711 …(void)udp_sendto_if_src(dhcps->pcb, out_msg, &dst_addr, DHCP_CLIENT_PORT, netif, &(netif->ip_addr)… in handle_inform()
758 LWIP_STATIC void dhcps_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *ip_add… in dhcps_recv() argument
780 LWIP_UNUSED_ARG(pcb); in dhcps_recv()
891 dhcps->pcb = udp_new(); in dhcps_start()
892 if (dhcps->pcb == NULL) { in dhcps_start()
900 dhcps->pcb->ifindex = netif->ifindex; in dhcps_start()
921 udp_remove(dhcps->pcb); in dhcps_start()
936 dhcps->pcb->so_options |= SOF_BROADCAST; in dhcps_start()
937 err = udp_bind(dhcps->pcb, IP_ADDR_ANY, DHCP_SERVER_PORT); in dhcps_start()
939 udp_remove(dhcps->pcb); in dhcps_start()
944 err = udp_connect(dhcps->pcb, IP_ADDR_ANY, DHCP_CLIENT_PORT); in dhcps_start()
946 udp_remove(dhcps->pcb); in dhcps_start()
950 udp_recv(dhcps->pcb, dhcps_recv, netif); in dhcps_start()
970 if (dhcps->pcb != NULL) { in dhcps_stop()
972 udp_remove(dhcps->pcb); in dhcps_stop()
973 dhcps->pcb = NULL; in dhcps_stop()