Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 17 of 17) sorted by relevance

/lib/liblwip/src/netif/ppp/
Dvj.c140 register struct ip_hdr *ip = (struct ip_hdr *)pb->payload; in vj_compress_tcp() local
142 register u_short hlen = IPH_HL(ip); in vj_compress_tcp()
154 if (IPH_PROTO(ip) != IP_PROTO_TCP) { in vj_compress_tcp()
163 if ((IPH_OFFSET(ip) & PP_HTONS(0x3fff)) || pb->tot_len < 40) { in vj_compress_tcp()
166 th = (struct tcp_hdr *)&((long *)ip)[hlen]; in vj_compress_tcp()
178 if (!ip_addr_cmp(&ip->src, &cs->cs_ip.src) in vj_compress_tcp()
179 || !ip_addr_cmp(&ip->dest, &cs->cs_ip.dest) in vj_compress_tcp()
199 if (ip_addr_cmp(&ip->src, &cs->cs_ip.src) in vj_compress_tcp()
200 && ip_addr_cmp(&ip->dest, &cs->cs_ip.dest) in vj_compress_tcp()
258 if (((u_short *)ip)[0] != ((u_short *)&cs->cs_ip)[0] in vj_compress_tcp()
[all …]
Dppp.c1252 get_idle_time(int u, struct ppp_idle *ip) in get_idle_time() argument
1256 LWIP_UNUSED_ARG(ip); in get_idle_time()
/lib/liblwip/src/core/ipv6/
Dip6.c138 IP_STATS_INC(ip.fw); in ip_forward()
139 IP_STATS_INC(ip.xmit); in ip_forward()
169 IP_STATS_INC(ip.recv); in ip_input()
181 IP_STATS_INC(ip.err); in ip_input()
182 IP_STATS_INC(ip.drop); in ip_input()
245 IP_STATS_INC(ip.proterr); in ip_input()
246 IP_STATS_INC(ip.drop); in ip_input()
271 IP_STATS_INC(ip.err); in ip_output_if()
299 IP_STATS_INC(ip.xmit); in ip_output_if()
323 IP_STATS_INC(ip.rterr); in ip_output()
[all …]
/lib/liblwip/src/core/ipv4/
Dip.c148 IP_STATS_INC(ip.rterr); in ip_route()
263 IP_STATS_INC(ip.fw); in ip_forward()
264 IP_STATS_INC(ip.xmit); in ip_forward()
315 IP_STATS_INC(ip.recv);
324 IP_STATS_INC(ip.err);
325 IP_STATS_INC(ip.drop);
358 IP_STATS_INC(ip.lenerr);
359 IP_STATS_INC(ip.drop);
372 IP_STATS_INC(ip.chkerr);
373 IP_STATS_INC(ip.drop);
[all …]
/sys/amd64/
Ddisasm.c1192 const struct inst * ip; in db_disasm() local
1272 ip = &db_inst_table[inst]; in db_disasm()
1273 while (ip->i_size == ESC) { in db_disasm()
1275 ip = ((const struct inst * const *)ip->i_extra)[inst>>4]; in db_disasm()
1276 if (ip == 0) { in db_disasm()
1277 ip = &db_bad_inst; in db_disasm()
1280 ip = &ip[inst&0xf]; in db_disasm()
1284 if (ip->i_has_modrm) { in db_disasm()
1289 i_name = ip->i_name; in db_disasm()
1290 i_size = ip->i_size; in db_disasm()
[all …]
/lib/liblwip/src/include/lwip/
Dsnmp.h124 void snmp_insert_arpidx_tree(struct netif *ni, ip_addr_t *ip);
125 void snmp_delete_arpidx_tree(struct netif *ni, ip_addr_t *ip);
257 #define snmp_insert_arpidx_tree(ni,ip) argument
258 #define snmp_delete_arpidx_tree(ni,ip) argument
Dstats.h124 struct stats_proto ip; member
201 #define IP_STATS_DISPLAY() stats_display_proto(&lwip_stats.ip, "IP")
Dsnmp_structs.h243 void snmp_oidtoip(s32_t *ident, ip_addr_t *ip);
244 void snmp_iptooid(ip_addr_t *ip, s32_t *ident);
Dapi.h141 struct ip_pcb *ip; member
/lib/liblwip/src/core/snmp/
Dmib_structs.c136 snmp_oidtoip(s32_t *ident, ip_addr_t *ip) in snmp_oidtoip() argument
138 IP4_ADDR(ip, ident[0], ident[1], ident[2], ident[3]); in snmp_oidtoip()
147 snmp_iptooid(ip_addr_t *ip, s32_t *ident) in snmp_iptooid() argument
149 ident[0] = ip4_addr1(ip); in snmp_iptooid()
150 ident[1] = ip4_addr2(ip); in snmp_iptooid()
151 ident[2] = ip4_addr3(ip); in snmp_iptooid()
152 ident[3] = ip4_addr4(ip); in snmp_iptooid()
Dmib2.c1089 void snmp_insert_arpidx_tree(struct netif *ni, ip_addr_t *ip) in snmp_insert_arpidx_tree() argument
1098 snmp_iptooid(ip, &arpidx[1]); in snmp_insert_arpidx_tree()
1161 void snmp_delete_arpidx_tree(struct netif *ni, ip_addr_t *ip) in snmp_delete_arpidx_tree() argument
1169 snmp_iptooid(ip, &arpidx[1]); in snmp_delete_arpidx_tree()
2728 ip_addr_t ip; in atentry_get_value() local
2735 snmp_oidtoip(&od->id_inst_ptr[2], &ip); in atentry_get_value()
2738 if (etharp_find_addr(netif, &ip, &ethaddr_ret, &ipaddr_ret) > -1) in atentry_get_value()
3074 ip_addr_t ip; in ip_addrentry_get_value() local
3078 snmp_oidtoip(&od->id_inst_ptr[1], &ip); in ip_addrentry_get_value()
3080 while ((netif != NULL) && !ip_addr_cmp(&ip, &netif->ip_addr)) in ip_addrentry_get_value()
[all …]
/lib/liblwip/src/api/
Dsockets.c852 remote_addr = &sock->conn->pcb.ip->remote_ip;
1694 *(int*)optval = ip_get_option(sock->conn->pcb.ip, optname);
1761 *(int*)optval = sock->conn->pcb.ip->ttl;
1766 *(int*)optval = sock->conn->pcb.ip->tos;
1772 *(u8_t*)optval = sock->conn->pcb.ip->ttl;
2111 ip_set_option(sock->conn->pcb.ip, optname);
2113 ip_reset_option(sock->conn->pcb.ip, optname);
2152 sock->conn->pcb.ip->ttl = (u8_t)(*(int*)optval);
2154 s, sock->conn->pcb.ip->ttl));
2157 sock->conn->pcb.ip->tos = (u8_t)(*(int*)optval);
[all …]
Dapi_msg.c1400 if (msg->conn->pcb.ip != NULL) {
1401 *(msg->msg.ad.ipaddr) = (msg->msg.ad.local ? msg->conn->pcb.ip->local_ip :
1402 msg->conn->pcb.ip->remote_ip);
/lib/liblwip/
DSConscript27 "src/core/ipv4/ip.c",
DCHANGELOG27 * ip.h: implemented API functions to access so_options of IP pcbs (UDP, TCP, RAW)
327 * ip.c, udp.c/.h, pbuf.h, sockets.c: task #10495: Added support for
331 * ip.c: Added an optional define (LWIP_IP_ACCEPT_UDP_PORT) that can allow
371 * ip.c: Inline generating IP checksum to save a function call
431 * ip_addr.h: Improved some defines working on ip addresses, added faster
670 * ip.c: Fixed invalid fix for bug #30402 (CHECKSUM_GEN_IP_INLINE does not
677 * ip.c: Fixed bug #30402: CHECKSUM_GEN_IP_INLINE does not add IP options
757 * netif.c, ipv4/ip.c: task #10241 (AutoIP: don't break existing connections
766 * ipv4/ip.c: Don't try to forward link-local addresses
846 * igmp.c/.h, ip.h: Moved most defines from igmp.h to igmp.c for clarity
[all …]
/lib/liblwip/doc/
Dsnmp_agent.txt154 .mgmt.mib-2.ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress
Drawapi.txt441 must use ip_input() declared in "lwip/ip.h".