Searched refs:addr_type (Results 51 - 75 of 124) sorted by relevance

12345

/linux-master/net/ipv4/
H A Dping.c343 int addr_type, scoped, has_addr; local
355 addr_type = ipv6_addr_type(&addr->sin6_addr);
356 scoped = __ipv6_addr_needs_scope_id(addr_type);
357 if ((addr_type != IPV6_ADDR_ANY &&
358 !(addr_type & IPV6_ADDR_UNICAST)) ||
383 addr_type == IPV6_ADDR_ANY))
H A Dinet_hashtables.c114 tb2->addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr);
117 tb2->addr_type = IPV6_ADDR_MAPPED;
159 if (tb2->addr_type != IPV6_ADDR_MAPPED)
834 if (tb->addr_type == IPV6_ADDR_ANY)
837 if (tb->addr_type != IPV6_ADDR_MAPPED)
H A Droute.c1920 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
1959 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1960 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
1965 } else if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
1966 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2007 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2033 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2059 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2067 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2084 if (keys.control.addr_type
[all...]
H A Dfib_frontend.c569 unsigned int addr_type; local
573 addr_type = inet_addr_type_table(net, addr, cfg->fc_table);
575 addr_type == RTN_UNICAST)
1320 unsigned int addr_type; local
1325 addr_type = inet_addr_type_dev_table(dev_net(dev), dev,
1327 if (gone && addr_type != RTN_LOCAL) {
/linux-master/drivers/i2c/busses/
H A Di2c-npcm7xx.c604 static int npcm_i2c_slave_enable(struct npcm_i2c *bus, enum i2c_addr addr_type, argument
612 if (addr_type == I2C_GC_ADDR) {
620 } else if (addr_type == I2C_ARP_ADDR) {
629 if (addr_type > I2C_SLAVE_ADDR2 && addr_type <= I2C_SLAVE_ADDR10)
632 if (addr_type >= I2C_ARP_ADDR)
636 iowrite8(sa_reg, bus->reg + npcm_i2caddr[addr_type]);
854 static u8 npcm_i2c_get_slave_addr(struct npcm_i2c *bus, enum i2c_addr addr_type) argument
858 if (addr_type > I2C_SLAVE_ADDR2 && addr_type <
[all...]
/linux-master/drivers/net/ipvlan/
H A Dipvlan.h165 int addr_type, bool use_dest);
/linux-master/net/ipv6/
H A Dip6_flowlabel.c381 int addr_type; local
434 addr_type = ipv6_addr_type(&freq->flr_dst);
435 if ((addr_type & IPV6_ADDR_MAPPED) ||
436 addr_type == IPV6_ADDR_ANY) {
H A Dsit.c869 int addr_type; local
891 addr_type = ipv6_addr_type(addr6);
893 if ((addr_type & IPV6_ADDR_UNICAST) &&
920 addr_type = ipv6_addr_type(addr6);
922 if (addr_type == IPV6_ADDR_ANY) {
924 addr_type = ipv6_addr_type(addr6);
927 if ((addr_type & IPV6_ADDR_COMPATv4) != 0)
H A Droute.c2360 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2401 if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
2402 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV4_ADDRS;
2407 } else if (keys.control.addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
2408 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2449 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2476 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2502 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2510 hash_keys.control.addr_type = FLOW_DISSECTOR_KEY_IPV6_ADDRS;
2521 hash_keys.control.addr_type
3508 fib6_is_reject(u32 flags, struct net_device *dev, int addr_type) argument
3526 int addr_type; local
3698 int addr_type; local
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-etm.h156 * @addr_type: current status of the comparator register.
188 u32 addr_type[ETM_MAX_ADDR_CMP]; member in struct:etm_config
H A Dcoresight-etm4x-core.c1423 config->addr_type[comparator] = ETM_ADDR_TYPE_RANGE;
1428 config->addr_type[comparator + 1] = ETM_ADDR_TYPE_RANGE;
1458 config->addr_type[comparator] = type;
1516 if (config->addr_type[index] == ETM_ADDR_TYPE_NONE &&
1517 config->addr_type[index + 1] == ETM_ADDR_TYPE_NONE)
1525 if (config->addr_type[index] == ETM_ADDR_TYPE_NONE)
/linux-master/drivers/net/
H A Dbareudp.c114 int addr_type; local
118 addr_type =
120 if (!(addr_type & IPV6_ADDR_MULTICAST)) {
123 (addr_type & IPV6_ADDR_MULTICAST)) {
/linux-master/include/net/
H A Dflow_dissector.h18 * @addr_type: Type of key. One of FLOW_DISSECTOR_KEY_*
23 u16 addr_type; member in struct:flow_dissector_key_control
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1376 if (enc_control.key->addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1382 } else if (enc_control.key->addr_type ==
1459 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; local
1660 addr_type = match.key->addr_type;
1667 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) {
1675 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) {
/linux-master/net/rds/
H A Dsend.c1156 int addr_type; local
1162 addr_type = ipv6_addr_type(&sin6->sin6_addr);
1163 if (!(addr_type & IPV6_ADDR_UNICAST)) {
1166 if (!(addr_type & IPV6_ADDR_MAPPED)) {
1182 if (addr_type & IPV6_ADDR_LINKLOCAL) {
/linux-master/net/bluetooth/
H A Dhci_debugfs.c133 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type,
675 u8 addr_type; local
679 hci_copy_identity_address(hdev, &addr, &addr_type);
681 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type,
829 &irk->bdaddr, irk->addr_type,
H A Dhci_sync.c2205 u8 addr_type; member in struct:conn_params
2236 irk = hci_find_irk_by_addr(hdev, &params->addr, params->addr_type);
2243 params->addr_type);
2247 cp.bdaddr_type = params->addr_type;
2256 &params->addr, params->addr_type);
2259 &params->addr, params->addr_type);
2292 irk = hci_find_irk_by_addr(hdev, &params->addr, params->addr_type);
2297 cp.bdaddr_type = irk->addr_type;
2322 params->addr_type);
2332 hci_find_irk_by_addr(hdev, &params->addr, params->addr_type))
[all...]
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c100 int addr_type; local
112 addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr);
113 if (likely(addr_type == IPV6_ADDR_ANY))
694 int addr_type; local
696 addr_type = ipv6_addr_type(&sk->sk_v6_rcv_saddr);
697 if (addr_type != IPV6_ADDR_ANY) {
748 int addr_type = 0; local
750 addr_type = ipv6_addr_type((const struct in6_addr *)
752 if (addr_type != IPV6_ADDR_ANY)
/linux-master/net/mac802154/
H A Diface.c76 sa->addr.addr_type = IEEE802154_ADDR_SHORT;
92 sa->addr.addr_type != IEEE802154_ADDR_SHORT ||
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c104 if (IS_ALL_ONES(fm.mask->addr_type))
105 switch (fm.key->addr_type) {
/linux-master/drivers/s390/block/
H A Ddasd_diag.c72 } addr_type; typedef in typeref:union:__anon1588
82 : [cc] "+&d" (cc), [rx] "+&d" (rx.pair), "+m" (*(addr_type *)iob)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dumc_v12_0.c184 addr_in->addr_type = TA_RAS_MCA_TO_PA;
237 addr_in->addr_type = TA_RAS_MCA_TO_PA;
/linux-master/drivers/misc/mei/
H A Dhw.h333 * @addr_type: GSC_ADDRESS_TYPE_{GTT, PPGTT, PHYSICAL_CONTINUOUS, PHYSICAL_SGL}
343 u8 addr_type; member in struct:mei_ext_hdr_gsc_h2f
/linux-master/tools/perf/util/
H A Ddwarf-aux.c1283 u64 addr_offset, u64 addr_type)
1288 if (addr_offset == addr_type) {
1300 if (addr_offset >= addr_type + size)
1304 data->offset = addr_offset - addr_type;
1282 match_var_offset(Dwarf_Die *die_mem, struct find_var_data *data, u64 addr_offset, u64 addr_type) argument
/linux-master/drivers/char/ipmi/
H A Dipmi_watchdog.c400 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE;
492 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE;
564 addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE;

Completed in 314 milliseconds

12345