Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 71 of 71) sorted by relevance

/linux-4.4.14/net/ipv4/
Dgre_offload.c128 struct packet_offload *ptype; in gre_gro_receive() local
152 ptype = gro_find_receive_by_type(type); in gre_gro_receive()
153 if (!ptype) in gre_gro_receive()
217 pp = ptype->callbacks.gro_receive(head, skb); in gre_gro_receive()
230 struct packet_offload *ptype; in gre_gro_complete() local
246 ptype = gro_find_complete_by_type(type); in gre_gro_complete()
247 if (ptype) in gre_gro_complete()
248 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); in gre_gro_complete()
Darp.c297 static void arp_send_dst(int type, int ptype, __be32 dest_ip, in arp_send_dst() argument
310 skb = arp_create(type, ptype, dest_ip, dev, src_ip, in arp_send_dst()
319 void arp_send(int type, int ptype, __be32 dest_ip, in arp_send() argument
324 arp_send_dst(type, ptype, dest_ip, dev, src_ip, dest_hw, src_hw, in arp_send()
520 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, in arp_create() argument
553 if (dev_hard_header(skb, dev, ptype, dest_hw, src_hw, skb->len) < 0) in arp_create()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tracefile.c241 char *prefix = "Lustre", *ptype = NULL; in cfs_print_to_console() local
245 ptype = KERN_EMERG; in cfs_print_to_console()
248 ptype = KERN_ERR; in cfs_print_to_console()
251 ptype = KERN_WARNING; in cfs_print_to_console()
254 ptype = KERN_INFO; in cfs_print_to_console()
258 printk("%s%s: %.*s", ptype, prefix, len, buf); in cfs_print_to_console()
260 printk("%s%s: %d:%d:(%s:%d:%s()) %.*s", ptype, prefix, in cfs_print_to_console()
/linux-4.4.14/net/sched/
Dact_gact.c86 if (p_parm->ptype >= MAX_RAND) in tcf_gact_init()
117 gact->tcfg_ptype = p_parm->ptype; in tcf_gact_init()
133 u32 ptype = READ_ONCE(gact->tcfg_ptype); in tcf_gact() local
135 if (ptype) in tcf_gact()
136 action = gact_rand[ptype](gact); in tcf_gact()
167 .ptype = gact->tcfg_ptype, in tcf_gact_dump()
/linux-4.4.14/net/ethernet/
Deth.c402 const struct packet_offload *ptype; in eth_gro_receive() local
431 ptype = gro_find_receive_by_type(type); in eth_gro_receive()
432 if (ptype == NULL) { in eth_gro_receive()
439 pp = ptype->callbacks.gro_receive(head, skb); in eth_gro_receive()
454 struct packet_offload *ptype; in eth_gro_complete() local
461 ptype = gro_find_complete_by_type(type); in eth_gro_complete()
462 if (ptype != NULL) in eth_gro_complete()
463 err = ptype->callbacks.gro_complete(skb, nhoff + in eth_gro_complete()
/linux-4.4.14/include/linux/
Damigaffs.h47 __be32 ptype; member
73 __be32 ptype; member
103 __be32 ptype; member
112 __be32 ptype; member
Dnetdevice.h2025 bool (*id_match)(struct packet_type *ptype,
/linux-4.4.14/kernel/trace/
Dtrace_probe.h205 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ argument
209 .print = PRINT_TYPE_FUNC_NAME(ptype), \
210 .fmt = PRINT_TYPE_FMT_NAME(ptype), \
224 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ argument
225 __ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, #ptype)
/linux-4.4.14/arch/powerpc/perf/
Dpower6-pmu.c141 int pmc, psel, ptype; in power6_marked_instr_event() local
152 ptype = direct_event_is_marked[psel]; in power6_marked_instr_event()
153 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) in power6_marked_instr_event()
155 ptype >>= 4; in power6_marked_instr_event()
156 if (ptype == 0) in power6_marked_instr_event()
158 if (ptype == 1) in power6_marked_instr_event()
161 bit = ptype ^ (pmc - 1); in power6_marked_instr_event()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c218 u8 *ptype) in ixgbe_dcb_unpack_prio() argument
224 ptype[tc] = tc_config[tc].path[direction].prio_type; in ixgbe_dcb_unpack_prio()
269 u8 ptype[MAX_TRAFFIC_CLASS]; in ixgbe_dcb_hw_config() local
280 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); in ixgbe_dcb_hw_config()
286 bwgid, ptype); in ixgbe_dcb_hw_config()
292 bwgid, ptype, prio_tc); in ixgbe_dcb_hw_config()
/linux-4.4.14/net/nfc/
Dllcp_core.c731 u8 ptype = nfc_llcp_ptype(skb); in nfc_llcp_tx_work() local
739 if (ptype == LLCP_PDU_DISC && sk != NULL && in nfc_llcp_tx_work()
746 if (ptype == LLCP_PDU_I) in nfc_llcp_tx_work()
762 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work()
1029 u8 dsap, ssap, ptype, ns, nr; in nfc_llcp_recv_hdlc() local
1031 ptype = nfc_llcp_ptype(skb); in nfc_llcp_recv_hdlc()
1053 if (ptype == LLCP_PDU_I) { in nfc_llcp_recv_hdlc()
1099 if (ptype == LLCP_PDU_RR) in nfc_llcp_recv_hdlc()
1101 else if (ptype == LLCP_PDU_RNR) in nfc_llcp_recv_hdlc()
1104 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) in nfc_llcp_recv_hdlc()
[all …]
Dllcp_commands.c290 u8 dsap, u8 ssap, u8 ptype) in llcp_add_header() argument
294 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); in llcp_add_header()
296 header[0] = (u8)((dsap << 2) | (ptype >> 2)); in llcp_add_header()
297 header[1] = (u8)((ptype << 6) | ssap); in llcp_add_header()
/linux-4.4.14/drivers/isdn/isdnloop/
Disdnloop.h27 int ptype; member
78 int ptype; /* Protocol type (1TR6 or Euro) */ member
Disdnloop.c347 card->ptype = ISDN_PTYPE_1TR6; in isdnloop_polldchan()
353 card->ptype = ISDN_PTYPE_EURO; in isdnloop_polldchan()
547 switch (card->ptype) { in isdnloop_unicause()
683 switch (cc->ptype) { in isdnloop_try_call()
748 switch (card->ptype) { in isdnloop_vstphone()
857 if (card->ptype != ISDN_PTYPE_1TR6) { in isdnloop_parse_cmd()
1078 switch (sdef.ptype) { in isdnloop_start()
1113 sdef.ptype); in isdnloop_start()
1160 while (card->ptype == ISDN_PTYPE_UNKNOWN) in isdnloop_command()
1287 if (card->ptype == ISDN_PTYPE_EURO) { in isdnloop_command()
[all …]
/linux-4.4.14/include/net/
Darp.h40 void arp_send(int type, int ptype, __be32 dest_ip,
47 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
/linux-4.4.14/net/8021q/
Dvlan.c627 const struct packet_offload *ptype; in vlan_gro_receive() local
643 ptype = gro_find_receive_by_type(type); in vlan_gro_receive()
644 if (!ptype) in vlan_gro_receive()
662 pp = ptype->callbacks.gro_receive(head, skb); in vlan_gro_receive()
676 struct packet_offload *ptype; in vlan_gro_complete() local
680 ptype = gro_find_complete_by_type(type); in vlan_gro_complete()
681 if (ptype) in vlan_gro_complete()
682 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(*vhdr)); in vlan_gro_complete()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_prototype.h81 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) in decode_rx_desc_ptype() argument
83 return i40evf_ptype_lookup[ptype]; in decode_rx_desc_ptype()
Di40e_type.h734 u32 ptype:8; member
Di40e_txrx.c916 static inline enum pkt_hash_types i40e_ptype_to_hash(u8 ptype) in i40e_ptype_to_hash() argument
918 struct i40e_rx_ptype_decoded decoded = decode_rx_desc_ptype(ptype); in i40e_ptype_to_hash()
/linux-4.4.14/scripts/kconfig/
Dgconf.c709 enum prop_type ptype; in on_back_clicked() local
712 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; in on_back_clicked()
713 if (ptype != P_MENU) in on_back_clicked()
909 enum prop_type ptype; in on_treeview2_button_press_event() local
910 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in on_treeview2_button_press_event()
912 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { in on_treeview2_button_press_event()
1044 enum prop_type ptype; in fill_row() local
1063 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in fill_row()
1064 switch (ptype) { in fill_row()
1339 enum prop_type ptype; in display_tree() local
[all …]
Dqconf.cc774 enum prop_type ptype; in mouseReleaseEvent() local
795 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in mouseReleaseEvent()
796 if (ptype == P_MENU && rootEntry != menu && in mouseReleaseEvent()
835 enum prop_type ptype; in mouseDoubleClickEvent() local
846 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in mouseDoubleClickEvent()
847 if (ptype == P_MENU && (mode == singleMode || mode == symbolMode)) in mouseDoubleClickEvent()
Dnconf.c750 enum prop_type ptype; in build_conf() local
751 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; in build_conf()
752 switch (ptype) { in build_conf()
/linux-4.4.14/net/core/
Ddev.c1805 struct packet_type *ptype, *pt_prev = *pt; in deliver_ptype_list_skb() local
1807 list_for_each_entry_rcu(ptype, ptype_list, list) { in deliver_ptype_list_skb()
1808 if (ptype->type != type) in deliver_ptype_list_skb()
1812 pt_prev = ptype; in deliver_ptype_list_skb()
1817 static inline bool skb_loop_sk(struct packet_type *ptype, struct sk_buff *skb) in skb_loop_sk() argument
1819 if (!ptype->af_packet_priv || !skb->sk) in skb_loop_sk()
1822 if (ptype->id_match) in skb_loop_sk()
1823 return ptype->id_match(ptype, skb->sk); in skb_loop_sk()
1824 else if ((struct sock *)ptype->af_packet_priv == skb->sk) in skb_loop_sk()
1837 struct packet_type *ptype; in dev_queue_xmit_nit() local
[all …]
/linux-4.4.14/arch/tile/include/arch/
Duart.h283 uint_reg_t ptype : 3; member
288 uint_reg_t ptype : 3;
/linux-4.4.14/drivers/usb/host/
Duhci-debug.c105 char *ptype; in uhci_show_urbp() local
118 case PIPE_ISOCHRONOUS: ptype = "ISO"; break; in uhci_show_urbp()
119 case PIPE_INTERRUPT: ptype = "INT"; break; in uhci_show_urbp()
120 case PIPE_BULK: ptype = "BLK"; break; in uhci_show_urbp()
122 case PIPE_CONTROL: ptype = "CTL"; break; in uhci_show_urbp()
125 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); in uhci_show_urbp()
/linux-4.4.14/crypto/
Dablkcipher.c537 } ptype; in crypto_givcipher_default() local
560 ptype.attr.rta_len = sizeof(ptype); in crypto_givcipher_default()
561 ptype.attr.rta_type = CRYPTOA_TYPE; in crypto_givcipher_default()
562 ptype.data.type = type | CRYPTO_ALG_GENIV; in crypto_givcipher_default()
564 ptype.data.mask = mask | CRYPTO_ALG_GENIV; in crypto_givcipher_default()
565 tb[0] = &ptype.attr; in crypto_givcipher_default()
/linux-4.4.14/include/uapi/linux/tc_act/
Dtc_gact.h18 __u16 ptype; member
/linux-4.4.14/drivers/tty/serial/
Dtilegx.c493 type.ptype = UART_TYPE__PTYPE_VAL_MARK; in tilegx_set_termios()
495 type.ptype = UART_TYPE__PTYPE_VAL_SPACE; in tilegx_set_termios()
497 type.ptype = UART_TYPE__PTYPE_VAL_ODD; in tilegx_set_termios()
499 type.ptype = UART_TYPE__PTYPE_VAL_EVEN; in tilegx_set_termios()
501 type.ptype = UART_TYPE__PTYPE_VAL_NONE; in tilegx_set_termios()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Dusb-urb.c17 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local
22 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
40 switch (ptype) { in usb_urb_complete()
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
Debt_arp.h22 __be16 ptype; member
/linux-4.4.14/net/ax25/
Dax25_in.c187 ax25_address *dev_addr, struct packet_type *ptype) in ax25_rcv() argument
437 struct packet_type *ptype, struct net_device *orig_dev) in ax25_kiss_rcv() argument
453 return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); in ax25_kiss_rcv()
/linux-4.4.14/arch/x86/include/asm/
Dparavirt.h854 #define _PVSITE(ptype, clobbers, ops, word, algn) \ argument
861 .byte ptype; \
896 #define PARA_SITE(ptype, clobbers, ops) _PVSITE(ptype, clobbers, ops, .quad, 8) argument
911 #define PARA_SITE(ptype, clobbers, ops) _PVSITE(ptype, clobbers, ops, .long, 4) argument
/linux-4.4.14/drivers/isdn/act2000/
Dmodule.c283 card->ptype = a ? ISDN_PTYPE_EURO : ISDN_PTYPE_1TR6; in act2000_command()
324 if (card->ptype == ISDN_PTYPE_EURO) in act2000_command()
374 if (card->ptype == ISDN_PTYPE_EURO) { in act2000_command()
377 if (card->ptype == ISDN_PTYPE_1TR6) { in act2000_command()
603 card->ptype = ISDN_PTYPE_EURO; in act2000_alloccard()
Dact2000.h154 u_char ptype; /* Protocol type (1TR6 or Euro) */ member
Dcapi.c212 m->msg.manufacturer_req_net.nettype = (card->ptype == ISDN_PTYPE_EURO) ? 1 : 0; in actcapi_manufacturer_req_net()
215 card->interface.id, (card->ptype == ISDN_PTYPE_EURO) ? "euro" : "1tr6"); in actcapi_manufacturer_req_net()
219 ((card->ptype == ISDN_PTYPE_EURO) ? ISDN_FEATURE_P_EURO : ISDN_FEATURE_P_1TR6); in actcapi_manufacturer_req_net()
700 if (card->ptype == ISDN_PTYPE_EURO) in actcapi_dispatch()
/linux-4.4.14/include/net/irda/
Dirda.h113 struct packet_type *ptype, struct net_device *orig_dev);
/linux-4.4.14/scripts/
Dget_maintainer.pl1004 my $ptype = $1;
1006 if ($ptype eq "S") {
1054 my $ptype = $1;
1056 if ($ptype eq "L") {
1090 } elsif ($ptype eq "M") {
1107 } elsif ($ptype eq "R") {
1124 } elsif ($ptype eq "T") {
1126 } elsif ($ptype eq "W") {
1128 } elsif ($ptype eq "S") {
/linux-4.4.14/tools/perf/util/
Dpython.c38 #define member_def(type, member, ptype, help) \ argument
39 { #member, ptype, \
43 #define sample_member_def(name, member, ptype, help) \ argument
44 { #name, ptype, \
394 PyTypeObject *ptype; in pyrf_event__new() local
402 ptype = pyrf_event__type[event->header.type]; in pyrf_event__new()
403 pevent = PyObject_New(struct pyrf_event, ptype); in pyrf_event__new()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c21 int ptype = usb_pipetype(urb->pipe); in usb_urb_complete() local
27 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", in usb_urb_complete()
48 switch (ptype) { in usb_urb_complete()
/linux-4.4.14/drivers/net/
Dgeneve.c394 const struct packet_offload *ptype; in geneve_gro_receive() local
435 ptype = gro_find_receive_by_type(type); in geneve_gro_receive()
436 if (!ptype) { in geneve_gro_receive()
443 pp = ptype->callbacks.gro_receive(head, skb); in geneve_gro_receive()
457 struct packet_offload *ptype; in geneve_gro_complete() local
469 ptype = gro_find_complete_by_type(type); in geneve_gro_complete()
470 if (ptype) in geneve_gro_complete()
471 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); in geneve_gro_complete()
/linux-4.4.14/fs/affs/
Dinode.c41 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { in affs_iget()
44 AFFS_HEAD(bh)->ptype, block); in affs_iget()
379 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); in affs_add_entry()
Dfile.c133 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); in affs_alloc_extblock()
578 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_extent_file_ofs()
728 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_write_end_ofs()
762 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); in affs_write_end_ofs()
Dsuper.c397 be32_to_cpu(AFFS_ROOT_HEAD(root_bh)->ptype) == T_SHORT && in affs_fill_super()
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-dvb.c116 int ptype = usb_pipetype(purb->pipe); in urb_completion() local
131 if (ptype != PIPE_BULK) { in urb_completion()
133 __func__, ptype); in urb_completion()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c44 static inline bool i40e_rx_is_fcoe(u16 ptype) in i40e_rx_is_fcoe() argument
46 return (ptype >= I40E_RX_PTYPE_L2_FCOE_PAY3) && in i40e_rx_is_fcoe()
47 (ptype <= I40E_RX_PTYPE_L2_FCOE_VFT_FCOTHER); in i40e_rx_is_fcoe()
700 u16 ptype; in i40e_fcoe_handle_offload() local
707 ptype = (qw & I40E_RXD_QW1_PTYPE_MASK) >> I40E_RXD_QW1_PTYPE_SHIFT; in i40e_fcoe_handle_offload()
708 if (!i40e_rx_is_fcoe(ptype)) in i40e_fcoe_handle_offload()
Di40e_prototype.h297 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) in decode_rx_desc_ptype() argument
299 return i40e_ptype_lookup[ptype]; in decode_rx_desc_ptype()
Di40e_type.h747 u32 ptype:8; member
Di40e_txrx.c1443 static inline enum pkt_hash_types i40e_ptype_to_hash(u8 ptype) in i40e_ptype_to_hash() argument
1445 struct i40e_rx_ptype_decoded decoded = decode_rx_desc_ptype(ptype); in i40e_ptype_to_hash()
/linux-4.4.14/net/bridge/netfilter/
Debt_arp.c34 if (info->bitmask & EBT_ARP_PTYPE && FWINV(info->ptype != in ebt_arp_mt()
/linux-4.4.14/net/x25/
Dx25_dev.c100 struct packet_type *ptype, struct net_device *orig_dev) in x25_lapb_receive_frame() argument
/linux-4.4.14/drivers/isdn/icn/
Dicn.c639 card->ptype = ISDN_PTYPE_1TR6; in icn_polldchan()
645 card->ptype = ISDN_PTYPE_EURO; in icn_polldchan()
1271 while (card->ptype == ISDN_PTYPE_UNKNOWN) { in icn_command()
1384 if (card->ptype == ISDN_PTYPE_EURO) { in icn_command()
1400 if (card->ptype == ISDN_PTYPE_EURO) in icn_command()
1542 card->ptype = ISDN_PTYPE_UNKNOWN; in icn_initcard()
Dicn.h148 int ptype; /* Protocol type (1TR6 or Euro) */ member
/linux-4.4.14/net/batman-adv/
Dmain.h202 struct packet_type *ptype,
Dmain.c385 struct packet_type *ptype, in batadv_batman_skb_recv() argument
394 hard_iface = container_of(ptype, struct batadv_hard_iface, in batadv_batman_skb_recv()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_sync.c1101 int ptype; in ip_vs_proc_sync_conn() local
1106 ptype = *(p++); in ip_vs_proc_sync_conn()
1112 switch (ptype & ~IPVS_OPT_F_PARAM) { in ip_vs_proc_sync_conn()
1134 if (!(ptype & IPVS_OPT_F_PARAM)) { in ip_vs_proc_sync_conn()
1136 ptype & ~IPVS_OPT_F_PARAM); in ip_vs_proc_sync_conn()
/linux-4.4.14/drivers/net/can/softing/
Dsofting_fw.c105 static int fw_parse(const uint8_t **pmem, uint16_t *ptype, uint32_t *paddr, in fw_parse() argument
128 *ptype = le16_to_cpup((void *)&mem[0]); in fw_parse()
/linux-4.4.14/drivers/net/wan/
Dlapbether.c89 static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, stru… in lapbeth_rcv() argument
/linux-4.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c2871 static int ocrdma_mbx_get_dcbx_config(struct ocrdma_dev *dev, u32 ptype, in ocrdma_mbx_get_dcbx_config() argument
2901 req->param_type = ptype; in ocrdma_mbx_get_dcbx_config()
2920 static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype, in ocrdma_parse_dcbxcfg_rsp() argument
2940 (ptype > 0 ? "operational" : "admin"), in ocrdma_parse_dcbxcfg_rsp()
3001 int ptype = OCRDMA_PARAMETER_TYPE_OPER; in ocrdma_init_service_level() local
3004 status = ocrdma_mbx_get_dcbx_config(dev, ptype, &dcbxcfg); in ocrdma_init_service_level()
3007 ptype = OCRDMA_PARAMETER_TYPE_ADMIN; in ocrdma_init_service_level()
3011 status = ocrdma_parse_dcbxcfg_rsp(dev, ptype, in ocrdma_init_service_level()
3014 ptype = OCRDMA_PARAMETER_TYPE_ADMIN; in ocrdma_init_service_level()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_ethss.c184 u32 ptype; member
315 u32 ptype; /* NU */ member
500 u32 ptype; member
514 u16 ptype; member
2447 writel(0, GBE_REG_ADDR(gbe_dev, switch_regs, ptype)); in gbe_open()
2802 XGBE_SET_REG_OFS(gbe_dev, switch_regs, ptype); in set_xgbe_ethss10_priv()
2926 GBE_SET_REG_OFS(gbe_dev, switch_regs, ptype); in set_gbe_ethss14_priv()
3014 GBENU_SET_REG_OFS(gbe_dev, switch_regs, ptype); in set_gbenu_ethss_priv()
Dcpsw.c184 u32 ptype; member
1287 __raw_writel(0, &priv->regs->ptype); in cpsw_ndo_open()
/linux-4.4.14/drivers/net/hamradio/
Dbpqether.c178 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct n… in bpq_rcv() argument
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c392 enum iwl_mvm_tcp_packet_type ptype) in iwl_mvm_build_tcp_packet() argument
408 switch (ptype) { in iwl_mvm_build_tcp_packet()
438 switch (ptype) { in iwl_mvm_build_tcp_packet()
471 switch (ptype) { in iwl_mvm_build_tcp_packet()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c519 struct packet_type *ptype, in fcoe_fip_recv() argument
525 fcoe = container_of(ptype, struct fcoe_interface, fip_packet_type); in fcoe_fip_recv()
1429 struct packet_type *ptype, struct net_device *olddev) in fcoe_rcv() argument
1440 fcoe = container_of(ptype, struct fcoe_interface, fcoe_packet_type); in fcoe_rcv()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c407 struct packet_type *ptype, struct net_device *olddev) in bnx2fc_rcv() argument
418 interface = container_of(ptype, struct bnx2fc_interface, in bnx2fc_rcv()
1005 struct packet_type *ptype, in bnx2fc_fip_recv() argument
1010 interface = container_of(ptype, struct bnx2fc_interface, in bnx2fc_fip_recv()
/linux-4.4.14/net/phonet/
Dpep.c57 static unsigned char *pep_get_sb(struct sk_buff *skb, u8 *ptype, u8 *plen, in pep_get_sb() argument
71 *ptype = ph->sb_type; in pep_get_sb()
/linux-4.4.14/drivers/net/fddi/skfp/
Dsmt.c1574 int ptype ; member
1862 if (pd->ptype == type) in smt_swap_para()
/linux-4.4.14/net/irda/
Dirlap_frame.c1286 struct packet_type *ptype, struct net_device *orig_dev) in irlap_driver_rcv() argument
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c3457 int ptype; in niu_process_rx_pkt() local
3459 ptype = (val >> RCR_ENTRY_PKT_TYPE_SHIFT); in niu_process_rx_pkt()
3460 if ((ptype == RCR_PKT_TYPE_TCP || in niu_process_rx_pkt()
3461 ptype == RCR_PKT_TYPE_UDP) && in niu_process_rx_pkt()
9456 union niu_parent_id *id, u8 ptype) in niu_new_parent() argument
9484 p->plat_type = ptype; in niu_new_parent()
9520 union niu_parent_id *id, u8 ptype) in niu_get_parent() argument
9534 p = niu_new_parent(np, id, ptype); in niu_get_parent()
/linux-4.4.14/drivers/scsi/
Dscsi_debug.c4099 module_param_named(ptype, scsi_debug_ptype, int, S_IRUGO | S_IWUSR);
4146 MODULE_PARM_DESC(ptype, "SCSI peripheral type(def=0[disk])");
4352 static DRIVER_ATTR_RW(ptype);
/linux-4.4.14/net/packet/
Daf_packet.c1520 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) in match_fanout_group() argument
1525 return ptype->af_packet_priv == pkt_sk(sk)->fanout; in match_fanout_group()
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt103 networking stack, this is also known as a ptype or packet_type. A typical