| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | ppp.c | 586 protocol = PPP_COMP; in ppp_netif_output() 778 u16_t protocol; in ppp_input() local 816 || protocol == PPP_LQR in ppp_input() 819 || protocol == PPP_PAP in ppp_input() 822 || protocol == PPP_CHAP in ppp_input() 825 || protocol == PPP_EAP in ppp_input() 840 if (pcb->settings.require_mppe && protocol != PPP_COMP && protocol < 0x8000) { in ppp_input() 870 protocol = pl[0]; in ppp_input() 879 switch(protocol) { in ppp_input() 933 if (protp->protocol == protocol) { in ppp_input() [all …]
|
| A D | mppe.c | 193 mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol) in mppe_compress() argument 204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_RAM); in mppe_compress() 210 pbuf_remove_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress() 218 pbuf_add_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress() 245 pl[0] = protocol >> 8; in mppe_compress() 246 pl[1] = protocol; in mppe_compress()
|
| A D | demand.c | 135 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_QUEUE); in demand_block() 152 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_ERROR); in demand_discard() 178 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_PASS); in demand_unblock() 456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
|
| A D | auth.c | 753 if (protp->protocol != PPP_LCP in link_established() 947 || protp->protocol == PPP_ECP in start_networks() 950 || protp->protocol == PPP_CCP in start_networks() 979 if (protp->protocol < 0xC000 in continue_networks() 981 && protp->protocol != PPP_CCP in continue_networks() 984 && protp->protocol != PPP_ECP in continue_networks() 1031 void auth_peer_fail(ppp_pcb *pcb, int protocol) { in auth_peer_fail() argument 1032 LWIP_UNUSED_ARG(protocol); in auth_peer_fail() 1053 switch (protocol) { in auth_peer_success() 1118 LWIP_UNUSED_ARG(protocol); in auth_withpeer_fail() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | ppp.c | 578 protocol = PPP_COMP; in ppp_netif_output() 770 u16_t protocol; in ppp_input() local 808 || protocol == PPP_LQR in ppp_input() 811 || protocol == PPP_PAP in ppp_input() 814 || protocol == PPP_CHAP in ppp_input() 817 || protocol == PPP_EAP in ppp_input() 832 if (pcb->settings.require_mppe && protocol != PPP_COMP && protocol < 0x8000) { in ppp_input() 862 protocol = pl[0]; in ppp_input() 871 switch(protocol) { in ppp_input() 925 if (protp->protocol == protocol) { in ppp_input() [all …]
|
| A D | mppe.c | 193 mppe_compress(ppp_pcb *pcb, ppp_mppe_state *state, struct pbuf **pb, u16_t protocol) in mppe_compress() argument 204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_POOL); in mppe_compress() 210 pbuf_header(np, -(s16_t)(MPPE_OVHD + sizeof(protocol))); in mppe_compress() 218 pbuf_header(np, (s16_t)(MPPE_OVHD + sizeof(protocol))); in mppe_compress() 245 pl[0] = protocol >> 8; in mppe_compress() 246 pl[1] = protocol; in mppe_compress()
|
| A D | demand.c | 135 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_QUEUE); in demand_block() 152 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_ERROR); in demand_discard() 178 sifnpmode(pcb, protp->protocol & ~0x8000, NPMODE_PASS); in demand_unblock() 456 if (protp->protocol < 0xC000 && (protp->protocol & ~0x8000) == proto) {
|
| A D | auth.c | 753 if (protp->protocol != PPP_LCP in link_established() 947 || protp->protocol == PPP_ECP in start_networks() 950 || protp->protocol == PPP_CCP in start_networks() 979 if (protp->protocol < 0xC000 in continue_networks() 981 && protp->protocol != PPP_CCP in continue_networks() 984 && protp->protocol != PPP_ECP in continue_networks() 1031 void auth_peer_fail(ppp_pcb *pcb, int protocol) { in auth_peer_fail() argument 1032 LWIP_UNUSED_ARG(protocol); in auth_peer_fail() 1053 switch (protocol) { in auth_peer_success() 1118 LWIP_UNUSED_ARG(protocol); in auth_withpeer_fail() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | auth.c | 422 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL) { in link_down() 425 if (protp->protocol < 0xC000 && protp->close != NULL) { in link_down() 554 if (protp->protocol != PPP_CCP) { in network_phase() 571 auth_peer_fail(int unit, u16_t protocol) in auth_peer_fail() argument 573 LWIP_UNUSED_ARG(protocol); in auth_peer_fail() 588 auth_peer_success(int unit, u16_t protocol, char *name, int namelen) in auth_peer_success() argument 593 switch (protocol) { in auth_peer_success() 627 auth_withpeer_fail(int unit, u16_t protocol) in auth_withpeer_fail() argument 631 LWIP_UNUSED_ARG(protocol); in auth_withpeer_fail() 651 auth_withpeer_success(int unit, u16_t protocol) in auth_withpeer_success() argument [all …]
|
| A D | ppp.c | 770 u_short protocol = PPP_IP; in pppifOutputOverEthernet() local 815 u_short protocol = PPP_IP; in pppifOutput() local 904 c = (protocol >> 8) & 0xFF; in pppifOutput() 908 c = protocol & 0xFF; in pppifOutput() 941 pd, protocol)); in pppifOutput() 1606 u16_t protocol; in pppInput() local 1627 if(!((protocol == PPP_LQR) || (protocol == PPP_PAP) || (protocol == PPP_CHAP)) || in pppInput() 1634 switch(protocol) { in pppInput() 1691 if (protp->protocol == protocol && protp->enabled_flag) { in pppInput() 1707 protocol = htons(protocol); in pppInput() [all …]
|
| /components/net/sal/include/socket/sys_socket/sys/ |
| A D | socket.h | 43 int socket(int domain, int type, int protocol); 46 int socketpair(int domain, int type, int protocol, int *fds); 63 #define socket(domain, type, protocol) sal_socket(domain, type, protocol) 64 #define socketpair(domain, type, protocol, fds) sal_socketpair(domain, type, protocol, f…
|
| /components/drivers/wlan/ |
| A D | Kconfig | 75 bool "Transport protocol manage Enable" 80 int "Transport protocol name length" 84 int "Transport protocol maxcount" 88 string "Default transport protocol" 92 bool "LWIP transport protocol Enable" 98 string "LWIP transport protocol name"
|
| /components/drivers/usb/cherryusb/class/hid/ |
| A D | usbh_hid.h | 20 uint8_t protocol; member 34 int usbh_hid_set_protocol(struct usbh_hid *hid_class, uint8_t protocol); 35 int usbh_hid_get_protocol(struct usbh_hid *hid_class, uint8_t *protocol);
|
| A D | usbh_hid.c | 113 int usbh_hid_set_protocol(struct usbh_hid *hid_class, uint8_t protocol) in usbh_hid_set_protocol() argument 124 setup->wValue = protocol; in usbh_hid_set_protocol() 131 int usbh_hid_get_protocol(struct usbh_hid *hid_class, uint8_t *protocol) in usbh_hid_get_protocol() argument 151 memcpy(protocol, g_hid_buf[hid_class->minor], MIN(ret - 8, 1)); in usbh_hid_get_protocol() 222 hid_class->protocol = p[7]; in usbh_hid_connect()
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | pmap.c | 31 …t(struct sockaddr_in *address, unsigned long program, unsigned long version, unsigned int protocol) in pmap_getport() argument 39 if (protocol == IPPROTO_UDP) in pmap_getport() 48 parms.pm_prot = protocol; in pmap_getport()
|
| /components/net/sal/socket/ |
| A D | net_sockets.c | 631 int socket(int domain, int type, int protocol) in socket() argument 663 socket = sal_socket(domain, type, protocol); in socket() 771 int socketpair(int domain, int type, int protocol, int *fds) in socketpair() argument 776 fds[0] = socket(domain, type, protocol); in socketpair() 783 fds[1] = socket(domain, type, protocol); in socketpair() 795 ret = sal_socketpair(domain, type, protocol, sock_fds); in socketpair()
|
| /components/net/lwip/ |
| A D | Kconfig | 48 bool "IPV6 protocol" 60 bool "IGMP protocol" 64 bool "ICMP protocol" 68 bool "SNMP protocol" 107 bool "UDP protocol" 111 bool "TCP protocol" 115 bool "RAW protocol" 119 bool "PPP protocol" 124 bool "PPPoE protocol" 128 bool "PPPoS protocol"
|
| /components/net/sal/include/ |
| A D | sal_low_lvl.h | 58 int protocol; member 71 int (*socket) (int domain, int type, int protocol); 87 int (*socketpair) (int s, int type, int protocol, int *fds);
|
| /components/legacy/usb/usbhost/class/ |
| A D | adk.c | 58 static rt_err_t rt_usbh_adk_get_protocol(struct uintf* intf, rt_uint16_t *protocol) in rt_usbh_adk_get_protocol() argument 77 if(rt_usb_hcd_control_xfer(device->hcd, device, &setup, (void*)protocol, 2, in rt_usbh_adk_get_protocol() 228 rt_uint16_t protocol; in rt_usbh_adk_enable() local 253 if((ret = rt_usbh_adk_get_protocol(intf, &protocol)) != RT_EOK) in rt_usbh_adk_enable() 259 if(protocol != 1) in rt_usbh_adk_enable()
|
| /components/net/sal/ |
| A D | Kconfig | 15 menu "Docking with protocol stacks" 25 bool "Docking with MbedTLS protocol"
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | raw.c | 93 if ((pcb->protocol == proto) && in raw_input() 267 err = ip_output_if (q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto() 342 pcb->protocol = proto; in raw_new()
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | ppp_impl.h | 157 err_t (*netif_output)(ppp_pcb *pcb, void *ctx, struct pbuf *p, u_short protocol); 282 u_short protocol; /* PPP protocol number */ member 564 void auth_peer_fail(ppp_pcb *pcb, int protocol); 566 void auth_peer_success(ppp_pcb *pcb, int protocol, int prot_flavor, const char *name, int namelen); 569 void auth_withpeer_fail(ppp_pcb *pcb, int protocol); 571 void auth_withpeer_success(ppp_pcb *pcb, int protocol, int prot_flavor);
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | ppp_impl.h | 153 err_t (*netif_output)(ppp_pcb *pcb, void *ctx, struct pbuf *p, u_short protocol); 278 u_short protocol; /* PPP protocol number */ member 563 void auth_peer_fail(ppp_pcb *pcb, int protocol); 565 void auth_peer_success(ppp_pcb *pcb, int protocol, int prot_flavor, const char *name, int namelen); 568 void auth_withpeer_fail(ppp_pcb *pcb, int protocol); 570 void auth_withpeer_success(ppp_pcb *pcb, int protocol, int prot_flavor);
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | raw.c | 160 if ((pcb->protocol == proto) && raw_input_match(pcb, broadcast)) { in raw_input() 375 …u16_t chksum = ip6_chksum_pseudo(p, pcb->protocol, p->tot_len, ip_2_ip6(src_ip), ip_2_ip6(ipaddr)); in raw_sendto() 382 err = ip_output_if(q, src_ip, ipaddr, pcb->ttl, pcb->tos, pcb->protocol, netif); in raw_sendto() 461 pcb->protocol = proto; in raw_new()
|
| /components/net/sal/impl/ |
| A D | af_inet_lwip.c | 175 static int inet_socket(int domain, int type, int protocol) in inet_socket() argument 180 socket = lwip_socket(domain, type, protocol); in inet_socket() 193 return lwip_socket(domain, type, protocol); in inet_socket()
|