/kernel/linux/linux-5.10/net/6lowpan/ |
H A D | iphc.c | 157 lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_802154_lladdr() argument 166 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, eui64); in lowpan_iphc_uncompress_802154_lladdr() 175 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr() 176 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_802154_lladdr() 177 ipaddr->s6_addr[11] = 0xFF; in lowpan_iphc_uncompress_802154_lladdr() 178 ipaddr->s6_addr[12] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr() 179 ieee802154_le16_to_be16(&ipaddr->s6_addr16[7], in lowpan_iphc_uncompress_802154_lladdr() 282 struct in6_addr *ipaddr, in lowpan_iphc_uncompress_lladdr() 287 lowpan_iphc_uncompress_eui48_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr() 290 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, lladd in lowpan_iphc_uncompress_lladdr() 281 lowpan_iphc_uncompress_lladdr(const struct net_device *dev, struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_uncompress_lladdr() argument 303 lowpan_iphc_uncompress_addr(struct sk_buff *skb, const struct net_device *dev, struct in6_addr *ipaddr, u8 address_mode, const void *lladdr) lowpan_iphc_uncompress_addr() argument 363 lowpan_iphc_uncompress_ctx_addr(struct sk_buff *skb, const struct net_device *dev, const struct lowpan_iphc_ctx *ctx, struct in6_addr *ipaddr, u8 address_mode, const void *lladdr) lowpan_iphc_uncompress_ctx_addr() argument 426 lowpan_uncompress_multicast_daddr(struct sk_buff *skb, struct in6_addr *ipaddr, u8 address_mode) lowpan_uncompress_multicast_daddr() argument 479 lowpan_uncompress_multicast_ctx_daddr(struct sk_buff *skb, struct lowpan_iphc_ctx *ctx, struct in6_addr *ipaddr, u8 address_mode) lowpan_uncompress_multicast_ctx_daddr() argument 791 lowpan_iphc_compress_ctx_802154_lladdr(const struct in6_addr *ipaddr, const struct lowpan_iphc_ctx *ctx, const void *lladdr) lowpan_iphc_compress_ctx_802154_lladdr() argument 831 lowpan_iphc_addr_equal(const struct net_device *dev, const struct lowpan_iphc_ctx *ctx, const struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_addr_equal() argument 846 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct net_device *dev, const struct in6_addr *ipaddr, const struct lowpan_iphc_ctx *ctx, const unsigned char *lladdr, bool sam) lowpan_compress_ctx_addr() argument 905 lowpan_iphc_compress_802154_lladdr(const struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_compress_802154_lladdr() argument 944 lowpan_compress_addr_64(u8 **hc_ptr, const struct net_device *dev, const struct in6_addr *ipaddr, const unsigned char *lladdr, bool sam) lowpan_compress_addr_64() argument 1085 lowpan_iphc_mcast_ctx_addr_compress(u8 **hc_ptr, const struct lowpan_iphc_ctx *ctx, const struct in6_addr *ipaddr) lowpan_iphc_mcast_ctx_addr_compress() argument 1100 lowpan_iphc_mcast_addr_compress(u8 **hc_ptr, const struct in6_addr *ipaddr) lowpan_iphc_mcast_addr_compress() argument [all...] |
/kernel/linux/linux-6.6/net/6lowpan/ |
H A D | iphc.c | 157 lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_802154_lladdr() argument 166 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, eui64); in lowpan_iphc_uncompress_802154_lladdr() 175 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr() 176 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_802154_lladdr() 177 ipaddr->s6_addr[11] = 0xFF; in lowpan_iphc_uncompress_802154_lladdr() 178 ipaddr->s6_addr[12] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr() 179 ieee802154_le16_to_be16(&ipaddr->s6_addr16[7], in lowpan_iphc_uncompress_802154_lladdr() 282 struct in6_addr *ipaddr, in lowpan_iphc_uncompress_lladdr() 287 lowpan_iphc_uncompress_eui48_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr() 290 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, lladd in lowpan_iphc_uncompress_lladdr() 281 lowpan_iphc_uncompress_lladdr(const struct net_device *dev, struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_uncompress_lladdr() argument 303 lowpan_iphc_uncompress_addr(struct sk_buff *skb, const struct net_device *dev, struct in6_addr *ipaddr, u8 address_mode, const void *lladdr) lowpan_iphc_uncompress_addr() argument 363 lowpan_iphc_uncompress_ctx_addr(struct sk_buff *skb, const struct net_device *dev, const struct lowpan_iphc_ctx *ctx, struct in6_addr *ipaddr, u8 address_mode, const void *lladdr) lowpan_iphc_uncompress_ctx_addr() argument 426 lowpan_uncompress_multicast_daddr(struct sk_buff *skb, struct in6_addr *ipaddr, u8 address_mode) lowpan_uncompress_multicast_daddr() argument 479 lowpan_uncompress_multicast_ctx_daddr(struct sk_buff *skb, struct lowpan_iphc_ctx *ctx, struct in6_addr *ipaddr, u8 address_mode) lowpan_uncompress_multicast_ctx_daddr() argument 791 lowpan_iphc_compress_ctx_802154_lladdr(const struct in6_addr *ipaddr, const struct lowpan_iphc_ctx *ctx, const void *lladdr) lowpan_iphc_compress_ctx_802154_lladdr() argument 831 lowpan_iphc_addr_equal(const struct net_device *dev, const struct lowpan_iphc_ctx *ctx, const struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_addr_equal() argument 846 lowpan_compress_ctx_addr(u8 **hc_ptr, const struct net_device *dev, const struct in6_addr *ipaddr, const struct lowpan_iphc_ctx *ctx, const unsigned char *lladdr, bool sam) lowpan_compress_ctx_addr() argument 905 lowpan_iphc_compress_802154_lladdr(const struct in6_addr *ipaddr, const void *lladdr) lowpan_iphc_compress_802154_lladdr() argument 944 lowpan_compress_addr_64(u8 **hc_ptr, const struct net_device *dev, const struct in6_addr *ipaddr, const unsigned char *lladdr, bool sam) lowpan_compress_addr_64() argument 1085 lowpan_iphc_mcast_ctx_addr_compress(u8 **hc_ptr, const struct lowpan_iphc_ctx *ctx, const struct in6_addr *ipaddr) lowpan_iphc_mcast_ctx_addr_compress() argument 1100 lowpan_iphc_mcast_addr_compress(u8 **hc_ptr, const struct in6_addr *ipaddr) lowpan_iphc_mcast_addr_compress() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
H A D | qeth.h | 27 __u8 ipaddr[16]; /* for both IPv4 and IPv6 */ member 46 __u8 ipaddr[4]; member 53 __u8 ipaddr[16]; member 59 __u8 ipaddr[4]; member 65 __u8 ipaddr[16]; member 71 __u8 ipaddr[4]; member 77 __u8 ipaddr[16]; member 82 __u8 ipaddr[4]; member 87 __u8 ipaddr[16]; member
|
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/ |
H A D | qeth.h | 27 __u8 ipaddr[16]; /* for both IPv4 and IPv6 */ member 46 __u8 ipaddr[4]; member 53 __u8 ipaddr[16]; member 59 __u8 ipaddr[4]; member 65 __u8 ipaddr[16]; member 71 __u8 ipaddr[4]; member 77 __u8 ipaddr[16]; member 82 __u8 ipaddr[4]; member 87 __u8 ipaddr[16]; member
|
/kernel/linux/linux-5.10/include/net/ |
H A D | 6lowpan.h | 185 static inline void lowpan_iphc_uncompress_eui64_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_eui64_lladdr() argument 192 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui64_lladdr() 193 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui64_lladdr() 194 memcpy(&ipaddr->s6_addr[8], lladdr, EUI64_ADDR_LEN); in lowpan_iphc_uncompress_eui64_lladdr() 198 ipaddr->s6_addr[8] ^= 0x02; in lowpan_iphc_uncompress_eui64_lladdr() 201 static inline void lowpan_iphc_uncompress_eui48_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_eui48_lladdr() argument 208 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui48_lladdr() 209 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui48_lladdr() 210 memcpy(&ipaddr->s6_addr[8], lladdr, 3); in lowpan_iphc_uncompress_eui48_lladdr() 211 ipaddr in lowpan_iphc_uncompress_eui48_lladdr() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | 6lowpan.h | 185 static inline void lowpan_iphc_uncompress_eui64_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_eui64_lladdr() argument 192 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui64_lladdr() 193 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui64_lladdr() 194 memcpy(&ipaddr->s6_addr[8], lladdr, EUI64_ADDR_LEN); in lowpan_iphc_uncompress_eui64_lladdr() 198 ipaddr->s6_addr[8] ^= 0x02; in lowpan_iphc_uncompress_eui64_lladdr() 201 static inline void lowpan_iphc_uncompress_eui48_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_eui48_lladdr() argument 208 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_eui48_lladdr() 209 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_eui48_lladdr() 210 memcpy(&ipaddr->s6_addr[8], lladdr, 3); in lowpan_iphc_uncompress_eui48_lladdr() 211 ipaddr in lowpan_iphc_uncompress_eui48_lladdr() [all...] |
/kernel/liteos_a/net/lwip-2.1/enhancement/include/lwip/ |
H A D | fixme.h | 68 #define ip_addr_ismulticast_val(ipaddr) ((IP_IS_V6_VAL(*ipaddr)) ? \ 69 ip6_addr_ismulticast(ip_2_ip6(ipaddr)) : \ 70 ip4_addr_ismulticast(ip_2_ip4(ipaddr))) 72 #define ip_addr_isbroadcast_val(ipaddr, netif) ((IP_IS_V6_VAL(*ipaddr)) ? \ 74 ip4_addr_isbroadcast(ip_2_ip4(ipaddr), netif)) 105 err_t etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags); 107 err_t etharp_delete_arp_entry(struct netif *netif, ip4_addr_t *ipaddr);
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_core.sh | 78 ipaddr() function 94 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28 97 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28 288 ping_test $h1.10 $(ipaddr 3 10) " from host 1, vlan 10" 289 ping_test $h1.11 $(ipaddr 3 11) " from host 1, vlan 11" 290 ping_test $h2.10 $(ipaddr 3 10) " from host 2, vlan 10" 291 ping_test $h2.11 $(ipaddr 3 11) " from host 2, vlan 11" 349 -A $(ipaddr 2 $vlan) -B $(ipaddr 3 $vlan) \ 440 start_tcp_traffic $h1.$vlan $(ipaddr [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_core.sh | 78 ipaddr() function 94 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28 97 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28 287 ping_test $h1.10 $(ipaddr 3 10) " from host 1, vlan 10" 288 ping_test $h1.11 $(ipaddr 3 11) " from host 1, vlan 11" 289 ping_test $h2.10 $(ipaddr 3 10) " from host 2, vlan 10" 290 ping_test $h2.11 $(ipaddr 3 11) " from host 2, vlan 11" 356 -A $(ipaddr 2 $vlan) -B $(ipaddr 3 $vlan) \ 450 start_tcp_traffic $h1.$vlan $(ipaddr [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | sch_tbf_core.sh | 49 ipaddr() function 65 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28 68 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28 199 ping_test $h1.10 $(ipaddr 2 10) " vlan 10" 200 ping_test $h1.11 $(ipaddr 2 11) " vlan 11" 215 start_traffic $h1.$vlan $(ipaddr 1 $vlan) $(ipaddr 2 $vlan) $h2_mac
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | sch_tbf_core.sh | 49 ipaddr() function 65 vlan_create $dev 10 v$dev $(ipaddr $host 10)/28 68 vlan_create $dev 11 v$dev $(ipaddr $host 11)/28 199 ping_test $h1.10 $(ipaddr 2 10) " vlan 10" 200 ping_test $h1.11 $(ipaddr 2 11) " vlan 11" 215 start_traffic $h1.$vlan $(ipaddr 1 $vlan) $(ipaddr 2 $vlan) $h2_mac
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
H A D | if_ether.h | 69 #define ETHER_MAP_IP_MULTICAST(ipaddr, enaddr) \ 74 (enaddr)[3] = ((uint8_t *)(ipaddr))[1] & 0x7f; \ 75 (enaddr)[4] = ((uint8_t *)(ipaddr))[2]; \ 76 (enaddr)[5] = ((uint8_t *)(ipaddr))[3]; \
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
H A D | fixme.c | 145 static void tcp_unlock_accept(ip6_addr_t *ipaddr) in tcp_unlock_accept() argument 147 (void)ipaddr; in tcp_unlock_accept() 167 ip_addr_t *ipaddr = (ip_addr_t *)arguments; in netif_do_rmv_ipv6_addr() local 169 if (IP_IS_V6(ipaddr)) { in netif_do_rmv_ipv6_addr() 171 tcp_unlock_accept(ip_2_ip6(ipaddr)); in netif_do_rmv_ipv6_addr() 173 netif_ip6_addr_setinvalid(netif, ip_2_ip6(ipaddr)); in netif_do_rmv_ipv6_addr() 184 return netif_do_rmv_ipv6_addr(msg->netif, (void *)msg->msg.add.ipaddr); in netif_do_rmv_ip6_address() 187 void netifapi_netif_rmv_ip6_address(struct netif *netif, ip_addr_t *ipaddr) in netifapi_netif_rmv_ip6_address() argument 197 NETIFAPI_VAR_REF(msg).msg.add.ipaddr = (void *)ipaddr; in netifapi_netif_rmv_ip6_address() 341 etharp_update_arp_entry(struct netif *netif, const ip4_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) global() argument 350 etharp_delete_arp_entry(struct netif *netif, ip4_addr_t *ipaddr) global() argument [all...] |
/kernel/linux/linux-5.10/net/rds/ |
H A D | ib_rdma.c | 50 static struct rds_ib_device *rds_ib_get_device(__be32 ipaddr) in rds_ib_get_device() argument 58 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device() 70 static int rds_ib_add_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_add_ipaddr() argument 78 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr() 87 static void rds_ib_remove_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_remove_ipaddr() argument 95 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_remove_ipaddr() 108 struct in6_addr *ipaddr) in rds_ib_update_ipaddr() 107 rds_ib_update_ipaddr(struct rds_ib_device *rds_ibdev, struct in6_addr *ipaddr) rds_ib_update_ipaddr() argument [all...] |
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_rdma.c | 50 static struct rds_ib_device *rds_ib_get_device(__be32 ipaddr) in rds_ib_get_device() argument 58 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device() 70 static int rds_ib_add_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_add_ipaddr() argument 78 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr() 87 static void rds_ib_remove_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_remove_ipaddr() argument 95 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_remove_ipaddr() 108 struct in6_addr *ipaddr) in rds_ib_update_ipaddr() 107 rds_ib_update_ipaddr(struct rds_ib_device *rds_ibdev, struct in6_addr *ipaddr) rds_ib_update_ipaddr() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | sctp.h | 21 __array(__u8, ipaddr, sizeof(union sctp_addr)) 33 memcpy(__entry->ipaddr, &sp->ipaddr, sizeof(union sctp_addr)); 42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u " 45 __entry->ipaddr, __entry->state, __entry->cwnd,
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | sctp.h | 21 __array(__u8, ipaddr, sizeof(union sctp_addr)) 33 memcpy(__entry->ipaddr, &sp->ipaddr, sizeof(union sctp_addr)); 42 TP_printk("asoc=%#llx%s ipaddr=%pISpc state=%u cwnd=%u ssthresh=%u " 45 __entry->ipaddr, __entry->state, __entry->cwnd,
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | ipsec.c | 43 "sa[%i] %cx ipaddr=0x%08x %08x %08x %08x\n", in nsim_dbg_netdev_ops_read() 44 i, (sap->rx ? 'r' : 't'), sap->ipaddr[0], in nsim_dbg_netdev_ops_read() 45 sap->ipaddr[1], sap->ipaddr[2], sap->ipaddr[3]); in nsim_dbg_netdev_ops_read() 178 memcpy(sa.ipaddr, &xs->id.daddr.a6, 16); in nsim_ipsec_add_sa() 180 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
|
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | ipsec.c | 43 "sa[%i] %cx ipaddr=0x%08x %08x %08x %08x\n", in nsim_dbg_netdev_ops_read() 44 i, (sap->rx ? 'r' : 't'), sap->ipaddr[0], in nsim_dbg_netdev_ops_read() 45 sap->ipaddr[1], sap->ipaddr[2], sap->ipaddr[3]); in nsim_dbg_netdev_ops_read() 183 memcpy(sa.ipaddr, &xs->id.daddr.a6, 16); in nsim_ipsec_add_sa() 185 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.h | 20 __be32 ipaddr[4]; member 30 __be32 ipaddr[4]; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ipsec.h | 20 __be32 ipaddr[4]; member 30 __be32 ipaddr[4]; member
|
/kernel/linux/linux-5.10/net/atm/ |
H A D | mpoa_proc.c | 249 __be32 ipaddr; in parse_qos() local 256 ipaddr = *(__be32 *)ip; in parse_qos() 257 return atm_mpoa_delete_qos(atm_mpoa_search_qos(ipaddr)); in parse_qos() 268 ipaddr = *(__be32 *)ip; in parse_qos() 280 atm_mpoa_add_qos(ipaddr, &qos); in parse_qos()
|
/kernel/linux/linux-6.6/net/atm/ |
H A D | mpoa_proc.c | 249 __be32 ipaddr; in parse_qos() local 256 ipaddr = *(__be32 *)ip; in parse_qos() 257 return atm_mpoa_delete_qos(atm_mpoa_search_qos(ipaddr)); in parse_qos() 268 ipaddr = *(__be32 *)ip; in parse_qos() 280 atm_mpoa_add_qos(ipaddr, &qos); in parse_qos()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.h | 34 __be32 ipaddr[4]; member 45 __be32 ipaddr[4]; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ipsec.h | 34 __be32 ipaddr[4]; member 45 __be32 ipaddr[4]; member
|