protocol 61 arch/arm/include/asm/efi.h #define efi_call_proto(protocol, f, instance, ...) \ protocol 62 arch/arm/include/asm/efi.h ((protocol##_t *)instance)->f(instance, ##__VA_ARGS__) protocol 104 arch/arm64/include/asm/efi.h #define efi_call_proto(protocol, f, instance, ...) \ protocol 105 arch/arm64/include/asm/efi.h ((protocol##_t *)instance)->f(instance, ##__VA_ARGS__) protocol 121 arch/m68k/emu/nfeth.c skb->protocol = eth_type_trans(skb, dev); protocol 337 arch/powerpc/net/bpf_jit_comp.c protocol) != 2); protocol 339 arch/powerpc/net/bpf_jit_comp.c protocol)); protocol 172 arch/powerpc/platforms/ps3/gelic_udbg.c h_ip->protocol = 0x11; protocol 270 arch/s390/include/asm/diag.h u8 protocol:2; protocol 524 arch/sparc/net/bpf_jit_comp_32.c emit_skb_load16(protocol, r_A); protocol 56 arch/um/drivers/daemon_kern.c .protocol = eth_protocol, protocol 96 arch/um/drivers/net_kern.c skb->protocol = (*lp->protocol)(skb); protocol 450 arch/um/drivers/net_kern.c .protocol = transport->kern->protocol, protocol 48 arch/um/drivers/pcap_kern.c .protocol = eth_protocol, protocol 61 arch/um/drivers/slip_kern.c .protocol = slip_protocol, protocol 66 arch/um/drivers/slirp_kern.c .protocol = slirp_protocol, protocol 65 arch/um/drivers/umcast_kern.c .protocol = eth_protocol, protocol 65 arch/um/drivers/vde_kern.c .protocol = eth_protocol, protocol 872 arch/um/drivers/vector_kern.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 993 arch/um/drivers/vector_kern.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 33 arch/um/include/shared/net_kern.h unsigned short (*protocol)(struct sk_buff *); protocol 47 arch/um/include/shared/net_kern.h unsigned short (*protocol)(struct sk_buff *); protocol 61 arch/um/os-Linux/drivers/ethertap_kern.c .protocol = eth_protocol, protocol 51 arch/um/os-Linux/drivers/tuntap_kern.c .protocol = eth_protocol, protocol 229 arch/x86/include/asm/efi.h #define efi_call_proto(protocol, f, instance, ...) \ protocol 230 arch/x86/include/asm/efi.h __efi_early()->call(efi_table_attr(protocol, f, instance), \ protocol 29 arch/x86/xen/platform-pci-unplug.c char protocol; protocol 37 arch/x86/xen/platform-pci-unplug.c protocol = inb(XEN_IOPORT_PROTOVER); protocol 40 arch/x86/xen/platform-pci-unplug.c protocol); protocol 42 arch/x86/xen/platform-pci-unplug.c switch (protocol) { protocol 89 arch/xtensa/platforms/iss/network.c unsigned short (*protocol)(struct sk_buff *skb); protocol 264 arch/xtensa/platforms/iss/network.c lp->tp.protocol = tuntap_protocol; protocol 302 arch/xtensa/platforms/iss/network.c skb->protocol = lp->tp.protocol(skb); protocol 28 block/bsg-lib.c if (hdr->protocol != BSG_PROTOCOL_SCSI || protocol 59 block/bsg.c if (hdr->protocol != BSG_PROTOCOL_SCSI || protocol 361 crypto/af_alg.c static int alg_create(struct net *net, struct socket *sock, int protocol, protocol 369 crypto/af_alg.c if (protocol != 0) protocol 105 drivers/acpi/sbshc.c static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, protocol 125 drivers/acpi/sbshc.c if (!(protocol & 0x01)) { protocol 131 drivers/acpi/sbshc.c smb_hc_write(hc, ACPI_SMB_PROTOCOL, protocol); protocol 137 drivers/acpi/sbshc.c if (ret || !(protocol & 0x01)) protocol 139 drivers/acpi/sbshc.c switch (protocol) { protocol 162 drivers/acpi/sbshc.c int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, protocol 165 drivers/acpi/sbshc.c return acpi_smbus_transaction(hc, protocol, address, command, data, 0); protocol 170 drivers/acpi/sbshc.c int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, protocol 173 drivers/acpi/sbshc.c return acpi_smbus_transaction(hc, protocol, address, command, data, length); protocol 26 drivers/acpi/sbshc.h extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, protocol 28 drivers/acpi/sbshc.h extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address, protocol 217 drivers/ata/acard-ahci.c int is_atapi = ata_is_atapi(qc->tf.protocol); protocol 267 drivers/ata/acard-ahci.c if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && protocol 1631 drivers/ata/libahci.c int is_atapi = ata_is_atapi(qc->tf.protocol); protocol 1997 drivers/ata/libahci.c if (ata_is_ncq(qc->tf.protocol)) protocol 2030 drivers/ata/libahci.c if (qc->tf.protocol == ATA_PROT_PIO && qc->dma_dir == DMA_FROM_DEVICE && protocol 556 drivers/ata/libata-acpi.c tf->protocol = ATA_PROT_NODATA; protocol 650 drivers/ata/libata-core.c tf->protocol = ATA_PROT_PIO; protocol 654 drivers/ata/libata-core.c tf->protocol = ATA_PROT_PIO; protocol 657 drivers/ata/libata-core.c tf->protocol = ATA_PROT_DMA; protocol 751 drivers/ata/libata-core.c tf->protocol = ATA_PROT_NCQ; protocol 1233 drivers/ata/libata-core.c tf.protocol = ATA_PROT_NODATA; protocol 1292 drivers/ata/libata-core.c tf.protocol = ATA_PROT_NODATA; protocol 1599 drivers/ata/libata-core.c if (tf->protocol == ATAPI_PROT_DMA && (dev->flags & ATA_DFLAG_DMADIR) && protocol 1871 drivers/ata/libata-core.c tf.protocol = ATA_PROT_PIO; protocol 2064 drivers/ata/libata-core.c tf.protocol = ATA_PROT_DMA; protocol 2068 drivers/ata/libata-core.c tf.protocol = ATA_PROT_PIO; protocol 4821 drivers/ata/libata-core.c tf.protocol = ATA_PROT_NODATA; protocol 4866 drivers/ata/libata-core.c tf.protocol = ATA_PROT_NODATA; protocol 4907 drivers/ata/libata-core.c tf.protocol = ATA_PROT_NODATA; protocol 4972 drivers/ata/libata-core.c if (ata_is_ncq(qc->tf.protocol)) { protocol 5172 drivers/ata/libata-core.c if (ata_is_ncq(qc->tf.protocol)) { protocol 5209 drivers/ata/libata-core.c if (!ata_is_data(qc->tf.protocol)) protocol 5212 drivers/ata/libata-core.c if ((dev->mwdma_mask || dev->udma_mask) && ata_is_pio(qc->tf.protocol)) protocol 5426 drivers/ata/libata-core.c u8 prot = qc->tf.protocol; protocol 1501 drivers/ata/libata-eh.c tf.protocol = ATAPI_PROT_NODATA; protocol 1546 drivers/ata/libata-eh.c tf.protocol = ATA_PROT_NODATA; protocol 1600 drivers/ata/libata-eh.c tf.protocol = ATAPI_PROT_DMA; protocol 1603 drivers/ata/libata-eh.c tf.protocol = ATAPI_PROT_PIO; protocol 2505 drivers/ata/libata-eh.c switch (qc->tf.protocol) { protocol 2538 drivers/ata/libata-eh.c if (ata_is_atapi(qc->tf.protocol)) { protocol 3096 drivers/ata/libata-eh.c tf.protocol = ATA_PROT_NODATA; protocol 3377 drivers/ata/libata-eh.c tf.protocol = ATA_PROT_NODATA; protocol 47 drivers/ata/libata-pmp.c tf.protocol = ATA_PROT_NODATA; protocol 83 drivers/ata/libata-pmp.c tf.protocol = ATA_PROT_NODATA; protocol 1472 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NODATA; protocol 1557 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NODATA; protocol 1685 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NODATA; protocol 2842 drivers/ata/libata-scsi.c qc->tf.protocol = ATAPI_PROT_DMA; protocol 2845 drivers/ata/libata-scsi.c qc->tf.protocol = ATAPI_PROT_PIO; protocol 3013 drivers/ata/libata-scsi.c qc->tf.protocol = ATAPI_PROT_NODATA; protocol 3015 drivers/ata/libata-scsi.c qc->tf.protocol = ATAPI_PROT_PIO; protocol 3018 drivers/ata/libata-scsi.c qc->tf.protocol = ATAPI_PROT_DMA; protocol 3155 drivers/ata/libata-scsi.c tf->protocol = ata_scsi_map_proto(cdb[1 + cdb_offset]); protocol 3156 drivers/ata/libata-scsi.c if (tf->protocol == ATA_PROT_UNKNOWN) { protocol 3161 drivers/ata/libata-scsi.c if (ata_is_ncq(tf->protocol) && (cdb[2 + cdb_offset] & 0x3) == 0) protocol 3162 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NCQ_NODATA; protocol 3237 drivers/ata/libata-scsi.c if (ata_is_ncq(tf->protocol)) protocol 3250 drivers/ata/libata-scsi.c if (tf->protocol != ATA_PROT_PIO || tf->nsect != 1) { protocol 3316 drivers/ata/libata-scsi.c if (tf->protocol == ATA_PROT_DMA && dev->dma_mode == 0) { protocol 3322 drivers/ata/libata-scsi.c if (ata_is_ncq(tf->protocol) && !ata_ncq_enabled(dev)) { protocol 3515 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NCQ; protocol 3524 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_DMA; protocol 3735 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NCQ; protocol 3745 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_DMA; protocol 3824 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NCQ_NODATA; protocol 3830 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NODATA; protocol 3905 drivers/ata/libata-scsi.c tf->protocol = ATA_PROT_NODATA; protocol 4169 drivers/ata/libata-scsi.c tf->protocol = dma ? ATA_PROT_DMA : ATA_PROT_PIO; protocol 745 drivers/ata/libata-sff.c switch (qc->tf.protocol) { protocol 907 drivers/ata/libata-sff.c if (qc->tf.protocol == ATA_PROT_PIO && protocol 911 drivers/ata/libata-sff.c if (ata_is_atapi(qc->tf.protocol) && protocol 991 drivers/ata/libata-sff.c ap->print_id, qc->tf.protocol, ap->hsm_task_state, status); protocol 1042 drivers/ata/libata-sff.c if (qc->tf.protocol == ATA_PROT_PIO) { protocol 1064 drivers/ata/libata-sff.c if (qc->tf.protocol == ATAPI_PROT_PIO) { protocol 1359 drivers/ata/libata-sff.c switch (qc->tf.protocol) { protocol 1467 drivers/ata/libata-sff.c ap->print_id, qc->tf.protocol, ap->hsm_task_state); protocol 2729 drivers/ata/libata-sff.c if (!ata_is_dma(qc->tf.protocol)) protocol 2736 drivers/ata/libata-sff.c switch (qc->tf.protocol) { protocol 2787 drivers/ata/libata-sff.c if (ap->hsm_task_state == HSM_ST_LAST && ata_is_dma(qc->tf.protocol)) { protocol 2809 drivers/ata/libata-sff.c if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol)) protocol 2861 drivers/ata/libata-sff.c if (qc && ata_is_dma(qc->tf.protocol)) { protocol 2907 drivers/ata/libata-sff.c if (ata_is_dma(qc->tf.protocol)) { protocol 47 drivers/ata/libata-zpodd.c tf.protocol = ATAPI_PROT_NODATA; protocol 75 drivers/ata/libata-zpodd.c tf.protocol = ATAPI_PROT_PIO; protocol 373 drivers/ata/pata_arasan_cf.c if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol)) protocol 692 drivers/ata/pata_arasan_cf.c if (!ata_is_dma(qc->tf.protocol)) protocol 701 drivers/ata/pata_arasan_cf.c switch (qc->tf.protocol) { protocol 631 drivers/ata/pata_octeon_cf.c ap->print_id, qc->tf.protocol, ap->hsm_task_state); protocol 661 drivers/ata/pata_octeon_cf.c if (unlikely(qc->err_mask) && (qc->tf.protocol == ATA_PROT_DMA)) protocol 799 drivers/ata/pata_octeon_cf.c switch (qc->tf.protocol) { protocol 201 drivers/ata/pata_pdc202xx_old.c if ((tf->flags & ATA_TFLAG_LBA48) || tf->protocol == ATAPI_PROT_DMA) { protocol 240 drivers/ata/pata_pdc202xx_old.c if (tf->protocol == ATAPI_PROT_DMA || (tf->flags & ATA_TFLAG_LBA48)) { protocol 308 drivers/ata/pdc_adma.c if (qc->tf.protocol != ATA_PROT_DMA) protocol 391 drivers/ata/pdc_adma.c switch (qc->tf.protocol) { protocol 478 drivers/ata/pdc_adma.c ap->print_id, qc->tf.protocol, status); protocol 276 drivers/ata/sata_dwc_460ex.c static const char *get_prot_descript(u8 protocol) protocol 278 drivers/ata/sata_dwc_460ex.c switch (protocol) { protocol 318 drivers/ata/sata_dwc_460ex.c tf->command, get_prot_descript(tf->protocol), tf->flags, protocol 590 drivers/ata/sata_dwc_460ex.c __func__, get_prot_descript(qc->tf.protocol)); protocol 592 drivers/ata/sata_dwc_460ex.c if (ata_is_dma(qc->tf.protocol)) { protocol 610 drivers/ata/sata_dwc_460ex.c } else if (ata_is_pio(qc->tf.protocol)) { protocol 677 drivers/ata/sata_dwc_460ex.c get_prot_descript(qc->tf.protocol)); protocol 678 drivers/ata/sata_dwc_460ex.c if (ata_is_dma(qc->tf.protocol)) { protocol 762 drivers/ata/sata_dwc_460ex.c get_prot_descript(qc->tf.protocol), protocol 767 drivers/ata/sata_dwc_460ex.c if (ata_is_dma(qc->tf.protocol)) { protocol 800 drivers/ata/sata_dwc_460ex.c qc->tf.command, status, ap->print_id, qc->tf.protocol); protocol 998 drivers/ata/sata_dwc_460ex.c if (ata_is_ncq(qc->tf.protocol)) { protocol 1060 drivers/ata/sata_dwc_460ex.c if (ata_is_ncq(qc->tf.protocol)) { protocol 1083 drivers/ata/sata_dwc_460ex.c qc->hw_tag, get_prot_descript(qc->tf.protocol), protocol 1087 drivers/ata/sata_dwc_460ex.c if (!ata_is_ncq(qc->tf.protocol)) protocol 1090 drivers/ata/sata_dwc_460ex.c if (ata_is_dma(qc->tf.protocol)) { protocol 1098 drivers/ata/sata_dwc_460ex.c if (ata_is_ncq(qc->tf.protocol)) { protocol 526 drivers/ata/sata_fsl.c if (qc->tf.protocol == ATA_PROT_NCQ) { protocol 532 drivers/ata/sata_fsl.c if (ata_is_atapi(qc->tf.protocol)) { protocol 543 drivers/ata/sata_fsl.c if (qc->tf.protocol == ATA_PROT_NCQ) protocol 1222 drivers/ata/sata_fsl.c if (qc && ata_is_atapi(qc->tf.protocol)) { protocol 467 drivers/ata/sata_inic162x.c if (ata_is_dma(qc->tf.protocol)) protocol 487 drivers/ata/sata_inic162x.c bool is_atapi = ata_is_atapi(qc->tf.protocol); protocol 488 drivers/ata/sata_inic162x.c bool is_data = ata_is_data(qc->tf.protocol); protocol 1161 drivers/ata/sata_mv.c struct mv_port_priv *pp, u8 protocol) protocol 1163 drivers/ata/sata_mv.c int want_ncq = (protocol == ATA_PROT_NCQ); protocol 1467 drivers/ata/sata_mv.c if (ata_is_ncq(qc->tf.protocol)) protocol 2043 drivers/ata/sata_mv.c switch (tf->protocol) { protocol 2144 drivers/ata/sata_mv.c if ((tf->protocol != ATA_PROT_DMA) && protocol 2145 drivers/ata/sata_mv.c (tf->protocol != ATA_PROT_NCQ)) protocol 2294 drivers/ata/sata_mv.c switch (qc->tf.protocol) { protocol 2341 drivers/ata/sata_mv.c switch (qc->tf.protocol) { protocol 2350 drivers/ata/sata_mv.c mv_start_edma(ap, port_mmio, pp, qc->tf.protocol); protocol 1341 drivers/ata/sata_nv.c (qc->tf.protocol == ATA_PROT_NODATA)) protocol 1372 drivers/ata/sata_nv.c if (qc->tf.protocol == ATA_PROT_NCQ) protocol 1397 drivers/ata/sata_nv.c int curr_ncq = (qc->tf.protocol == ATA_PROT_NCQ); protocol 1404 drivers/ata/sata_nv.c if (unlikely(qc->tf.protocol == ATA_PROT_NCQ && protocol 1955 drivers/ata/sata_nv.c if (qc->tf.protocol != ATA_PROT_NCQ) { protocol 2031 drivers/ata/sata_nv.c if (qc->tf.protocol != ATA_PROT_NCQ) protocol 499 drivers/ata/sata_promise.c switch (qc->tf.protocol) { protocol 533 drivers/ata/sata_promise.c if (qc->tf.protocol != ATAPI_PROT_DMA) protocol 643 drivers/ata/sata_promise.c switch (qc->tf.protocol) { protocol 893 drivers/ata/sata_promise.c switch (qc->tf.protocol) { protocol 1025 drivers/ata/sata_promise.c switch (qc->tf.protocol) { protocol 1046 drivers/ata/sata_promise.c WARN_ON(tf->protocol == ATA_PROT_DMA || tf->protocol == ATAPI_PROT_DMA); protocol 1053 drivers/ata/sata_promise.c WARN_ON(tf->protocol == ATA_PROT_DMA || tf->protocol == ATAPI_PROT_DMA); protocol 38 drivers/ata/sata_promise.h switch (tf->protocol) { protocol 274 drivers/ata/sata_qstor.c if (qc->tf.protocol != ATA_PROT_DMA) protocol 317 drivers/ata/sata_qstor.c switch (qc->tf.protocol) { protocol 467 drivers/ata/sata_sil.c if (ata_is_dma(qc->tf.protocol)) { protocol 494 drivers/ata/sata_sil.c if (unlikely(qc->err_mask) && ata_is_dma(qc->tf.protocol)) protocol 792 drivers/ata/sata_sil24.c u8 prot = qc->tf.protocol; protocol 844 drivers/ata/sata_sil24.c if (!ata_is_atapi(qc->tf.protocol)) { protocol 847 drivers/ata/sata_sil24.c if (ata_is_data(qc->tf.protocol)) { protocol 850 drivers/ata/sata_sil24.c if (ata_is_ncq(qc->tf.protocol)) protocol 864 drivers/ata/sata_sil24.c if (ata_is_data(qc->tf.protocol)) { protocol 249 drivers/ata/sata_svw.c if (qc->tf.protocol != ATA_PROT_DMA) protocol 293 drivers/ata/sata_svw.c if (qc->tf.protocol == ATA_PROT_DMA) protocol 361 drivers/ata/sata_sx4.c if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) protocol 363 drivers/ata/sata_sx4.c else if (tf->protocol == ATA_PROT_NODATA) protocol 373 drivers/ata/sata_sx4.c if (tf->protocol == ATA_PROT_NODATA) protocol 417 drivers/ata/sata_sx4.c if ((tf->protocol == ATA_PROT_DMA) && (!(tf->flags & ATA_TFLAG_WRITE))) protocol 535 drivers/ata/sata_sx4.c switch (qc->tf.protocol) { protocol 641 drivers/ata/sata_sx4.c if (rw && qc->tf.protocol == ATA_PROT_DMA) { protocol 666 drivers/ata/sata_sx4.c switch (qc->tf.protocol) { protocol 699 drivers/ata/sata_sx4.c if ((qc->tf.protocol == ATA_PROT_DMA) && /* read */ protocol 725 drivers/ata/sata_sx4.c } else if (qc->tf.protocol == ATA_PROT_DMA) { /* write */ protocol 753 drivers/ata/sata_sx4.c } else if (qc->tf.protocol == ATA_PROT_NODATA) { protocol 948 drivers/ata/sata_sx4.c WARN_ON(tf->protocol == ATA_PROT_DMA || protocol 949 drivers/ata/sata_sx4.c tf->protocol == ATAPI_PROT_DMA); protocol 956 drivers/ata/sata_sx4.c WARN_ON(tf->protocol == ATA_PROT_DMA || protocol 957 drivers/ata/sata_sx4.c tf->protocol == ATAPI_PROT_DMA); protocol 128 drivers/atm/iphase.h #define ATM_DESC(skb) (skb->protocol) protocol 129 drivers/atm/iphase.h #define IA_SKB_STATE(skb) (skb->protocol) protocol 72 drivers/block/aoe/aoecmd.c skb->protocol = __constant_htons(ETH_P_AOE); protocol 797 drivers/block/drbd/drbd_main.c p->protocol = cpu_to_be32(nc->wire_protocol); protocol 300 drivers/block/drbd/drbd_protocol.h u32 protocol; protocol 383 drivers/block/drbd/drbd_protocol.h u32 protocol; protocol 3676 drivers/block/drbd/drbd_receiver.c p_proto = be32_to_cpu(p->protocol); protocol 351 drivers/block/paride/paride.c int unit, int protocol, int delay, char *scratch, protocol 357 drivers/block/paride/paride.c s = protocol; protocol 66 drivers/block/paride/paride.h int protocol, /* protocol to use */ protocol 1029 drivers/block/xen-blkback/xenbus.c char protocol[64] = ""; protocol 1041 drivers/block/xen-blkback/xenbus.c "%63s", protocol); protocol 1043 drivers/block/xen-blkback/xenbus.c strcpy(protocol, "unspecified, assuming default"); protocol 1044 drivers/block/xen-blkback/xenbus.c else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_NATIVE)) protocol 1046 drivers/block/xen-blkback/xenbus.c else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_32)) protocol 1048 drivers/block/xen-blkback/xenbus.c else if (0 == strcmp(protocol, XEN_IO_PROTO_ABI_X86_64)) protocol 1051 drivers/block/xen-blkback/xenbus.c xenbus_dev_fatal(dev, err, "unknown fe protocol %s", protocol); protocol 1078 drivers/block/xen-blkback/xenbus.c blkif->nr_rings, blkif->blk_protocol, protocol, protocol 299 drivers/char/ipmi/ipmi_msghandler.c unsigned char protocol; protocol 3273 drivers/char/ipmi/ipmi_msghandler.c intf->wchannels[set].c[0].protocol protocol 3290 drivers/char/ipmi/ipmi_msghandler.c chans[ch].protocol = msg->msg.data[3] & 0x1f; protocol 3358 drivers/char/ipmi/ipmi_msghandler.c intf->wchannels[set].c[0].protocol = IPMI_CHANNEL_PROTOCOL_IPMB; protocol 463 drivers/char/pcmcia/cm4000_cs.c "ptsreq->pts3=0x%.2x\n", (unsigned int)ptsreq->protocol, protocol 470 drivers/char/pcmcia/cm4000_cs.c tmp = ptsreq->protocol; protocol 833 drivers/char/pcmcia/cm4000_cs.c ptsreq.protocol = (0x01 << dev->proto); protocol 4226 drivers/char/pcmcia/synclink_cs.c skb->protocol = hdlc_type_trans(skb, dev); protocol 610 drivers/crypto/bcm/spu2.c enum spu2_proto_sel protocol, protocol 624 drivers/crypto/bcm/spu2.c if (protocol) protocol 625 drivers/crypto/bcm/spu2.c ctrl0 |= (u64)protocol << SPU2_PROTO_SEL_SHIFT; protocol 300 drivers/crypto/chelsio/chtls/chtls.h u8 protocol; protocol 994 drivers/crypto/chelsio/chtls/chtls_cm.c if (skb->protocol) { protocol 336 drivers/crypto/chelsio/chtls/chtls_hw.c kwr->wr.protocol = 0; protocol 521 drivers/firewire/net.c __be16 protocol; protocol 539 drivers/firewire/net.c protocol = eth->h_proto; protocol 543 drivers/firewire/net.c protocol = htons(ETH_P_802_3); protocol 545 drivers/firewire/net.c protocol = htons(ETH_P_802_2); protocol 547 drivers/firewire/net.c skb->protocol = protocol; protocol 995 drivers/firewire/net.c switch (ptask->skb->protocol) { protocol 128 drivers/firmware/arm_scmi/bus.c scmi_device_create(struct device_node *np, struct device *parent, int protocol) protocol 144 drivers/firmware/arm_scmi/bus.c scmi_dev->protocol_id = protocol; protocol 109 drivers/firmware/arm_scmi/common.h int scmi_version_get(const struct scmi_handle *h, u8 protocol, u32 *version); protocol 571 drivers/firmware/arm_scmi/driver.c int scmi_version_get(const struct scmi_handle *handle, u8 protocol, protocol 578 drivers/firmware/arm_scmi/driver.c ret = scmi_xfer_get_init(handle, PROTOCOL_VERSION, protocol, 0, protocol 314 drivers/gpu/drm/i915/display/intel_display_types.h enum hdcp_wired_protocol protocol; protocol 6175 drivers/gpu/drm/i915/display/intel_dp.c .protocol = HDCP_PROTOCOL_DP, protocol 1760 drivers/gpu/drm/i915/display/intel_hdcp.c data->protocol = (u8)shim->protocol; protocol 1715 drivers/gpu/drm/i915/display/intel_hdmi.c .protocol = HDCP_PROTOCOL_HDMI, protocol 87 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c static int vmw_open_channel(struct rpc_channel *channel, unsigned int protocol) protocol 92 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c (protocol | GUESTMSG_FLAG_COOKIE), si, di, protocol 164 drivers/hid/intel-ish-hid/ipc/hw-ish-regs.h #define IPC_BUILD_HEADER(length, protocol, busy) \ protocol 166 drivers/hid/intel-ish-hid/ipc/hw-ish-regs.h ((protocol) << IPC_HEADER_PROTOCOL_OFFSET) | \ protocol 634 drivers/hsi/clients/ssi_protocol.c skb->protocol = htons(ETH_P_PHONET); protocol 977 drivers/hsi/clients/ssi_protocol.c if ((skb->protocol != htons(ETH_P_PHONET)) || protocol 323 drivers/hwtracing/stm/policy.c CONFIGFS_ATTR_RO(stp_policy_, protocol); protocol 194 drivers/i2c/busses/i2c-amd8111.c unsigned char protocol, len, pec, temp[2]; protocol 197 drivers/i2c/busses/i2c-amd8111.c protocol = (read_write == I2C_SMBUS_READ) ? AMD_SMB_PRTCL_READ protocol 203 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_QUICK; protocol 214 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_BYTE; protocol 227 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_BYTE_DATA; protocol 244 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_WORD_DATA | pec; protocol 265 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_BLOCK_DATA | pec; protocol 285 drivers/i2c/busses/i2c-amd8111.c protocol |= AMD_SMB_PRTCL_I2C_BLOCK_DATA; protocol 300 drivers/i2c/busses/i2c-amd8111.c protocol = AMD_SMB_PRTCL_PROC_CALL | pec; protocol 319 drivers/i2c/busses/i2c-amd8111.c protocol = AMD_SMB_PRTCL_BLOCK_PROC_CALL | pec; protocol 331 drivers/i2c/busses/i2c-amd8111.c status = amd_ec_write(smbus, AMD_SMB_PRTCL, protocol); protocol 183 drivers/i2c/busses/i2c-nforce2.c unsigned char protocol, pec; protocol 187 drivers/i2c/busses/i2c-nforce2.c protocol = (read_write == I2C_SMBUS_READ) ? NVIDIA_SMB_PRTCL_READ : protocol 193 drivers/i2c/busses/i2c-nforce2.c protocol |= NVIDIA_SMB_PRTCL_QUICK; protocol 200 drivers/i2c/busses/i2c-nforce2.c protocol |= NVIDIA_SMB_PRTCL_BYTE; protocol 207 drivers/i2c/busses/i2c-nforce2.c protocol |= NVIDIA_SMB_PRTCL_BYTE_DATA; protocol 216 drivers/i2c/busses/i2c-nforce2.c protocol |= NVIDIA_SMB_PRTCL_WORD_DATA | pec; protocol 234 drivers/i2c/busses/i2c-nforce2.c protocol |= NVIDIA_SMB_PRTCL_BLOCK_DATA | pec; protocol 243 drivers/i2c/busses/i2c-nforce2.c outb_p(protocol, NVIDIA_SMB_PRTCL); protocol 87 drivers/i2c/busses/i2c-scmi.c unsigned char protocol; protocol 101 drivers/i2c/busses/i2c-scmi.c protocol = ACPI_SMBUS_PRTCL_QUICK; protocol 112 drivers/i2c/busses/i2c-scmi.c protocol = ACPI_SMBUS_PRTCL_BYTE; protocol 124 drivers/i2c/busses/i2c-scmi.c protocol = ACPI_SMBUS_PRTCL_BYTE_DATA; protocol 134 drivers/i2c/busses/i2c-scmi.c protocol = ACPI_SMBUS_PRTCL_WORD_DATA; protocol 144 drivers/i2c/busses/i2c-scmi.c protocol = ACPI_SMBUS_PRTCL_BLOCK_DATA; protocol 163 drivers/i2c/busses/i2c-scmi.c protocol |= ACPI_SMBUS_PRTCL_READ; protocol 167 drivers/i2c/busses/i2c-scmi.c protocol |= ACPI_SMBUS_PRTCL_WRITE; protocol 174 drivers/i2c/busses/i2c-scmi.c mt_params[0].integer.value = protocol; protocol 244 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, protocol 250 drivers/i2c/busses/i2c-xgene-slimpro.c SLIMPRO_IIC_READ, protocol, addrlen, readlen); protocol 258 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, u32 writelen, protocol 264 drivers/i2c/busses/i2c-xgene-slimpro.c SLIMPRO_IIC_WRITE, protocol, addrlen, writelen); protocol 272 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addrlen, u32 protocol, u32 readlen, protocol 287 drivers/i2c/busses/i2c-xgene-slimpro.c protocol, addrlen, readlen); protocol 304 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, u32 writelen, protocol 321 drivers/i2c/busses/i2c-xgene-slimpro.c protocol, addrlen, writelen); protocol 527 drivers/i2c/i2c-core-smbus.c u8 command, int protocol, union i2c_smbus_data *data) protocol 536 drivers/i2c/i2c-core-smbus.c command, protocol, data); protocol 545 drivers/i2c/i2c-core-smbus.c u8 command, int protocol, union i2c_smbus_data *data) protocol 562 drivers/i2c/i2c-core-smbus.c command, protocol, data); protocol 564 drivers/i2c/i2c-core-smbus.c command, protocol); protocol 581 drivers/i2c/i2c-core-smbus.c command, protocol, data); protocol 598 drivers/i2c/i2c-core-smbus.c command, protocol, data); protocol 603 drivers/i2c/i2c-core-smbus.c command, protocol, data, res); protocol 605 drivers/i2c/i2c-core-smbus.c command, protocol, res); protocol 40 drivers/ide/ide-atapi.c u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; protocol 44 drivers/ide/ide-atapi.c protocol = (gcw[1] & 0xC0) >> 6; protocol 58 drivers/ide/ide-atapi.c if (protocol != 2) protocol 60 drivers/ide/ide-atapi.c s, drive->name, protocol); protocol 561 drivers/ide/ide-atapi.c cmd->protocol = dma ? ATAPI_PROT_DMA : ATAPI_PROT_PIO; protocol 64 drivers/ide/ide-disk.c cmd->protocol = ATA_PROT_DMA; protocol 67 drivers/ide/ide-disk.c cmd->protocol = ATA_PROT_PIO; protocol 454 drivers/ide/ide-disk.c cmd->protocol = ATA_PROT_NODATA; protocol 39 drivers/ide/ide-disk_proc.c cmd.protocol = ATA_PROT_PIO; protocol 210 drivers/ide/ide-io.c cmd.protocol = ATA_PROT_NODATA; protocol 269 drivers/ide/ide-io.c if (cmd->protocol == ATA_PROT_PIO) { protocol 156 drivers/ide/ide-ioctls.c cmd.protocol = args[3] ? ATA_PROT_PIO : ATA_PROT_NODATA; protocol 494 drivers/ide/ide-iops.c if ((cmd->protocol != ATAPI_PROT_DMA && protocol 495 drivers/ide/ide-iops.c cmd->protocol != ATAPI_PROT_PIO) || protocol 85 drivers/ide/ide-park.c cmd.protocol = ATA_PROT_NODATA; protocol 187 drivers/ide/ide-pm.c cmd.protocol = ATA_PROT_NODATA; protocol 71 drivers/ide/ide-taskfile.c cmd.protocol = ATA_PROT_PIO; protocol 89 drivers/ide/ide-taskfile.c if (orig_cmd->protocol == ATA_PROT_PIO && protocol 124 drivers/ide/ide-taskfile.c switch (cmd->protocol) { protocol 305 drivers/ide/ide-taskfile.c if (cmd->protocol == ATA_PROT_PIO && protocol 457 drivers/ide/ide-taskfile.c cmd->protocol = ATA_PROT_NODATA; protocol 571 drivers/ide/ide-taskfile.c cmd.protocol = ATA_PROT_DMA; protocol 585 drivers/ide/ide-taskfile.c cmd.protocol = ATA_PROT_PIO; protocol 604 drivers/ide/ide-taskfile.c cmd.protocol = ATA_PROT_PIO; protocol 612 drivers/ide/ide-taskfile.c cmd.protocol = ATA_PROT_NODATA; protocol 149 drivers/infiniband/core/ud_header.c { STRUCT_FIELD(ip4, protocol), protocol 294 drivers/infiniband/core/ud_header.c iph.protocol = header->ip4.protocol; protocol 377 drivers/infiniband/core/ud_header.c header->ip4.protocol = IPPROTO_UDP; protocol 262 drivers/infiniband/core/uverbs_std_types_flow_action.c esp_attr->keymat.protocol = protocol 271 drivers/infiniband/core/uverbs_std_types_flow_action.c ret = flow_action_esp_keymat_validate[esp_attr->keymat.protocol](&esp_attr->keymat); protocol 279 drivers/infiniband/core/uverbs_std_types_flow_action.c esp_attr->replay.protocol = protocol 289 drivers/infiniband/core/uverbs_std_types_flow_action.c ret = flow_action_esp_replay_validate[esp_attr->replay.protocol](&esp_attr->replay, protocol 1182 drivers/infiniband/hw/bnxt_re/main.c app.protocol = ETH_P_IBOE; protocol 1187 drivers/infiniband/hw/bnxt_re/main.c app.protocol = ROCE_V2_UDP_DPORT; protocol 499 drivers/infiniband/hw/hfi1/vnic_main.c skb->protocol = eth_type_trans(skb, rxq->netdev); protocol 454 drivers/infiniband/hw/i40iw/i40iw_cm.c iph->protocol = IPPROTO_TCP; protocol 3354 drivers/infiniband/hw/mlx4/main.c .protocol = MLX4_PROT_IB_IPV6, protocol 2910 drivers/infiniband/hw/mlx5/main.c ntohs(ib_spec->gre.mask.protocol)); protocol 2912 drivers/infiniband/hw/mlx5/main.c ntohs(ib_spec->gre.val.protocol)); protocol 4217 drivers/infiniband/hw/mlx5/main.c if (attr->keymat->protocol != protocol 6963 drivers/infiniband/hw/mlx5/main.c .protocol = MLX5_INTERFACE_PROTOCOL_IB, protocol 134 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ipv4.protocol = nxthdr; protocol 470 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->ip4.protocol = IPPROTO_UDP; protocol 116 drivers/infiniband/hw/usnic/usnic_fwd.h filter->u.ipv4.protocol = PROTO_UDP; protocol 48 drivers/infiniband/sw/rxe/rxe_icrc.c (skb->protocol == htons(ETH_P_IP) ? protocol 62 drivers/infiniband/sw/rxe/rxe_icrc.c if (skb->protocol == htons(ETH_P_IP)) { /* IPv4 */ protocol 309 drivers/infiniband/sw/rxe/rxe_net.c iph->protocol = proto; protocol 398 drivers/infiniband/sw/rxe/rxe_net.c if (skb->protocol == htons(ETH_P_IP)) protocol 400 drivers/infiniband/sw/rxe/rxe_net.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 434 drivers/infiniband/sw/rxe/rxe_net.c if (skb->protocol == htons(ETH_P_IP)) { protocol 436 drivers/infiniband/sw/rxe/rxe_net.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 439 drivers/infiniband/sw/rxe/rxe_net.c pr_err("Unknown layer 3 protocol: %d\n", skb->protocol); protocol 500 drivers/infiniband/sw/rxe/rxe_net.c skb->protocol = htons(ETH_P_IP); protocol 502 drivers/infiniband/sw/rxe/rxe_net.c skb->protocol = htons(ETH_P_IPV6); protocol 168 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) { protocol 188 drivers/infiniband/sw/rxe/rxe_recv.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 286 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) protocol 289 drivers/infiniband/sw/rxe/rxe_recv.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 337 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IP)) { protocol 395 drivers/infiniband/sw/rxe/rxe_recv.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 398 drivers/infiniband/sw/rxe/rxe_recv.c else if (skb->protocol == htons(ETH_P_IP)) protocol 775 drivers/infiniband/sw/rxe/rxe_resp.c if (skb->protocol == htons(ETH_P_IP)) protocol 777 drivers/infiniband/sw/rxe/rxe_resp.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 897 drivers/infiniband/sw/rxe/rxe_resp.c if (skb->protocol == htons(ETH_P_IP)) protocol 668 drivers/infiniband/ulp/ipoib/ipoib_cm.c skb->protocol = ((struct ipoib_header *) skb->data)->proto; protocol 1442 drivers/infiniband/ulp/ipoib/ipoib_cm.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1447 drivers/infiniband/ulp/ipoib/ipoib_cm.c else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 254 drivers/infiniband/ulp/ipoib/ipoib_ib.c skb->protocol = ((struct ipoib_header *) skb->data)->proto; protocol 429 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c proto = ip_hdr(skb)->protocol; protocol 110 drivers/infiniband/ulp/srpt/ib_dm_mad.h __be16 protocol; protocol 357 drivers/infiniband/ulp/srpt/ib_srpt.c iocp->protocol = cpu_to_be16(SRP_PROTOCOL); protocol 2724 drivers/input/mouse/alps.c const struct alps_protocol_info *protocol) protocol 2730 drivers/input/mouse/alps.c priv->proto_version = protocol->version; protocol 2731 drivers/input/mouse/alps.c priv->byte0 = protocol->byte0; protocol 2732 drivers/input/mouse/alps.c priv->mask0 = protocol->mask0; protocol 2733 drivers/input/mouse/alps.c priv->flags = protocol->flags; protocol 2884 drivers/input/mouse/alps.c const struct alps_protocol_info *protocol; protocol 2912 drivers/input/mouse/alps.c protocol = alps_match_table(e7, ec); protocol 2913 drivers/input/mouse/alps.c if (!protocol) { protocol 2916 drivers/input/mouse/alps.c protocol = &alps_v4_protocol_data; protocol 2919 drivers/input/mouse/alps.c protocol = &alps_v5_protocol_data; protocol 2922 drivers/input/mouse/alps.c protocol = &alps_v7_protocol_data; protocol 2924 drivers/input/mouse/alps.c protocol = &alps_v3_rushmore_data; protocol 2927 drivers/input/mouse/alps.c protocol = &alps_v3_protocol_data; protocol 2930 drivers/input/mouse/alps.c protocol = &alps_v8_protocol_data; protocol 2932 drivers/input/mouse/alps.c protocol = &alps_v9_protocol_data; protocol 2948 drivers/input/mouse/alps.c error = alps_set_protocol(psmouse, priv, protocol); protocol 81 drivers/input/mouse/psmouse-base.c PSMOUSE_DEFINE_ATTR(protocol, S_IWUSR | S_IRUGO, protocol 160 drivers/input/mouse/psmouse-base.c switch (psmouse->protocol->type) { protocol 348 drivers/input/mouse/psmouse-base.c !psmouse->protocol->ignore_parity))) { protocol 397 drivers/input/mouse/psmouse-base.c (psmouse->protocol->type == PSMOUSE_HGPK && protocol 981 drivers/input/mouse/psmouse-base.c psmouse->protocol = &psmouse_protocols[0]; protocol 1546 drivers/input/mouse/psmouse-base.c psmouse->protocol = selected_proto; protocol 1572 drivers/input/mouse/psmouse-base.c input_dev->id.product = psmouse->protocol->type; protocol 1634 drivers/input/mouse/psmouse-base.c if (!psmouse->protocol->smbus_companion) { protocol 1658 drivers/input/mouse/psmouse-base.c if (!psmouse->protocol->smbus_companion) protocol 1729 drivers/input/mouse/psmouse-base.c if (psmouse->protocol->type != type) protocol 1737 drivers/input/mouse/psmouse-base.c if (!psmouse->protocol->smbus_companion) { protocol 1749 drivers/input/mouse/psmouse-base.c if (!psmouse->protocol->smbus_companion) protocol 1813 drivers/input/mouse/psmouse-base.c if (psmouse->protocol->smbus_companion && protocol 1834 drivers/input/mouse/psmouse-base.c if (psmouse->protocol->smbus_companion && protocol 1851 drivers/input/mouse/psmouse-base.c if (!psmouse->protocol->smbus_companion) protocol 1858 drivers/input/mouse/psmouse-base.c if (retval != -ENODEV && !psmouse->protocol->smbus_companion) protocol 1895 drivers/input/mouse/psmouse-base.c return sprintf(buf, "%s\n", psmouse->protocol->name); protocol 1911 drivers/input/mouse/psmouse-base.c if (psmouse->protocol == proto) protocol 1935 drivers/input/mouse/psmouse-base.c if (psmouse->protocol == proto) { protocol 1948 drivers/input/mouse/psmouse-base.c old_proto = psmouse->protocol; protocol 1967 drivers/input/mouse/psmouse-base.c if (psmouse->protocol->smbus_companion) { protocol 96 drivers/input/mouse/psmouse.h const struct psmouse_protocol *protocol; protocol 336 drivers/isdn/hardware/mISDN/avmfritz.c modehdlc(struct bchannel *bch, int protocol) protocol 344 drivers/isdn/hardware/mISDN/avmfritz.c '@' + bch->nr, bch->state, protocol, bch->nr); protocol 348 drivers/isdn/hardware/mISDN/avmfritz.c switch (protocol) { protocol 363 drivers/isdn/hardware/mISDN/avmfritz.c bch->state = protocol; protocol 373 drivers/isdn/hardware/mISDN/avmfritz.c bch->state = protocol; protocol 383 drivers/isdn/hardware/mISDN/avmfritz.c pr_info("%s: protocol not known %x\n", fc->name, protocol); protocol 701 drivers/isdn/hardware/mISDN/avmfritz.c ret = modehdlc(bch, ch->protocol); protocol 852 drivers/isdn/hardware/mISDN/avmfritz.c ch->protocol = ISDN_P_NONE; protocol 901 drivers/isdn/hardware/mISDN/avmfritz.c if (rq->protocol == ISDN_P_NONE) protocol 906 drivers/isdn/hardware/mISDN/avmfritz.c bch->ch.protocol = rq->protocol; protocol 927 drivers/isdn/hardware/mISDN/avmfritz.c if (rq->protocol == ISDN_P_TE_S0) protocol 50 drivers/isdn/hardware/mISDN/hfc_multi.h u_int protocol; /* current protocol */ protocol 849 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != ISDN_P_B_RAW) protocol 882 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != ISDN_P_B_RAW) protocol 1671 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_S0) protocol 1735 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_S0) protocol 1782 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_S0) protocol 1969 drivers/isdn/hardware/mISDN/hfcmulti.c (hc->chan[ch].protocol == ISDN_P_B_RAW) && protocol 2204 drivers/isdn/hardware/mISDN/hfcmulti.c (hc->chan[ch].protocol == ISDN_P_B_RAW) && protocol 2592 drivers/isdn/hardware/mISDN/hfcmulti.c dch->dev.D.protocol == ISDN_P_TE_S0) { protocol 2601 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_S0) protocol 2859 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx, protocol 2876 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, hc->id, ch, protocol, oslot_tx, slot_tx, protocol 2975 drivers/isdn/hardware/mISDN/hfcmulti.c switch (protocol) { protocol 3037 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != protocol) { protocol 3060 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != protocol) { protocol 3082 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != protocol) { protocol 3100 drivers/isdn/hardware/mISDN/hfcmulti.c if (hc->chan[ch].protocol != protocol) { protocol 3164 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, protocol); protocol 3165 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[ch].protocol = ISDN_P_NONE; protocol 3168 drivers/isdn/hardware/mISDN/hfcmulti.c hc->chan[ch].protocol = protocol; protocol 3183 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(hc, ch, hc->chan[ch].protocol, -1, 0, -1, 0); protocol 3188 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(hc, ch, hc->chan[ch].protocol, slot_tx, bank_tx, protocol 3203 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(hc, ch, hc->chan[ch].protocol, hc->chan[ch].slot_tx, protocol 3354 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol != ISDN_P_TE_S0) { protocol 3388 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol != ISDN_P_TE_S0) { protocol 3486 drivers/isdn/hardware/mISDN/hfcmulti.c ch->protocol, protocol 3492 drivers/isdn/hardware/mISDN/hfcmulti.c if (ch->protocol == ISDN_P_B_RAW && !hc->dtmf protocol 3695 drivers/isdn/hardware/mISDN/hfcmulti.c ch->protocol = ISDN_P_NONE; protocol 3731 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_TE_E1) { protocol 3769 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_TE_S0) { protocol 3864 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(hc, dch->slot, dch->dev.D.protocol, protocol 3905 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_E1) { protocol 3971 drivers/isdn/hardware/mISDN/hfcmulti.c mode_hfcmulti(hc, i, dch->dev.D.protocol, -1, 0, -1, 0); protocol 3985 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_NT_S0) { protocol 4014 drivers/isdn/hardware/mISDN/hfcmulti.c if ((dch->dev.D.protocol == ISDN_P_NT_S0) || protocol 4050 drivers/isdn/hardware/mISDN/hfcmulti.c if (rq->protocol == ISDN_P_NONE) protocol 4052 drivers/isdn/hardware/mISDN/hfcmulti.c if ((dch->dev.D.protocol != ISDN_P_NONE) && protocol 4053 drivers/isdn/hardware/mISDN/hfcmulti.c (dch->dev.D.protocol != rq->protocol)) { protocol 4056 drivers/isdn/hardware/mISDN/hfcmulti.c __func__, dch->dev.D.protocol, rq->protocol); protocol 4058 drivers/isdn/hardware/mISDN/hfcmulti.c if ((dch->dev.D.protocol == ISDN_P_TE_S0) && protocol 4059 drivers/isdn/hardware/mISDN/hfcmulti.c (rq->protocol != ISDN_P_TE_S0)) protocol 4061 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol != rq->protocol) { protocol 4062 drivers/isdn/hardware/mISDN/hfcmulti.c if (rq->protocol == ISDN_P_TE_S0) { protocol 4067 drivers/isdn/hardware/mISDN/hfcmulti.c dch->dev.D.protocol = rq->protocol; protocol 4090 drivers/isdn/hardware/mISDN/hfcmulti.c if (rq->protocol == ISDN_P_NONE) protocol 4104 drivers/isdn/hardware/mISDN/hfcmulti.c bch->ch.protocol = rq->protocol; protocol 4182 drivers/isdn/hardware/mISDN/hfcmulti.c switch (rq->protocol) { protocol 4536 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol == ISDN_P_TE_S0) protocol 4930 drivers/isdn/hardware/mISDN/hfcmulti.c if (dch->dev.D.protocol != ISDN_P_TE_S0) { protocol 96 drivers/isdn/hardware/mISDN/hfcpci.c unsigned char protocol; protocol 171 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_NT_S0) { protocol 1037 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_NT_S0) { protocol 1179 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_NT_S0) { protocol 1237 drivers/isdn/hardware/mISDN/hfcpci.c mode_hfcpci(struct bchannel *bch, int bc, int protocol) protocol 1246 drivers/isdn/hardware/mISDN/hfcpci.c bch->state, protocol, bch->nr, bc); protocol 1258 drivers/isdn/hardware/mISDN/hfcpci.c } else if (test_bit(HFC_CFG_PCM, &hc->cfg) && (protocol > ISDN_P_NONE)) protocol 1266 drivers/isdn/hardware/mISDN/hfcpci.c if (protocol != ISDN_P_NONE) { protocol 1279 drivers/isdn/hardware/mISDN/hfcpci.c switch (protocol) { protocol 1315 drivers/isdn/hardware/mISDN/hfcpci.c bch->state = protocol; protocol 1350 drivers/isdn/hardware/mISDN/hfcpci.c bch->state = protocol; protocol 1379 drivers/isdn/hardware/mISDN/hfcpci.c printk(KERN_DEBUG "prot not known %x\n", protocol); protocol 1383 drivers/isdn/hardware/mISDN/hfcpci.c if ((protocol == ISDN_P_NONE) || protocol 1384 drivers/isdn/hardware/mISDN/hfcpci.c (protocol == -1)) { /* init case */ protocol 1430 drivers/isdn/hardware/mISDN/hfcpci.c set_hfcpci_rxtest(struct bchannel *bch, int protocol, int chan) protocol 1437 drivers/isdn/hardware/mISDN/hfcpci.c bch->state, protocol, bch->nr, chan); protocol 1444 drivers/isdn/hardware/mISDN/hfcpci.c switch (protocol) { protocol 1446 drivers/isdn/hardware/mISDN/hfcpci.c bch->state = protocol; protocol 1471 drivers/isdn/hardware/mISDN/hfcpci.c bch->state = protocol; protocol 1490 drivers/isdn/hardware/mISDN/hfcpci.c printk(KERN_DEBUG "prot not known %x\n", protocol); protocol 1554 drivers/isdn/hardware/mISDN/hfcpci.c ch->protocol = ISDN_P_NONE; protocol 1598 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_NT_S0) { protocol 1619 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_NT_S0) { protocol 1678 drivers/isdn/hardware/mISDN/hfcpci.c ret = mode_hfcpci(bch, bch->nr, ch->protocol); protocol 1881 drivers/isdn/hardware/mISDN/hfcpci.c if (rq->protocol == ISDN_P_NONE) protocol 1888 drivers/isdn/hardware/mISDN/hfcpci.c if (rq->protocol == ISDN_P_TE_S0) { protocol 1893 drivers/isdn/hardware/mISDN/hfcpci.c hc->hw.protocol = rq->protocol; protocol 1894 drivers/isdn/hardware/mISDN/hfcpci.c ch->protocol = rq->protocol; protocol 1899 drivers/isdn/hardware/mISDN/hfcpci.c if (rq->protocol != ch->protocol) { protocol 1900 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_TE_S0) protocol 1902 drivers/isdn/hardware/mISDN/hfcpci.c if (rq->protocol == ISDN_P_TE_S0) { protocol 1907 drivers/isdn/hardware/mISDN/hfcpci.c hc->hw.protocol = rq->protocol; protocol 1908 drivers/isdn/hardware/mISDN/hfcpci.c ch->protocol = rq->protocol; protocol 1913 drivers/isdn/hardware/mISDN/hfcpci.c if (((ch->protocol == ISDN_P_NT_S0) && (hc->dch.state == 3)) || protocol 1914 drivers/isdn/hardware/mISDN/hfcpci.c ((ch->protocol == ISDN_P_TE_S0) && (hc->dch.state == 7))) { protocol 1931 drivers/isdn/hardware/mISDN/hfcpci.c if (rq->protocol == ISDN_P_NONE) protocol 1936 drivers/isdn/hardware/mISDN/hfcpci.c bch->ch.protocol = rq->protocol; protocol 1961 drivers/isdn/hardware/mISDN/hfcpci.c if ((rq->protocol == ISDN_P_TE_S0) || protocol 1962 drivers/isdn/hardware/mISDN/hfcpci.c (rq->protocol == ISDN_P_NT_S0)) protocol 2060 drivers/isdn/hardware/mISDN/hfcpci.c if (hc->hw.protocol == ISDN_P_TE_S0) protocol 47 drivers/isdn/hardware/mISDN/hfcsusb.c static int hfcsusb_setup_bch(struct bchannel *bch, int protocol); protocol 221 drivers/isdn/hardware/mISDN/hfcsusb.c ret = hfcsusb_setup_bch(bch, ch->protocol); protocol 255 drivers/isdn/hardware/mISDN/hfcsusb.c phi->dch.ch.protocol = hw->protocol; protocol 260 drivers/isdn/hardware/mISDN/hfcsusb.c phi->bch[i].protocol = hw->bch[i].ch.protocol; protocol 301 drivers/isdn/hardware/mISDN/hfcsusb.c (hw->protocol == ISDN_P_NT_S0) ? "NT" : "TE"); protocol 303 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->protocol == ISDN_P_NT_S0) { protocol 327 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->protocol == ISDN_P_NT_S0) { protocol 421 drivers/isdn/hardware/mISDN/hfcsusb.c if (rq->protocol == ISDN_P_NONE) protocol 440 drivers/isdn/hardware/mISDN/hfcsusb.c hw->protocol = rq->protocol; protocol 441 drivers/isdn/hardware/mISDN/hfcsusb.c if (rq->protocol == ISDN_P_TE_S0) { protocol 447 drivers/isdn/hardware/mISDN/hfcsusb.c ch->protocol = rq->protocol; protocol 450 drivers/isdn/hardware/mISDN/hfcsusb.c if (rq->protocol != ch->protocol) protocol 454 drivers/isdn/hardware/mISDN/hfcsusb.c if (((ch->protocol == ISDN_P_NT_S0) && (hw->dch.state == 3)) || protocol 455 drivers/isdn/hardware/mISDN/hfcsusb.c ((ch->protocol == ISDN_P_TE_S0) && (hw->dch.state == 7))) protocol 472 drivers/isdn/hardware/mISDN/hfcsusb.c if (rq->protocol == ISDN_P_NONE) protocol 482 drivers/isdn/hardware/mISDN/hfcsusb.c bch->ch.protocol = rq->protocol; protocol 532 drivers/isdn/hardware/mISDN/hfcsusb.c if ((rq->protocol == ISDN_P_TE_S0) || protocol 533 drivers/isdn/hardware/mISDN/hfcsusb.c (rq->protocol == ISDN_P_NT_S0)) protocol 671 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->protocol == ISDN_P_NT_S0) protocol 673 drivers/isdn/hardware/mISDN/hfcsusb.c else if (hw->protocol == ISDN_P_TE_S0) protocol 681 drivers/isdn/hardware/mISDN/hfcsusb.c hfcsusb_setup_bch(struct bchannel *bch, int protocol) protocol 688 drivers/isdn/hardware/mISDN/hfcsusb.c hw->name, __func__, bch->state, protocol, protocol 693 drivers/isdn/hardware/mISDN/hfcsusb.c if (protocol > ISDN_P_NONE) protocol 696 drivers/isdn/hardware/mISDN/hfcsusb.c switch (protocol) { protocol 709 drivers/isdn/hardware/mISDN/hfcsusb.c bch->state = protocol; protocol 713 drivers/isdn/hardware/mISDN/hfcsusb.c bch->state = protocol; protocol 719 drivers/isdn/hardware/mISDN/hfcsusb.c hw->name, __func__, protocol); protocol 723 drivers/isdn/hardware/mISDN/hfcsusb.c if (protocol >= ISDN_P_NONE) { protocol 731 drivers/isdn/hardware/mISDN/hfcsusb.c sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); protocol 744 drivers/isdn/hardware/mISDN/hfcsusb.c if (protocol > ISDN_P_NONE) protocol 1357 drivers/isdn/hardware/mISDN/hfcsusb.c if ((fifon == HFCUSB_D_TX) && (hw->protocol == ISDN_P_NT_S0) protocol 1526 drivers/isdn/hardware/mISDN/hfcsusb.c (hw->protocol == ISDN_P_TE_S0) ? "TE" : "NT"); protocol 1528 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->protocol == ISDN_P_TE_S0) { protocol 1586 drivers/isdn/hardware/mISDN/hfcsusb.c (hw->protocol == ISDN_P_NT_S0) ? 0x08 : 0x09); protocol 1759 drivers/isdn/hardware/mISDN/hfcsusb.c if (hw->protocol == ISDN_P_TE_S0) protocol 1819 drivers/isdn/hardware/mISDN/hfcsusb.c ch->protocol = ISDN_P_NONE; protocol 301 drivers/isdn/hardware/mISDN/hfcsusb.h __u8 protocol; protocol 747 drivers/isdn/hardware/mISDN/mISDNipac.c if (rq->protocol != ISDN_P_TE_S0) protocol 753 drivers/isdn/hardware/mISDN/mISDNipac.c rq->ch->protocol = rq->protocol; protocol 1352 drivers/isdn/hardware/mISDN/mISDNipac.c ret = hscx_mode(hx, ch->protocol); protocol 1402 drivers/isdn/hardware/mISDN/mISDNipac.c ch->protocol = ISDN_P_NONE; protocol 1485 drivers/isdn/hardware/mISDN/mISDNipac.c if (rq->protocol == ISDN_P_NONE) protocol 1491 drivers/isdn/hardware/mISDN/mISDNipac.c bch->ch.protocol = rq->protocol; protocol 1538 drivers/isdn/hardware/mISDN/mISDNipac.c if (rq->protocol == ISDN_P_TE_S0) protocol 1489 drivers/isdn/hardware/mISDN/mISDNisar.c ret = modeisar(ich, ch->protocol); protocol 1586 drivers/isdn/hardware/mISDN/mISDNisar.c ch->protocol = ISDN_P_NONE; protocol 1642 drivers/isdn/hardware/mISDN/mISDNisar.c if (rq->protocol == ISDN_P_NONE) protocol 1647 drivers/isdn/hardware/mISDN/mISDNisar.c bch->ch.protocol = rq->protocol; protocol 198 drivers/isdn/hardware/mISDN/netjet.c mode_tiger(struct tiger_ch *bc, u32 protocol) protocol 203 drivers/isdn/hardware/mISDN/netjet.c bc->bch.nr, bc->bch.state, protocol); protocol 204 drivers/isdn/hardware/mISDN/netjet.c switch (protocol) { protocol 209 drivers/isdn/hardware/mISDN/netjet.c bc->bch.state = protocol; protocol 225 drivers/isdn/hardware/mISDN/netjet.c bc->bch.state = protocol; protocol 239 drivers/isdn/hardware/mISDN/netjet.c bc->bch.state = protocol; protocol 255 drivers/isdn/hardware/mISDN/netjet.c __func__, protocol); protocol 759 drivers/isdn/hardware/mISDN/netjet.c ret = mode_tiger(bc, ch->protocol); protocol 806 drivers/isdn/hardware/mISDN/netjet.c ch->protocol = ISDN_P_NONE; protocol 855 drivers/isdn/hardware/mISDN/netjet.c if (rq->protocol == ISDN_P_NONE) protocol 861 drivers/isdn/hardware/mISDN/netjet.c bch->ch.protocol = rq->protocol; protocol 882 drivers/isdn/hardware/mISDN/netjet.c if (rq->protocol == ISDN_P_TE_S0) protocol 248 drivers/isdn/hardware/mISDN/speedfax.c if (rq->protocol == ISDN_P_TE_S0) protocol 953 drivers/isdn/hardware/mISDN/w6692.c ret = w6692_mode(bc, ch->protocol); protocol 993 drivers/isdn/hardware/mISDN/w6692.c if (rq->protocol == ISDN_P_NONE) protocol 998 drivers/isdn/hardware/mISDN/w6692.c bch->ch.protocol = rq->protocol; protocol 1041 drivers/isdn/hardware/mISDN/w6692.c ch->protocol = ISDN_P_NONE; protocol 1162 drivers/isdn/hardware/mISDN/w6692.c if (rq->protocol != ISDN_P_TE_S0) protocol 1168 drivers/isdn/hardware/mISDN/w6692.c rq->ch->protocol = rq->protocol; protocol 1188 drivers/isdn/hardware/mISDN/w6692.c if (rq->protocol == ISDN_P_TE_S0) protocol 82 drivers/isdn/mISDN/core.c return sprintf(buf, "%d\n", mdev->D.protocol); protocol 84 drivers/isdn/mISDN/core.c static DEVICE_ATTR_RO(protocol); protocol 1053 drivers/isdn/mISDN/dsp_core.c if (crq->protocol != ISDN_P_B_L2DSP protocol 1054 drivers/isdn/mISDN/dsp_core.c && crq->protocol != ISDN_P_B_L2DSPHDLC) protocol 1071 drivers/isdn/mISDN/dsp_core.c if (crq->protocol == ISDN_P_B_L2DSP) { protocol 1072 drivers/isdn/mISDN/dsp_core.c crq->protocol = ISDN_P_B_RAW; protocol 1075 drivers/isdn/mISDN/dsp_core.c crq->protocol = ISDN_P_B_HDLC; protocol 981 drivers/isdn/mISDN/l1oip_core.c if (rq->protocol == ISDN_P_NONE) protocol 983 drivers/isdn/mISDN/l1oip_core.c if ((dch->dev.D.protocol != ISDN_P_NONE) && protocol 984 drivers/isdn/mISDN/l1oip_core.c (dch->dev.D.protocol != rq->protocol)) { protocol 987 drivers/isdn/mISDN/l1oip_core.c __func__, dch->dev.D.protocol, rq->protocol); protocol 989 drivers/isdn/mISDN/l1oip_core.c if (dch->dev.D.protocol != rq->protocol) protocol 990 drivers/isdn/mISDN/l1oip_core.c dch->dev.D.protocol = rq->protocol; protocol 1010 drivers/isdn/mISDN/l1oip_core.c if (rq->protocol == ISDN_P_NONE) protocol 1021 drivers/isdn/mISDN/l1oip_core.c bch->ch.protocol = rq->protocol; protocol 1043 drivers/isdn/mISDN/l1oip_core.c switch (rq->protocol) { protocol 1211 drivers/isdn/mISDN/l1oip_core.c ch->protocol = ISDN_P_NONE; protocol 2108 drivers/isdn/mISDN/layer2.c create_l2(struct mISDNchannel *ch, u_int protocol, u_long options, int tei, protocol 2125 drivers/isdn/mISDN/layer2.c switch (protocol) { protocol 2145 drivers/isdn/mISDN/layer2.c rq.protocol = ISDN_P_NT_E1; protocol 2147 drivers/isdn/mISDN/layer2.c rq.protocol = ISDN_P_NT_S0; protocol 2170 drivers/isdn/mISDN/layer2.c rq.protocol = ISDN_P_TE_E1; protocol 2172 drivers/isdn/mISDN/layer2.c rq.protocol = ISDN_P_TE_S0; protocol 2188 drivers/isdn/mISDN/layer2.c protocol); protocol 2219 drivers/isdn/mISDN/layer2.c if (crq->protocol != ISDN_P_B_X75SLP) protocol 2221 drivers/isdn/mISDN/layer2.c l2 = create_l2(crq->ch, crq->protocol, 0, 0, 0); protocol 2225 drivers/isdn/mISDN/layer2.c crq->protocol = ISDN_P_B_HDLC; protocol 383 drivers/isdn/mISDN/socket.c di.protocol = dev->D.protocol; protocol 544 drivers/isdn/mISDN/socket.c _pms(sk)->ch.protocol = sk->sk_protocol; protocol 593 drivers/isdn/mISDN/socket.c data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) protocol 610 drivers/isdn/mISDN/socket.c sk->sk_protocol = protocol; protocol 666 drivers/isdn/mISDN/socket.c di.protocol = dev->D.protocol; protocol 751 drivers/isdn/mISDN/socket.c base_sock_create(struct net *net, struct socket *sock, int protocol, int kern) protocol 768 drivers/isdn/mISDN/socket.c sk->sk_protocol = protocol; protocol 418 drivers/isdn/mISDN/stack.c u_int protocol, struct sockaddr_mISDN *adr) protocol 427 drivers/isdn/mISDN/stack.c __func__, dev_name(&dev->dev), protocol, adr->dev, protocol 429 drivers/isdn/mISDN/stack.c switch (protocol) { protocol 437 drivers/isdn/mISDN/stack.c rq.protocol = protocol; protocol 456 drivers/isdn/mISDN/stack.c u_int protocol, struct sockaddr_mISDN *adr) protocol 464 drivers/isdn/mISDN/stack.c __func__, dev_name(&dev->dev), protocol, protocol 468 drivers/isdn/mISDN/stack.c pmask = 1 << (protocol & ISDN_P_B_MASK); protocol 470 drivers/isdn/mISDN/stack.c rq.protocol = protocol; protocol 484 drivers/isdn/mISDN/stack.c rq2.protocol = protocol; protocol 493 drivers/isdn/mISDN/stack.c rq.protocol = rq2.protocol; protocol 506 drivers/isdn/mISDN/stack.c ch->protocol = protocol; protocol 513 drivers/isdn/mISDN/stack.c u_int protocol, struct sockaddr_mISDN *adr) protocol 520 drivers/isdn/mISDN/stack.c __func__, dev_name(&dev->dev), protocol, protocol 523 drivers/isdn/mISDN/stack.c rq.protocol = ISDN_P_TE_S0; protocol 525 drivers/isdn/mISDN/stack.c rq.protocol = ISDN_P_TE_E1; protocol 526 drivers/isdn/mISDN/stack.c switch (protocol) { protocol 528 drivers/isdn/mISDN/stack.c rq.protocol = ISDN_P_NT_S0; protocol 530 drivers/isdn/mISDN/stack.c rq.protocol = ISDN_P_NT_E1; protocol 541 drivers/isdn/mISDN/stack.c rq.protocol = protocol; protocol 547 drivers/isdn/mISDN/stack.c if ((protocol == ISDN_P_LAPD_NT) && !rq.ch) protocol 573 drivers/isdn/mISDN/stack.c dev_name(&ch->st->dev->dev), ch->protocol); protocol 574 drivers/isdn/mISDN/stack.c if (ch->protocol >= ISDN_P_B_START) { protocol 581 drivers/isdn/mISDN/stack.c switch (ch->protocol) { protocol 797 drivers/isdn/mISDN/tei.c rq.protocol = ISDN_P_NT_E1; protocol 799 drivers/isdn/mISDN/tei.c rq.protocol = ISDN_P_NT_S0; protocol 994 drivers/isdn/mISDN/tei.c crq->protocol, crq->adr.dev, crq->adr.channel, protocol 1003 drivers/isdn/mISDN/tei.c if (crq->protocol == ISDN_P_LAPD_TE) protocol 1014 drivers/isdn/mISDN/tei.c if (crq->protocol == ISDN_P_LAPD_NT) protocol 1019 drivers/isdn/mISDN/tei.c if (crq->protocol == ISDN_P_LAPD_NT) protocol 1021 drivers/isdn/mISDN/tei.c if (crq->protocol == ISDN_P_LAPD_TE) protocol 1028 drivers/isdn/mISDN/tei.c if ((crq->protocol == ISDN_P_LAPD_NT) && (crq->adr.tei == 127)) { protocol 1045 drivers/isdn/mISDN/tei.c l2 = create_l2(crq->ch, crq->protocol, opt, protocol 1060 drivers/isdn/mISDN/tei.c if (crq->protocol == ISDN_P_LAPD_TE) { protocol 1065 drivers/isdn/mISDN/tei.c l1rq.protocol = ISDN_P_TE_E1; protocol 1067 drivers/isdn/mISDN/tei.c l1rq.protocol = ISDN_P_TE_S0; protocol 1073 drivers/isdn/mISDN/tei.c l1rq.protocol = ISDN_P_NT_E1; protocol 1075 drivers/isdn/mISDN/tei.c l1rq.protocol = ISDN_P_NT_S0; protocol 743 drivers/media/dvb-core/dvb_net.c h->priv->ule_skb->protocol = dvb_net_eth_type_trans(h->priv->ule_skb, protocol 976 drivers/media/dvb-core/dvb_net.c skb->protocol = dvb_net_eth_type_trans(skb, dev); protocol 59 drivers/media/i2c/ir-kbd-i2c.c static int get_key_haup_common(struct IR_i2c *ir, enum rc_proto *protocol, protocol 100 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_RC5; protocol 112 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_RC6_MCE; protocol 119 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_RC6_6A_32; protocol 133 drivers/media/i2c/ir-kbd-i2c.c static int get_key_haup(struct IR_i2c *ir, enum rc_proto *protocol, protocol 136 drivers/media/i2c/ir-kbd-i2c.c return get_key_haup_common(ir, protocol, scancode, toggle, 3); protocol 139 drivers/media/i2c/ir-kbd-i2c.c static int get_key_haup_xvr(struct IR_i2c *ir, enum rc_proto *protocol, protocol 155 drivers/media/i2c/ir-kbd-i2c.c return get_key_haup_common(ir, protocol, scancode, toggle, 6); protocol 158 drivers/media/i2c/ir-kbd-i2c.c static int get_key_pixelview(struct IR_i2c *ir, enum rc_proto *protocol, protocol 173 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_OTHER; protocol 179 drivers/media/i2c/ir-kbd-i2c.c static int get_key_fusionhdtv(struct IR_i2c *ir, enum rc_proto *protocol, protocol 201 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_UNKNOWN; protocol 207 drivers/media/i2c/ir-kbd-i2c.c static int get_key_knc1(struct IR_i2c *ir, enum rc_proto *protocol, protocol 235 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_UNKNOWN; protocol 241 drivers/media/i2c/ir-kbd-i2c.c static int get_key_avermedia_cardbus(struct IR_i2c *ir, enum rc_proto *protocol, protocol 275 drivers/media/i2c/ir-kbd-i2c.c *protocol = RC_PROTO_UNKNOWN; protocol 287 drivers/media/i2c/ir-kbd-i2c.c enum rc_proto protocol; protocol 293 drivers/media/i2c/ir-kbd-i2c.c rc = ir->get_key(ir, &protocol, &scancode, &toggle); protocol 301 drivers/media/i2c/ir-kbd-i2c.c __func__, protocol, scancode); protocol 302 drivers/media/i2c/ir-kbd-i2c.c rc_keydown(ir->rc, protocol, scancode, toggle); protocol 323 drivers/media/pci/bt8xx/bttv-input.c static int get_key_pv951(struct IR_i2c *ir, enum rc_proto *protocol, protocol 355 drivers/media/pci/bt8xx/bttv-input.c *protocol = RC_PROTO_UNKNOWN; protocol 554 drivers/media/pci/cx88/cx88-input.c static int get_key_pvr2000(struct IR_i2c *ir, enum rc_proto *protocol, protocol 579 drivers/media/pci/cx88/cx88-input.c *protocol = RC_PROTO_UNKNOWN; protocol 137 drivers/media/pci/ivtv/ivtv-i2c.c static int get_key_adaptec(struct IR_i2c *ir, enum rc_proto *protocol, protocol 157 drivers/media/pci/ivtv/ivtv-i2c.c *protocol = RC_PROTO_UNKNOWN; protocol 105 drivers/media/pci/saa7134/saa7134-input.c static int get_key_flydvb_trio(struct IR_i2c *ir, enum rc_proto *protocol, protocol 154 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_UNKNOWN; protocol 161 drivers/media/pci/saa7134/saa7134-input.c enum rc_proto *protocol, protocol 205 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_UNKNOWN; protocol 212 drivers/media/pci/saa7134/saa7134-input.c static int get_key_kworld_pc150u(struct IR_i2c *ir, enum rc_proto *protocol, protocol 257 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_UNKNOWN; protocol 263 drivers/media/pci/saa7134/saa7134-input.c static int get_key_purpletv(struct IR_i2c *ir, enum rc_proto *protocol, protocol 286 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_UNKNOWN; protocol 292 drivers/media/pci/saa7134/saa7134-input.c static int get_key_beholdm6xx(struct IR_i2c *ir, enum rc_proto *protocol, protocol 323 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_NECX; protocol 332 drivers/media/pci/saa7134/saa7134-input.c static int get_key_pinnacle(struct IR_i2c *ir, enum rc_proto *protocol, protocol 373 drivers/media/pci/saa7134/saa7134-input.c *protocol = RC_PROTO_UNKNOWN; protocol 390 drivers/media/pci/saa7134/saa7134-input.c static int get_key_pinnacle_grey(struct IR_i2c *ir, enum rc_proto *protocol, protocol 394 drivers/media/pci/saa7134/saa7134-input.c return get_key_pinnacle(ir, protocol, scancode, toggle, 1, 0xfe, 0xff); protocol 402 drivers/media/pci/saa7134/saa7134-input.c static int get_key_pinnacle_color(struct IR_i2c *ir, enum rc_proto *protocol, protocol 411 drivers/media/pci/saa7134/saa7134-input.c return get_key_pinnacle(ir, protocol, scancode, toggle, 2, 0x80, 0x88); protocol 43 drivers/media/rc/bpf-lirc.c BPF_CALL_4(bpf_rc_keydown, u32*, sample, u32, protocol, u64, scancode, protocol 50 drivers/media/rc/bpf-lirc.c rc_keydown(ctrl->dev, protocol, scancode, toggle != 0); protocol 822 drivers/media/rc/img-ir/img-ir-hw.c request.protocol = RC_PROTO_UNKNOWN; protocol 836 drivers/media/rc/img-ir/img-ir-hw.c rc_keydown(hw->rdev, request.protocol, request.scancode, protocol 140 drivers/media/rc/img-ir/img-ir-hw.h enum rc_proto protocol; protocol 22 drivers/media/rc/img-ir/img-ir-jvc.c request->protocol = RC_PROTO_JVC; protocol 34 drivers/media/rc/img-ir/img-ir-nec.c request->protocol = RC_PROTO_NEC32; protocol 41 drivers/media/rc/img-ir/img-ir-nec.c request->protocol = RC_PROTO_NECX; protocol 47 drivers/media/rc/img-ir/img-ir-nec.c request->protocol = RC_PROTO_NEC; protocol 32 drivers/media/rc/img-ir/img-ir-rc5.c request->protocol = RC_PROTO_RC5; protocol 53 drivers/media/rc/img-ir/img-ir-rc6.c request->protocol = RC_PROTO_RC6_0; protocol 43 drivers/media/rc/img-ir/img-ir-sanyo.c request->protocol = RC_PROTO_SANYO; protocol 31 drivers/media/rc/img-ir/img-ir-sharp.c request->protocol = RC_PROTO_SHARP; protocol 24 drivers/media/rc/img-ir/img-ir-sony.c request->protocol = RC_PROTO_SONY12; protocol 33 drivers/media/rc/img-ir/img-ir-sony.c request->protocol = RC_PROTO_SONY15; protocol 43 drivers/media/rc/img-ir/img-ir-sony.c request->protocol = RC_PROTO_SONY20; protocol 192 drivers/media/rc/ir-imon-decoder.c static int ir_imon_encode(enum rc_proto protocol, u32 scancode, protocol 188 drivers/media/rc/ir-jvc-decoder.c static int ir_jvc_encode(enum rc_proto protocol, u32 scancode, protocol 399 drivers/media/rc/ir-mce_kbd-decoder.c static int ir_mce_kbd_encode(enum rc_proto protocol, u32 scancode, protocol 406 drivers/media/rc/ir-mce_kbd-decoder.c if (protocol == RC_PROTO_MCIR2_KBD) { protocol 176 drivers/media/rc/ir-nec-decoder.c static u32 ir_nec_scancode_to_raw(enum rc_proto protocol, u32 scancode) protocol 182 drivers/media/rc/ir-nec-decoder.c if (protocol == RC_PROTO_NEC32) { protocol 188 drivers/media/rc/ir-nec-decoder.c } else if (protocol == RC_PROTO_NECX) { protocol 232 drivers/media/rc/ir-nec-decoder.c static int ir_nec_encode(enum rc_proto protocol, u32 scancode, protocol 240 drivers/media/rc/ir-nec-decoder.c raw = ir_nec_scancode_to_raw(protocol, scancode); protocol 45 drivers/media/rc/ir-rc5-decoder.c enum rc_proto protocol; protocol 125 drivers/media/rc/ir-rc5-decoder.c protocol = RC_PROTO_RC5X_20; protocol 139 drivers/media/rc/ir-rc5-decoder.c protocol = RC_PROTO_RC5; protocol 152 drivers/media/rc/ir-rc5-decoder.c protocol = RC_PROTO_RC5_SZ; protocol 158 drivers/media/rc/ir-rc5-decoder.c scancode, protocol, toggle); protocol 160 drivers/media/rc/ir-rc5-decoder.c rc_keydown(dev, protocol, scancode, toggle); protocol 209 drivers/media/rc/ir-rc5-decoder.c static int ir_rc5_encode(enum rc_proto protocol, u32 scancode, protocol 217 drivers/media/rc/ir-rc5-decoder.c if (protocol == RC_PROTO_RC5) { protocol 230 drivers/media/rc/ir-rc5-decoder.c } else if (protocol == RC_PROTO_RC5X_20) { protocol 253 drivers/media/rc/ir-rc5-decoder.c } else if (protocol == RC_PROTO_RC5_SZ) { protocol 85 drivers/media/rc/ir-rc6-decoder.c enum rc_proto protocol; protocol 216 drivers/media/rc/ir-rc6-decoder.c protocol = RC_PROTO_RC6_0; protocol 231 drivers/media/rc/ir-rc6-decoder.c protocol = RC_PROTO_RC6_6A_20; protocol 235 drivers/media/rc/ir-rc6-decoder.c protocol = RC_PROTO_RC6_6A_24; protocol 243 drivers/media/rc/ir-rc6-decoder.c protocol = RC_PROTO_RC6_MCE; protocol 248 drivers/media/rc/ir-rc6-decoder.c protocol = RC_PROTO_RC6_6A_32; protocol 259 drivers/media/rc/ir-rc6-decoder.c protocol, scancode, toggle); protocol 266 drivers/media/rc/ir-rc6-decoder.c rc_keydown(dev, protocol, scancode, toggle); protocol 309 drivers/media/rc/ir-rc6-decoder.c static int ir_rc6_encode(enum rc_proto protocol, u32 scancode, protocol 315 drivers/media/rc/ir-rc6-decoder.c if (protocol == RC_PROTO_RC6_0) { protocol 339 drivers/media/rc/ir-rc6-decoder.c switch (protocol) { protocol 199 drivers/media/rc/ir-rcmm-decoder.c static int ir_rcmm_encode(enum rc_proto protocol, u32 scancode, protocol 205 drivers/media/rc/ir-rcmm-decoder.c switch (protocol) { protocol 189 drivers/media/rc/ir-sanyo-decoder.c static int ir_sanyo_encode(enum rc_proto protocol, u32 scancode, protocol 190 drivers/media/rc/ir-sharp-decoder.c static int ir_sharp_encode(enum rc_proto protocol, u32 scancode, protocol 37 drivers/media/rc/ir-sony-decoder.c enum rc_proto protocol; protocol 122 drivers/media/rc/ir-sony-decoder.c protocol = RC_PROTO_SONY12; protocol 131 drivers/media/rc/ir-sony-decoder.c protocol = RC_PROTO_SONY15; protocol 140 drivers/media/rc/ir-sony-decoder.c protocol = RC_PROTO_SONY20; protocol 151 drivers/media/rc/ir-sony-decoder.c rc_keydown(dev, protocol, scancode, 0); protocol 187 drivers/media/rc/ir-sony-decoder.c static int ir_sony_encode(enum rc_proto protocol, u32 scancode, protocol 194 drivers/media/rc/ir-sony-decoder.c if (protocol == RC_PROTO_SONY12) { protocol 197 drivers/media/rc/ir-sony-decoder.c } else if (protocol == RC_PROTO_SONY15) { protocol 38 drivers/media/rc/rc-core-priv.h int (*encode)(enum rc_proto protocol, u32 scancode, protocol 521 drivers/media/rc/rc-ir-raw.c int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, protocol 526 drivers/media/rc/rc-ir-raw.c u64 mask = 1ULL << protocol; protocol 533 drivers/media/rc/rc-ir-raw.c ret = handler->encode(protocol, scancode, events, max); protocol 592 drivers/media/rc/rc-ir-raw.c int ir_raw_encode_carrier(enum rc_proto protocol) protocol 596 drivers/media/rc/rc-ir-raw.c u64 mask = BIT_ULL(protocol); protocol 689 drivers/media/rc/rc-main.c static unsigned int repeat_period(int protocol) protocol 691 drivers/media/rc/rc-main.c if (protocol >= ARRAY_SIZE(protocols)) protocol 694 drivers/media/rc/rc-main.c return protocols[protocol].repeat_period; protocol 745 drivers/media/rc/rc-main.c static void ir_do_keydown(struct rc_dev *dev, enum rc_proto protocol, protocol 749 drivers/media/rc/rc-main.c dev->last_protocol != protocol || protocol 753 drivers/media/rc/rc-main.c .scancode = scancode, .rc_proto = protocol, protocol 766 drivers/media/rc/rc-main.c dev->last_protocol = protocol; protocol 776 drivers/media/rc/rc-main.c dev->device_name, keycode, protocol, scancode); protocol 812 drivers/media/rc/rc-main.c void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u32 scancode, protocol 819 drivers/media/rc/rc-main.c ir_do_keydown(dev, protocol, scancode, keycode, toggle); protocol 823 drivers/media/rc/rc-main.c msecs_to_jiffies(repeat_period(protocol)); protocol 842 drivers/media/rc/rc-main.c void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, protocol 849 drivers/media/rc/rc-main.c ir_do_keydown(dev, protocol, scancode, keycode, toggle); protocol 911 drivers/media/rc/rc-main.c enum rc_proto protocol = dev->wakeup_protocol; protocol 913 drivers/media/rc/rc-main.c if (protocol >= ARRAY_SIZE(protocols)) protocol 916 drivers/media/rc/rc-main.c mask = protocols[protocol].scancode_bits; protocol 918 drivers/media/rc/rc-main.c if (!rc_validate_scancode(protocol, s)) protocol 1505 drivers/media/rc/rc-main.c enum rc_proto protocol = RC_PROTO_UNKNOWN; protocol 1518 drivers/media/rc/rc-main.c protocol = i; protocol 1529 drivers/media/rc/rc-main.c u64 mask = 1ULL << protocol; protocol 1539 drivers/media/rc/rc-main.c if (dev->wakeup_protocol != protocol) { protocol 1540 drivers/media/rc/rc-main.c dev->wakeup_protocol = protocol; protocol 1541 drivers/media/rc/rc-main.c dev_dbg(&dev->dev, "Wakeup protocol changed to %d\n", protocol); protocol 1543 drivers/media/rc/rc-main.c if (protocol == RC_PROTO_RC6_MCE) protocol 17 drivers/media/usb/cx231xx/cx231xx-input.c static int get_key_isdbt(struct IR_i2c *ir, enum rc_proto *protocol, protocol 43 drivers/media/usb/cx231xx/cx231xx-input.c *protocol = RC_PROTO_OTHER; protocol 680 drivers/media/usb/dvb-usb/dib0700_core.c d->props.rc.core.protocol = *rc_proto; protocol 712 drivers/media/usb/dvb-usb/dib0700_core.c enum rc_proto protocol; protocol 744 drivers/media/usb/dvb-usb/dib0700_core.c switch (d->props.rc.core.protocol) { protocol 764 drivers/media/usb/dvb-usb/dib0700_core.c protocol = RC_PROTO_NEC32; protocol 771 drivers/media/usb/dvb-usb/dib0700_core.c protocol = RC_PROTO_NECX; protocol 776 drivers/media/usb/dvb-usb/dib0700_core.c protocol = RC_PROTO_NEC; protocol 782 drivers/media/usb/dvb-usb/dib0700_core.c protocol = RC_PROTO_RC5; protocol 797 drivers/media/usb/dvb-usb/dib0700_core.c rc_keydown(d->rc_dev, protocol, keycode, toggle); protocol 518 drivers/media/usb/dvb-usb/dib0700_devices.c enum rc_proto protocol; protocol 550 drivers/media/usb/dvb-usb/dib0700_devices.c switch (d->props.rc.core.protocol) { protocol 559 drivers/media/usb/dvb-usb/dib0700_devices.c protocol = RC_PROTO_NEC; protocol 566 drivers/media/usb/dvb-usb/dib0700_devices.c protocol = RC_PROTO_RC5; protocol 572 drivers/media/usb/dvb-usb/dib0700_devices.c rc_keydown(d->rc_dev, protocol, scancode, toggle); protocol 206 drivers/media/usb/dvb-usb/dvb-usb.h u64 protocol; protocol 55 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto protocol; protocol 73 drivers/media/usb/em28xx/em28xx-input.c int (*get_key_i2c)(struct i2c_client *ir, enum rc_proto *protocol, protocol 83 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto *protocol, u32 *scancode) protocol 108 drivers/media/usb/em28xx/em28xx-input.c *protocol = RC_PROTO_UNKNOWN; protocol 114 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto *protocol, u32 *scancode) protocol 138 drivers/media/usb/em28xx/em28xx-input.c *protocol = RC_PROTO_RC5; protocol 144 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto *protocol, protocol 157 drivers/media/usb/em28xx/em28xx-input.c *protocol = RC_PROTO_UNKNOWN; protocol 163 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto *protocol, protocol 194 drivers/media/usb/em28xx/em28xx-input.c *protocol = RC_PROTO_UNKNOWN; protocol 229 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_RC5; protocol 234 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_NEC; protocol 239 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_UNKNOWN; protocol 275 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_RC5; protocol 281 drivers/media/usb/em28xx/em28xx-input.c &poll_result->protocol); protocol 285 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_RC6_0; protocol 290 drivers/media/usb/em28xx/em28xx-input.c poll_result->protocol = RC_PROTO_UNKNOWN; protocol 306 drivers/media/usb/em28xx/em28xx-input.c enum rc_proto protocol; protocol 309 drivers/media/usb/em28xx/em28xx-input.c rc = ir->get_key_i2c(ir->i2c_client, &protocol, &scancode); protocol 317 drivers/media/usb/em28xx/em28xx-input.c __func__, protocol, scancode); protocol 318 drivers/media/usb/em28xx/em28xx-input.c rc_keydown(ir->rc, protocol, scancode, 0); protocol 341 drivers/media/usb/em28xx/em28xx-input.c poll_result.protocol, protocol 157 drivers/media/usb/tm6000/tm6000-input.c enum rc_proto protocol; protocol 166 drivers/media/usb/tm6000/tm6000-input.c protocol = RC_PROTO_RC5; protocol 170 drivers/media/usb/tm6000/tm6000-input.c protocol = RC_PROTO_NEC; protocol 174 drivers/media/usb/tm6000/tm6000-input.c protocol = RC_PROTO_OTHER; protocol 180 drivers/media/usb/tm6000/tm6000-input.c __func__, protocol, scancode); protocol 181 drivers/media/usb/tm6000/tm6000-input.c rc_keydown(ir->rc, protocol, scancode, 0); protocol 822 drivers/message/fusion/mptlan.c skb->protocol = mpt_lan_type_trans(skb, dev); protocol 73 drivers/misc/mei/hdcp/mei_hdcp.c session_init_in.protocol = data->protocol; protocol 199 drivers/misc/mei/hdcp/mei_hdcp.h u8 protocol; /* for HDMI vs DP */ protocol 237 drivers/misc/sgi-xp/xpnet.c skb->protocol = eth_type_trans(skb, xpnet_device); protocol 799 drivers/net/appletalk/cops.c skb->protocol = htons(ETH_P_LOCALTALK); protocol 179 drivers/net/appletalk/ipddp.c skb->protocol = htons(ETH_P_ATALK); /* Protocol has changed */ protocol 764 drivers/net/appletalk/ltpc.c skb->protocol = htons(ETH_P_LOCALTALK); protocol 77 drivers/net/arcnet/arc-rawmode.c skb->protocol = cpu_to_be16(ETH_P_ARCNET); protocol 661 drivers/net/arcnet/arcnet.c lp->hw.status(dev), lp->cur_tx, lp->next_tx, skb->len, skb->protocol); protocol 91 drivers/net/arcnet/capmode.c skb->protocol = cpu_to_be16(ETH_P_ARCNET); protocol 193 drivers/net/arcnet/capmode.c lp->outgoing.skb->protocol, acked); protocol 218 drivers/net/arcnet/capmode.c ackskb->protocol = cpu_to_be16(ETH_P_ARCNET); protocol 156 drivers/net/arcnet/rfc1051.c skb->protocol = type_trans(skb, dev); protocol 234 drivers/net/arcnet/rfc1201.c skb->protocol = type_trans(skb, dev); protocol 370 drivers/net/arcnet/rfc1201.c skb->protocol = type_trans(skb, dev); protocol 847 drivers/net/bonding/bond_3ad.c skb->protocol = PKT_TYPE_LACPDU; protocol 901 drivers/net/bonding/bond_3ad.c skb->protocol = PKT_TYPE_LACPDU; protocol 2659 drivers/net/bonding/bond_3ad.c if (skb->protocol != PKT_TYPE_LACPDU) protocol 276 drivers/net/bonding/bond_alb.c if (skb->protocol != cpu_to_be16(ETH_P_ARP)) protocol 925 drivers/net/bonding/bond_alb.c skb->protocol = pkt.type; protocol 1349 drivers/net/bonding/bond_alb.c switch (skb->protocol) { protocol 1390 drivers/net/bonding/bond_alb.c switch (ntohs(skb->protocol)) { protocol 1400 drivers/net/bonding/bond_alb.c if (iph->daddr == ip_bcast || iph->protocol == IPPROTO_IGMP) { protocol 2543 drivers/net/bonding/bond_main.c int is_arp = skb->protocol == __cpu_to_be16(ETH_P_ARP); protocol 3265 drivers/net/bonding/bond_main.c if (skb->protocol == htons(ETH_P_IP)) { protocol 3272 drivers/net/bonding/bond_main.c proto = iph->protocol; protocol 3273 drivers/net/bonding/bond_main.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 3922 drivers/net/bonding/bond_main.c if (skb->protocol == htons(ETH_P_IP)) { protocol 3930 drivers/net/bonding/bond_main.c if (iph->protocol == IPPROTO_IGMP) { protocol 457 drivers/net/caif/caif_hsi.c skb->protocol = htons(ETH_P_CAIF); protocol 586 drivers/net/caif/caif_hsi.c skb->protocol = htons(ETH_P_CAIF); protocol 196 drivers/net/caif/caif_serial.c skb->protocol = htons(ETH_P_CAIF); protocol 555 drivers/net/caif/caif_spi.c skb->protocol = htons(ETH_P_CAIF); protocol 295 drivers/net/caif/caif_virtio.c skb->protocol = htons(ETH_P_CAIF); protocol 446 drivers/net/can/dev.c (skb->protocol != htons(ETH_P_CAN) && protocol 447 drivers/net/can/dev.c skb->protocol != htons(ETH_P_CANFD))) { protocol 648 drivers/net/can/dev.c skb->protocol = htons(ETH_P_CAN); protocol 676 drivers/net/can/dev.c skb->protocol = htons(ETH_P_CANFD); protocol 1305 drivers/net/can/janz-ican3.c skb->protocol = htons(ETH_P_CAN); protocol 210 drivers/net/can/slcan.c skb->protocol = htons(ETH_P_CAN); protocol 953 drivers/net/ethernet/3com/3c509.c skb->protocol = eth_type_trans(skb,dev); protocol 1308 drivers/net/ethernet/3com/3c515.c skb->protocol = eth_type_trans(skb, dev); protocol 1391 drivers/net/ethernet/3com/3c515.c skb->protocol = eth_type_trans(skb, dev); protocol 1018 drivers/net/ethernet/3com/3c574_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 865 drivers/net/ethernet/3com/3c589_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 2569 drivers/net/ethernet/3com/3c59x.c skb->protocol = eth_type_trans(skb, dev); protocol 2661 drivers/net/ethernet/3com/3c59x.c skb->protocol = eth_type_trans(skb, dev); protocol 1685 drivers/net/ethernet/3com/typhoon.c new_skb->protocol = eth_type_trans(new_skb, tp->dev); protocol 1403 drivers/net/ethernet/8390/axnet_cs.c skb->protocol=eth_type_trans(skb,dev); protocol 734 drivers/net/ethernet/8390/lib8390.c skb->protocol = eth_type_trans(skb, dev); protocol 1503 drivers/net/ethernet/adaptec/starfire.c skb->protocol = eth_type_trans(skb, dev); protocol 808 drivers/net/ethernet/aeroflex/greth.c skb->protocol = eth_type_trans(skb, dev); protocol 922 drivers/net/ethernet/aeroflex/greth.c skb->protocol = eth_type_trans(skb, dev); protocol 2287 drivers/net/ethernet/agere/et131x.c skb->protocol = eth_type_trans(skb, adapter->netdev); protocol 606 drivers/net/ethernet/alacritech/slicoss.c skb->protocol = eth_type_trans(skb, dev); protocol 536 drivers/net/ethernet/allwinner/sun4i-emac.c db->skb_last->protocol = eth_type_trans(db->skb_last, protocol 646 drivers/net/ethernet/allwinner/sun4i-emac.c skb->protocol = eth_type_trans(skb, dev); protocol 1991 drivers/net/ethernet/alteon/acenic.c skb->protocol = eth_type_trans(skb, dev); protocol 426 drivers/net/ethernet/altera/altera_tse_main.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 911 drivers/net/ethernet/amazon/ena/ena_netdev.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 2085 drivers/net/ethernet/amazon/ena/ena_netdev.c l4_protocol = ip_hdr(skb)->protocol; protocol 338 drivers/net/ethernet/amd/7990.c skb->protocol = eth_type_trans(skb, dev); protocol 310 drivers/net/ethernet/amd/a2065.c skb->protocol = eth_type_trans(skb, dev); protocol 522 drivers/net/ethernet/amd/am79c961a.c skb->protocol = eth_type_trans(skb, dev); protocol 750 drivers/net/ethernet/amd/amd8111e.c skb->protocol = eth_type_trans(skb, dev); protocol 215 drivers/net/ethernet/amd/ariadne.c skb->protocol = eth_type_trans(skb, dev); protocol 1025 drivers/net/ethernet/amd/atarilance.c skb->protocol = eth_type_trans( skb, dev ); protocol 804 drivers/net/ethernet/amd/au1000_eth.c skb->protocol = eth_type_trans(skb, dev); protocol 628 drivers/net/ethernet/amd/declance.c skb->protocol = eth_type_trans(skb, dev); protocol 1205 drivers/net/ethernet/amd/lance.c skb->protocol=eth_type_trans(skb,dev); protocol 1111 drivers/net/ethernet/amd/ni65.c skb->protocol=eth_type_trans(skb,dev); protocol 1112 drivers/net/ethernet/amd/nmclan_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 1280 drivers/net/ethernet/amd/pcnet32.c skb->protocol = eth_type_trans(skb, dev); protocol 851 drivers/net/ethernet/amd/sun3lance.c skb->protocol = eth_type_trans( skb, dev ); protocol 553 drivers/net/ethernet/amd/sunlance.c skb->protocol = eth_type_trans(skb, dev); protocol 721 drivers/net/ethernet/amd/sunlance.c skb->protocol = eth_type_trans(skb, dev); protocol 1789 drivers/net/ethernet/amd/xgbe/xgbe-drv.c switch (skb->protocol) { protocol 1791 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if (ip_hdr(skb)->protocol != IPPROTO_UDP) protocol 1806 drivers/net/ethernet/amd/xgbe/xgbe-drv.c if ((skb->protocol == htons(ETH_P_IP)) && protocol 1810 drivers/net/ethernet/amd/xgbe/xgbe-drv.c else if ((skb->protocol == htons(ETH_P_IPV6)) && protocol 2802 drivers/net/ethernet/amd/xgbe/xgbe-drv.c (skb->protocol == htons(ETH_P_8021Q))) protocol 2850 drivers/net/ethernet/amd/xgbe/xgbe-drv.c skb->protocol = eth_type_trans(skb, netdev); protocol 329 drivers/net/ethernet/apm/xgene-v2/main.c skb->protocol = eth_type_trans(skb, ndev); protocol 319 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (unlikely(skb->protocol != htons(ETH_P_IP)) && protocol 320 drivers/net/ethernet/apm/xgene/xgene_enet_main.c unlikely(skb->protocol != htons(ETH_P_8021Q))) protocol 330 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (likely(iph->protocol == IPPROTO_TCP)) { protocol 362 drivers/net/ethernet/apm/xgene/xgene_enet_main.c } else if (iph->protocol == IPPROTO_UDP) { protocol 596 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (skb->protocol != htons(ETH_P_IP)) protocol 602 drivers/net/ethernet/apm/xgene/xgene_enet_main.c if (iph->protocol != IPPROTO_TCP && iph->protocol != IPPROTO_UDP) protocol 651 drivers/net/ethernet/apm/xgene/xgene_enet_main.c skb->protocol == htons(ETH_P_8021Q)) protocol 701 drivers/net/ethernet/apm/xgene/xgene_enet_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 713 drivers/net/ethernet/apple/bmac.c skb->protocol = eth_type_trans(skb, dev); protocol 930 drivers/net/ethernet/apple/mace.c skb->protocol = eth_type_trans(skb, dev); protocol 661 drivers/net/ethernet/apple/macmace.c skb->protocol = eth_type_trans(skb, dev); protocol 482 drivers/net/ethernet/aquantia/atlantic/aq_nic.c dx_buff->is_ip_cso = (htons(ETH_P_IP) == skb->protocol) ? protocol 487 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ip_hdr(skb)->protocol == IPPROTO_TCP) ? protocol 490 drivers/net/ethernet/aquantia/atlantic/aq_nic.c (ip_hdr(skb)->protocol == IPPROTO_UDP) ? protocol 420 drivers/net/ethernet/aquantia/atlantic/aq_ring.c skb->protocol = eth_type_trans(skb, ndev); protocol 249 drivers/net/ethernet/arc/emac_main.c rx_buff->skb->protocol = eth_type_trans(rx_buff->skb, ndev); protocol 1508 drivers/net/ethernet/atheros/ag71xx.c skb->protocol = eth_type_trans(skb, ndev); protocol 261 drivers/net/ethernet/atheros/alx/main.c skb->protocol = eth_type_trans(skb, rxq->netdev); protocol 1411 drivers/net/ethernet/atheros/alx/main.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1849 drivers/net/ethernet/atheros/atl1c/atl1c_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 1453 drivers/net/ethernet/atheros/atl1e/atl1e_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 1606 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (skb->protocol == htons(ETH_P_IP) || protocol 1883 drivers/net/ethernet/atheros/atl1e/atl1e_main.c if (skb->protocol == htons(ETH_P_8021Q)) protocol 2007 drivers/net/ethernet/atheros/atlx/atl1.c skb->protocol = eth_type_trans(skb, adapter->netdev); protocol 2113 drivers/net/ethernet/atheros/atlx/atl1.c if (skb->protocol == htons(ETH_P_IP)) { protocol 2369 drivers/net/ethernet/atheros/atlx/atl1.c if (skb->protocol == htons(ETH_P_IP)) { protocol 434 drivers/net/ethernet/atheros/atlx/atl2.c skb->protocol = eth_type_trans(skb, netdev); protocol 263 drivers/net/ethernet/aurora/nb8800.c skb->protocol = eth_type_trans(skb, dev); protocol 850 drivers/net/ethernet/broadcom/b44.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 392 drivers/net/ethernet/broadcom/bcm63xx_enet.c skb->protocol = eth_type_trans(skb, dev); protocol 827 drivers/net/ethernet/broadcom/bcmsysport.c skb->protocol = eth_type_trans(skb, ndev); protocol 1242 drivers/net/ethernet/broadcom/bcmsysport.c ip_ver = skb->protocol; protocol 1245 drivers/net/ethernet/broadcom/bcmsysport.c ip_proto = ip_hdr(skb)->protocol; protocol 482 drivers/net/ethernet/broadcom/bgmac.c skb->protocol = eth_type_trans(skb, bgmac->net_dev); protocol 3255 drivers/net/ethernet/broadcom/bnx2.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 3258 drivers/net/ethernet/broadcom/bnx2.c skb->protocol != htons(0x8100) && protocol 3259 drivers/net/ethernet/broadcom/bnx2.c skb->protocol != htons(ETH_P_8021AD)) { protocol 735 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c switch (be16_to_cpu(skb->protocol)) { protocol 745 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c be16_to_cpu(skb->protocol)); protocol 798 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 1067 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 3341 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c __be16 protocol; protocol 3346 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c protocol = vlan_get_protocol(skb); protocol 3347 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (protocol == htons(ETH_P_IPV6)) { protocol 3352 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c prot = ip_hdr(skb)->protocol; protocol 3362 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (inner_ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 3601 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << protocol 3703 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c ((skb->protocol == cpu_to_be16(ETH_P_8021Q)) << protocol 3706 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) { protocol 3798 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c txq_index, skb->ip_summed, skb->protocol, ipv6_hdr(skb)->nexthdr, protocol 3799 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c ip_hdr(skb)->protocol, skb_shinfo(skb)->gso_type, xmit_type, protocol 716 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c app.protocol = ent->app_id; protocol 2523 drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c table[j++].protocol = ent->app_id; protocol 1302 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (iph->protocol == IPPROTO_UDP) protocol 1456 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_gro_tunnel(skb, skb->protocol); protocol 1612 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb->protocol = protocol 1833 drivers/net/ethernet/broadcom/bnxt/bnxt.c skb->protocol = eth_type_trans(skb, bnxt_get_pkt_dev(bp, cfa_code)); protocol 342 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (fw_app->protocol_id == cpu_to_be16(app->protocol) && protocol 354 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c fw_app->protocol_id = cpu_to_be16(app->protocol); protocol 427 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c dscp2pri->dscp = app->protocol; protocol 619 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c if (app->protocol > bp->max_dscp_value) protocol 643 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c app->protocol == ETH_P_IBOE) || protocol 645 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c app->protocol == ROCE_V2_UDP_DPORT)) protocol 671 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c app->protocol == ETH_P_IBOE) || protocol 673 drivers/net/ethernet/broadcom/bnxt/bnxt_dcb.c app->protocol == ROCE_V2_UDP_DPORT)) protocol 5703 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h u8 protocol; protocol 637 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c encap_ipv4->protocol = IPPROTO_UDP; protocol 1512 drivers/net/ethernet/broadcom/genet/bcmgenet.c ip_ver = skb->protocol; protocol 1515 drivers/net/ethernet/broadcom/genet/bcmgenet.c ip_proto = ip_hdr(skb)->protocol; protocol 1870 drivers/net/ethernet/broadcom/genet/bcmgenet.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 1146 drivers/net/ethernet/broadcom/sb1250-mac.c sb->protocol = eth_type_trans(sb,d->sbdma_eth->sbm_dev); protocol 6943 drivers/net/ethernet/broadcom/tg3.c skb->protocol = eth_type_trans(skb, tp->dev); protocol 6946 drivers/net/ethernet/broadcom/tg3.c skb->protocol != htons(ETH_P_8021Q) && protocol 6947 drivers/net/ethernet/broadcom/tg3.c skb->protocol != htons(ETH_P_8021AD)) { protocol 7971 drivers/net/ethernet/broadcom/tg3.c if (skb->protocol == htons(ETH_P_8021Q) || protocol 7972 drivers/net/ethernet/broadcom/tg3.c skb->protocol == htons(ETH_P_8021AD)) { protocol 8034 drivers/net/ethernet/broadcom/tg3.c if (skb->protocol == htons(ETH_P_8021Q) || protocol 8035 drivers/net/ethernet/broadcom/tg3.c skb->protocol == htons(ETH_P_8021AD)) { protocol 580 drivers/net/ethernet/brocade/bna/bnad.c skb->protocol = eth_type_trans(skb, bnad->netdev); protocol 2865 drivers/net/ethernet/brocade/bna/bnad.c proto = ip_hdr(skb)->protocol; protocol 1059 drivers/net/ethernet/cadence/macb_main.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 1161 drivers/net/ethernet/cadence/macb_main.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 1509 drivers/net/ethernet/cadence/macb_main.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 1676 drivers/net/ethernet/cadence/macb_main.c if (!skb_is_nonlinear(skb) || (ip_hdr(skb)->protocol != IPPROTO_UDP)) protocol 1800 drivers/net/ethernet/cadence/macb_main.c is_udp = !!(ip_hdr(skb)->protocol == IPPROTO_UDP); protocol 3821 drivers/net/ethernet/cadence/macb_main.c skb->protocol = eth_type_trans(skb, dev); protocol 1208 drivers/net/ethernet/calxeda/xgmac.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 658 drivers/net/ethernet/cavium/liquidio/lio_core.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 329 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 413 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c skb->protocol = eth_type_trans(skb, netdev); protocol 835 drivers/net/ethernet/cavium/thunder/nicvf_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 1367 drivers/net/ethernet/cavium/thunder/nicvf_queues.c proto = (ip.v4->version == 4) ? ip.v4->protocol : protocol 1376 drivers/net/ethernet/chelsio/cxgb/sge.c skb->protocol = eth_type_trans(skb, dev); protocol 1378 drivers/net/ethernet/chelsio/cxgb/sge.c skb->protocol == htons(ETH_P_IP) && protocol 1779 drivers/net/ethernet/chelsio/cxgb/sge.c if (skb->protocol == htons(ETH_P_CPL5)) protocol 1828 drivers/net/ethernet/chelsio/cxgb/sge.c ip_hdr(skb)->protocol == IPPROTO_UDP) { protocol 1840 drivers/net/ethernet/chelsio/cxgb/sge.c if (skb->protocol == htons(ETH_P_ARP) && protocol 920 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c skb->protocol = htons(0xffff); protocol 2051 drivers/net/ethernet/chelsio/cxgb3/sge.c return skb->protocol == htons(ETH_P_ARP); protocol 2086 drivers/net/ethernet/chelsio/cxgb3/sge.c skb->protocol = eth_type_trans(skb, adap->port[p->iff]); protocol 75 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c app.protocol = dcb->app_priority[i].protocolid; protocol 90 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c app.protocol, -err); protocol 367 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c .protocol = be16_to_cpu(fwap->protocolid), protocol 389 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c app.selector, app.protocol, app.priority, -err); protocol 906 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c .protocol = app_id, protocol 1032 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!(app->selector && app->protocol)) protocol 1036 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c prio = __cxgb4_getapp(dev, app->selector - 1, app->protocol, 0); protocol 1054 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!(app->selector && app->protocol)) protocol 1062 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ret = __cxgb4_setapp(dev, app->selector - 1, app->protocol, protocol 1171 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c table[i].protocol = protocol 1085 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c if (skb->protocol == htons(ETH_P_FCOE)) protocol 65 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c likely(skb->protocol == htons(ETH_P_IP)) && protocol 66 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c ip_hdr(skb)->protocol == IPPROTO_UDP && protocol 152 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c __be16 protocol = cls->common.protocol; protocol 164 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (protocol != htons(ETH_P_IP) && protocol != htons(ETH_P_IPV6)) protocol 193 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (protocol == htons(ETH_P_IPV6)) { protocol 1105 drivers/net/ethernet/chelsio/cxgb4/sge.c proto = (ver == 4) ? inner_ip_hdr(skb)->protocol : protocol 1109 drivers/net/ethernet/chelsio/cxgb4/sge.c proto = (ver == 4) ? ip_hdr(skb)->protocol : protocol 1191 drivers/net/ethernet/chelsio/cxgb4/sge.c if (skb->protocol != htons(ETH_P_FCOE)) protocol 1229 drivers/net/ethernet/chelsio/cxgb4/sge.c l4_hdr = ip_hdr(skb)->protocol; protocol 1579 drivers/net/ethernet/chelsio/cxgb4/sge.c if (skb->protocol == htons(ETH_P_FCOE)) protocol 2711 drivers/net/ethernet/chelsio/cxgb4/sge.c skb->protocol = htons(0xffff); protocol 3000 drivers/net/ethernet/chelsio/cxgb4/sge.c skb->protocol = eth_type_trans(skb, q->netdev); protocol 1086 drivers/net/ethernet/chelsio/cxgb4vf/sge.c if (iph->protocol == IPPROTO_TCP) protocol 1088 drivers/net/ethernet/chelsio/cxgb4vf/sge.c else if (iph->protocol == IPPROTO_UDP) protocol 1647 drivers/net/ethernet/chelsio/cxgb4vf/sge.c skb->protocol = eth_type_trans(skb, rspq->netdev); protocol 468 drivers/net/ethernet/cirrus/cs89x0.c skb->protocol = eth_type_trans(skb, dev); protocol 702 drivers/net/ethernet/cirrus/cs89x0.c skb->protocol = eth_type_trans(skb, dev); protocol 292 drivers/net/ethernet/cirrus/ep93xx_eth.c skb->protocol = eth_type_trans(skb, dev); protocol 471 drivers/net/ethernet/cirrus/mac89x0.c skb->protocol=eth_type_trans(skb,dev); protocol 28 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_TCP; protocol 31 drivers/net/ethernet/cisco/enic/enic_clsf.c data.u.ipv4.protocol = PROTO_UDP; protocol 300 drivers/net/ethernet/cisco/enic/enic_main.c proto = ip_hdr(skb)->protocol; protocol 694 drivers/net/ethernet/cisco/enic/enic_main.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { protocol 698 drivers/net/ethernet/cisco/enic/enic_main.c } else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) { protocol 1391 drivers/net/ethernet/cisco/enic/enic_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 596 drivers/net/ethernet/cisco/enic/vnic_devcmd.h u32 protocol; protocol 1155 drivers/net/ethernet/cortina/gemini.c if (skb->protocol == htons(ETH_P_8021Q)) protocol 1169 drivers/net/ethernet/cortina/gemini.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1171 drivers/net/ethernet/cortina/gemini.c tcp = ip_hdr(skb)->protocol == IPPROTO_TCP; protocol 1174 drivers/net/ethernet/davicom/dm9000.c skb->protocol = eth_type_trans(skb, dev); protocol 469 drivers/net/ethernet/dec/tulip/de2104x.c skb->protocol = eth_type_trans (skb, de->dev); protocol 1648 drivers/net/ethernet/dec/tulip/de4x5.c skb->protocol=eth_type_trans(skb,dev); protocol 1019 drivers/net/ethernet/dec/tulip/dmfe.c skb->protocol = eth_type_trans(skb, dev); protocol 249 drivers/net/ethernet/dec/tulip/interrupt.c skb->protocol = eth_type_trans(skb, dev); protocol 475 drivers/net/ethernet/dec/tulip/interrupt.c skb->protocol = eth_type_trans(skb, dev); protocol 864 drivers/net/ethernet/dec/tulip/uli526x.c skb->protocol = eth_type_trans(skb, dev); protocol 1253 drivers/net/ethernet/dec/tulip/winbond-840.c skb->protocol = eth_type_trans(skb, dev); protocol 1126 drivers/net/ethernet/dec/tulip/xircom_cb.c skb->protocol = eth_type_trans(skb, dev); protocol 981 drivers/net/ethernet/dlink/dl2k.c skb->protocol = eth_type_trans (skb, dev); protocol 1401 drivers/net/ethernet/dlink/sundance.c skb->protocol = eth_type_trans(skb, dev); protocol 400 drivers/net/ethernet/dnet.c skb->protocol = eth_type_trans(skb, dev); protocol 218 drivers/net/ethernet/ec_bhf.c skb->protocol = eth_type_trans(skb, priv->net_dev); protocol 902 drivers/net/ethernet/emulex/benet/be.h val = (ip_hdr(skb)->protocol == IPPROTO_TCP); protocol 914 drivers/net/ethernet/emulex/benet/be.h val = (ip_hdr(skb)->protocol == IPPROTO_UDP); protocol 923 drivers/net/ethernet/emulex/benet/be.h return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; protocol 808 drivers/net/ethernet/emulex/benet/be_main.c inner_ip_hdr(skb)->protocol : inner_ipv6_hdr(skb)->nexthdr; protocol 814 drivers/net/ethernet/emulex/benet/be_main.c ip_hdr(skb)->protocol : ipv6_hdr(skb)->nexthdr; protocol 1137 drivers/net/ethernet/emulex/benet/be_main.c eth_hdr_len = ntohs(skb->protocol) == ETH_P_8021Q ? protocol 1269 drivers/net/ethernet/emulex/benet/be_main.c #define is_arp(skb) (skb->protocol == htons(ETH_P_ARP)) protocol 1318 drivers/net/ethernet/emulex/benet/be_main.c if ((*skb)->protocol == htons(ETH_P_IPV6)) { protocol 1463 drivers/net/ethernet/emulex/benet/be_main.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) { protocol 1473 drivers/net/ethernet/emulex/benet/be_main.c } else if (ip_hdr(skb)->protocol == protocol 1482 drivers/net/ethernet/emulex/benet/be_main.c j, skb, skb->len, skb->protocol); protocol 2415 drivers/net/ethernet/emulex/benet/be_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 5239 drivers/net/ethernet/emulex/benet/be_main.c l4_hdr = ip_hdr(skb)->protocol; protocol 451 drivers/net/ethernet/ethoc.c skb->protocol = eth_type_trans(skb, dev); protocol 118 drivers/net/ethernet/ezchip/nps_enet.c skb->protocol = eth_type_trans(skb, ndev); protocol 556 drivers/net/ethernet/faraday/ftgmac100.c skb->protocol = eth_type_trans(skb, netdev); protocol 685 drivers/net/ethernet/faraday/ftgmac100.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { protocol 686 drivers/net/ethernet/faraday/ftgmac100.c u8 ip_proto = ip_hdr(skb)->protocol; protocol 445 drivers/net/ethernet/faraday/ftmac100.c skb->protocol = eth_type_trans(skb, netdev); protocol 1726 drivers/net/ethernet/fealnx.c skb->protocol = eth_type_trans(skb, dev); protocol 1402 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c u16 ethertype = ntohs(skb->protocol); protocol 1437 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c l4_proto = iph->protocol; protocol 1450 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c ntohs(skb->protocol)); protocol 2348 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c skb->protocol = eth_type_trans(skb, net_dev); protocol 432 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c skb->protocol = eth_type_trans(skb, priv->net_dev); protocol 75 drivers/net/ethernet/freescale/enetc/enetc.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 534 drivers/net/ethernet/freescale/enetc/enetc.c skb->protocol = eth_type_trans(skb, rx_ring->ndev); protocol 363 drivers/net/ethernet/freescale/fec_main.c return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; protocol 1534 drivers/net/ethernet/freescale/fec_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 429 drivers/net/ethernet/freescale/fec_mpc52xx.c rskb->protocol = eth_type_trans(rskb, dev); protocol 276 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c skb->protocol = eth_type_trans(skb, dev); protocol 1735 drivers/net/ethernet/freescale/gianfar.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) { protocol 2597 drivers/net/ethernet/freescale/gianfar.c skb->protocol = eth_type_trans(skb, ndev); protocol 3197 drivers/net/ethernet/freescale/ucc_geth.c skb->protocol = eth_type_trans(skb, ugeth->ndev); protocol 1005 drivers/net/ethernet/fujitsu/fmvj18x_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 244 drivers/net/ethernet/google/gve/gve_rx.c skb->protocol = eth_type_trans(skb, dev); protocol 618 drivers/net/ethernet/hisilicon/hip04_eth.c skb->protocol = eth_type_trans(skb, ndev); protocol 283 drivers/net/ethernet/hisilicon/hisi_femac.c skb->protocol = eth_type_trans(skb, dev); protocol 550 drivers/net/ethernet/hisilicon/hix5hd2_gmac.c skb->protocol = eth_type_trans(skb, dev); protocol 45 drivers/net/ethernet/hisilicon/hns/hns_enet.c __be16 protocol; protocol 75 drivers/net/ethernet/hisilicon/hns/hns_enet.c protocol = skb->protocol; protocol 78 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (protocol == htons(ETH_P_8021Q)) { protocol 80 drivers/net/ethernet/hisilicon/hns/hns_enet.c protocol = vlan_get_protocol(skb); protocol 81 drivers/net/ethernet/hisilicon/hns/hns_enet.c skb->protocol = protocol; protocol 84 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (skb->protocol == htons(ETH_P_IP)) { protocol 90 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (iphdr->protocol == IPPROTO_TCP && protocol 98 drivers/net/ethernet/hisilicon/hns/hns_enet.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 151 drivers/net/ethernet/hisilicon/hns/hns_enet.c __be16 protocol; protocol 173 drivers/net/ethernet/hisilicon/hns/hns_enet.c protocol = skb->protocol; protocol 177 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (protocol == htons(ETH_P_8021Q)) { protocol 179 drivers/net/ethernet/hisilicon/hns/hns_enet.c protocol = vlan_get_protocol(skb); protocol 180 drivers/net/ethernet/hisilicon/hns/hns_enet.c skb->protocol = protocol; protocol 183 drivers/net/ethernet/hisilicon/hns/hns_enet.c if (skb->protocol == htons(ETH_P_IP)) { protocol 188 drivers/net/ethernet/hisilicon/hns/hns_enet.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 701 drivers/net/ethernet/hisilicon/hns/hns_enet.c skb->protocol = eth_type_trans(skb, ndev); protocol 755 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 761 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c } else if (skb->protocol == htons(ETH_P_IP)) { protocol 762 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4_proto_tmp = l3.v4->protocol; protocol 786 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c l4_proto_tmp = l3.v4->protocol; protocol 840 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (skb->protocol == htons(ETH_P_IP)) { protocol 850 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 982 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (!(skb->protocol == htons(ETH_P_8021Q) || protocol 994 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (skb->protocol == htons(ETH_P_8021Q) && protocol 1000 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb->protocol = vlan_get_protocol(skb); protocol 1008 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c if (skb->protocol == htons(ETH_P_8021Q) && protocol 1015 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb->protocol = vlan_get_protocol(skb); protocol 1027 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb->protocol = vlan_get_protocol(skb); protocol 2466 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c __be16 type = skb->protocol; protocol 2840 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c skb->protocol = eth_type_trans(skb, netdev); protocol 1827 drivers/net/ethernet/hp/hp100.c skb->protocol = eth_type_trans(skb, dev); protocol 1921 drivers/net/ethernet/hp/hp100.c ptr->skb->protocol = protocol 388 drivers/net/ethernet/huawei/hinic/hinic_rx.c skb->protocol = eth_type_trans(skb, rxq->netdev); protocol 212 drivers/net/ethernet/huawei/hinic/hinic_tx.c *l4_proto = ip->v4->protocol; protocol 815 drivers/net/ethernet/i825xx/82596.c skb->protocol=eth_type_trans(skb,dev); protocol 868 drivers/net/ethernet/i825xx/ether1.c skb->protocol = eth_type_trans (skb, dev); protocol 737 drivers/net/ethernet/i825xx/lib82596.c skb->protocol = eth_type_trans(skb, dev); protocol 787 drivers/net/ethernet/i825xx/sun3_82586.c skb->protocol=eth_type_trans(skb,dev); protocol 546 drivers/net/ethernet/ibm/ehea/ehea_main.c skb->protocol = eth_type_trans(skb, dev); protocol 1966 drivers/net/ethernet/ibm/ehea/ehea_main.c switch (ip_hdr(skb)->protocol) { protocol 1805 drivers/net/ethernet/ibm/emac/core.c skb->protocol = eth_type_trans(skb, dev->ndev); protocol 1045 drivers/net/ethernet/ibm/ibmveth.c ((skb->protocol == htons(ETH_P_IP) && protocol 1046 drivers/net/ethernet/ibm/ibmveth.c ip_hdr(skb)->protocol != IPPROTO_TCP) || protocol 1047 drivers/net/ethernet/ibm/ibmveth.c (skb->protocol == htons(ETH_P_IPV6) && protocol 1190 drivers/net/ethernet/ibm/ibmveth.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1193 drivers/net/ethernet/ibm/ibmveth.c if (iph->protocol == IPPROTO_TCP) { protocol 1199 drivers/net/ethernet/ibm/ibmveth.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1240 drivers/net/ethernet/ibm/ibmveth.c skb_proto = be16_to_cpu(skb->protocol); protocol 1255 drivers/net/ethernet/ibm/ibmveth.c iph_proto = iph->protocol; protocol 1354 drivers/net/ethernet/ibm/ibmveth.c skb->protocol = eth_type_trans(skb, netdev); protocol 1276 drivers/net/ethernet/ibm/ibmvnic.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1278 drivers/net/ethernet/ibm/ibmvnic.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 1280 drivers/net/ethernet/ibm/ibmvnic.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 1282 drivers/net/ethernet/ibm/ibmvnic.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1288 drivers/net/ethernet/ibm/ibmvnic.c } else if (skb->protocol == htons(ETH_P_ARP)) { protocol 1527 drivers/net/ethernet/ibm/ibmvnic.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1529 drivers/net/ethernet/ibm/ibmvnic.c proto = ip_hdr(skb)->protocol; protocol 1530 drivers/net/ethernet/ibm/ibmvnic.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 2278 drivers/net/ethernet/ibm/ibmvnic.c skb->protocol = eth_type_trans(skb, netdev); protocol 2020 drivers/net/ethernet/intel/e100.c skb->protocol = eth_type_trans(skb, nic->netdev); protocol 2689 drivers/net/ethernet/intel/e1000/e1000_main.c __be16 protocol) protocol 2707 drivers/net/ethernet/intel/e1000/e1000_main.c if (protocol == htons(ETH_P_IP)) { protocol 2763 drivers/net/ethernet/intel/e1000/e1000_main.c __be16 protocol) protocol 2774 drivers/net/ethernet/intel/e1000/e1000_main.c switch (protocol) { protocol 2776 drivers/net/ethernet/intel/e1000/e1000_main.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 2787 drivers/net/ethernet/intel/e1000/e1000_main.c skb->protocol); protocol 3111 drivers/net/ethernet/intel/e1000/e1000_main.c __be16 protocol = vlan_get_protocol(skb); protocol 3222 drivers/net/ethernet/intel/e1000/e1000_main.c tso = e1000_tso(adapter, tx_ring, skb, protocol); protocol 3232 drivers/net/ethernet/intel/e1000/e1000_main.c } else if (likely(e1000_tx_csum(adapter, tx_ring, skb, protocol))) protocol 3235 drivers/net/ethernet/intel/e1000/e1000_main.c if (protocol == htons(ETH_P_IP)) protocol 3991 drivers/net/ethernet/intel/e1000/e1000_main.c skb->protocol = eth_type_trans(skb, adapter->netdev); protocol 559 drivers/net/ethernet/intel/e1000e/netdev.c skb->protocol = eth_type_trans(skb, netdev); protocol 5433 drivers/net/ethernet/intel/e1000e/netdev.c __be16 protocol) protocol 5452 drivers/net/ethernet/intel/e1000e/netdev.c if (protocol == htons(ETH_P_IP)) { protocol 5501 drivers/net/ethernet/intel/e1000e/netdev.c __be16 protocol) protocol 5513 drivers/net/ethernet/intel/e1000e/netdev.c switch (protocol) { protocol 5515 drivers/net/ethernet/intel/e1000e/netdev.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 5526 drivers/net/ethernet/intel/e1000e/netdev.c be16_to_cpu(protocol)); protocol 5739 drivers/net/ethernet/intel/e1000e/netdev.c if (ip->protocol != IPPROTO_UDP) protocol 5799 drivers/net/ethernet/intel/e1000e/netdev.c __be16 protocol = vlan_get_protocol(skb); protocol 5871 drivers/net/ethernet/intel/e1000e/netdev.c tso = e1000_tso(tx_ring, skb, protocol); protocol 5879 drivers/net/ethernet/intel/e1000e/netdev.c else if (e1000_tx_csum(tx_ring, skb, protocol)) protocol 5886 drivers/net/ethernet/intel/e1000e/netdev.c if (protocol == htons(ETH_P_IP)) protocol 439 drivers/net/ethernet/intel/fm10k/fm10k_main.c skb->protocol = eth_type_trans(skb, dev); protocol 698 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = ip_hdr(skb)->protocol; protocol 723 drivers/net/ethernet/intel/fm10k/fm10k_main.c inner_l4_hdr = inner_ip_hdr(skb)->protocol; protocol 812 drivers/net/ethernet/intel/fm10k/fm10k_main.c __be16 protocol; protocol 819 drivers/net/ethernet/intel/fm10k/fm10k_main.c protocol = fm10k_tx_encap_offload(skb); protocol 820 drivers/net/ethernet/intel/fm10k/fm10k_main.c if (!protocol) { protocol 831 drivers/net/ethernet/intel/fm10k/fm10k_main.c protocol = vlan_get_protocol(skb); protocol 836 drivers/net/ethernet/intel/fm10k/fm10k_main.c switch (protocol) { protocol 838 drivers/net/ethernet/intel/fm10k/fm10k_main.c l4_hdr = network_hdr.ipv4->protocol; protocol 867 drivers/net/ethernet/intel/fm10k/fm10k_main.c protocol, l4_hdr); protocol 636 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if ((skb->protocol == htons(ETH_P_8021Q)) && protocol 668 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c skb->protocol = (ntohs(proto) >= 1536) ? proto : protocol 397 drivers/net/ethernet/intel/i40e/i40e_dcb.c dcbcfg->app[i].protocolid = ntohs(app->protocol); protocol 113 drivers/net/ethernet/intel/i40e/i40e_dcb.h __be16 protocol; protocol 173 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c sapp.protocol = dcbxcfg->app[i].protocolid; protocol 201 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c sapp.protocol = app->protocolid; protocol 421 drivers/net/ethernet/intel/i40e/i40e_txrx.c ip->protocol = 0; protocol 1806 drivers/net/ethernet/intel/i40e/i40e_txrx.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 2708 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = hdr.ipv4->protocol; protocol 2816 drivers/net/ethernet/intel/i40e/i40e_txrx.c __be16 protocol = skb->protocol; protocol 2819 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (protocol == htons(ETH_P_8021Q) && protocol 2828 drivers/net/ethernet/intel/i40e/i40e_txrx.c skb->protocol = vlan_get_protocol(skb); protocol 2837 drivers/net/ethernet/intel/i40e/i40e_txrx.c } else if (protocol == htons(ETH_P_8021Q)) { protocol 2844 drivers/net/ethernet/intel/i40e/i40e_txrx.c protocol = vhdr->h_vlan_encapsulated_proto; protocol 3076 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = ip.v4->protocol; protocol 3144 drivers/net/ethernet/intel/i40e/i40e_txrx.c l4_proto = ip.v4->protocol; protocol 3566 drivers/net/ethernet/intel/i40e/i40e_txrx.c __be16 protocol; protocol 3609 drivers/net/ethernet/intel/i40e/i40e_txrx.c protocol = vlan_get_protocol(skb); protocol 3612 drivers/net/ethernet/intel/i40e/i40e_txrx.c if (protocol == htons(ETH_P_IP)) protocol 3614 drivers/net/ethernet/intel/i40e/i40e_txrx.c else if (protocol == htons(ETH_P_IPV6)) protocol 1093 drivers/net/ethernet/intel/iavf/iavf_txrx.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 1806 drivers/net/ethernet/intel/iavf/iavf_txrx.c __be16 protocol = skb->protocol; protocol 1809 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (protocol == htons(ETH_P_8021Q) && protocol 1818 drivers/net/ethernet/intel/iavf/iavf_txrx.c skb->protocol = vlan_get_protocol(skb); protocol 1827 drivers/net/ethernet/intel/iavf/iavf_txrx.c } else if (protocol == htons(ETH_P_8021Q)) { protocol 1834 drivers/net/ethernet/intel/iavf/iavf_txrx.c protocol = vhdr->h_vlan_encapsulated_proto; protocol 1998 drivers/net/ethernet/intel/iavf/iavf_txrx.c l4_proto = ip.v4->protocol; protocol 2066 drivers/net/ethernet/intel/iavf/iavf_txrx.c l4_proto = ip.v4->protocol; protocol 2416 drivers/net/ethernet/intel/iavf/iavf_txrx.c __be16 protocol; protocol 2458 drivers/net/ethernet/intel/iavf/iavf_txrx.c protocol = vlan_get_protocol(skb); protocol 2461 drivers/net/ethernet/intel/iavf/iavf_txrx.c if (protocol == htons(ETH_P_IP)) protocol 2463 drivers/net/ethernet/intel/iavf/iavf_txrx.c else if (protocol == htons(ETH_P_IPV6)) protocol 532 drivers/net/ethernet/intel/ice/ice_dcb.c dcbcfg->app[i].prot_id = ntohs(app->protocol); protocol 116 drivers/net/ethernet/intel/ice/ice_dcb.h __be16 protocol; protocol 970 drivers/net/ethernet/intel/ice/ice_txrx.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 1754 drivers/net/ethernet/intel/ice/ice_txrx.c __be16 frag_off, protocol; protocol 1773 drivers/net/ethernet/intel/ice/ice_txrx.c protocol = vlan_get_protocol(skb); protocol 1774 drivers/net/ethernet/intel/ice/ice_txrx.c if (protocol == htons(ETH_P_IP)) { protocol 1775 drivers/net/ethernet/intel/ice/ice_txrx.c l4_proto = ip.v4->protocol; protocol 1784 drivers/net/ethernet/intel/ice/ice_txrx.c } else if (protocol == htons(ETH_P_IPV6)) { protocol 1847 drivers/net/ethernet/intel/ice/ice_txrx.c __be16 protocol = skb->protocol; protocol 1849 drivers/net/ethernet/intel/ice/ice_txrx.c if (protocol == htons(ETH_P_8021Q) && protocol 1858 drivers/net/ethernet/intel/ice/ice_txrx.c skb->protocol = vlan_get_protocol(skb); protocol 1866 drivers/net/ethernet/intel/ice/ice_txrx.c } else if (protocol == htons(ETH_P_8021Q)) { protocol 206 drivers/net/ethernet/intel/igb/igb.h __be16 protocol; protocol 5803 drivers/net/ethernet/intel/igb/igb_main.c if (((first->protocol == htons(ETH_P_IP)) && protocol 5804 drivers/net/ethernet/intel/igb/igb_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || protocol 5805 drivers/net/ethernet/intel/igb/igb_main.c ((first->protocol == htons(ETH_P_IPV6)) && protocol 6068 drivers/net/ethernet/intel/igb/igb_main.c __be16 protocol = vlan_get_protocol(skb); protocol 6117 drivers/net/ethernet/intel/igb/igb_main.c first->protocol = protocol; protocol 8259 drivers/net/ethernet/intel/igb/igb_main.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 8819 drivers/net/ethernet/intel/igb/igb_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 351 drivers/net/ethernet/intel/igbvf/netdev.c skb->protocol = eth_type_trans(skb, netdev); protocol 2081 drivers/net/ethernet/intel/igbvf/netdev.c u32 tx_flags, __be16 protocol) protocol 2101 drivers/net/ethernet/intel/igbvf/netdev.c if (((protocol == htons(ETH_P_IP)) && protocol 2102 drivers/net/ethernet/intel/igbvf/netdev.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || protocol 2103 drivers/net/ethernet/intel/igbvf/netdev.c ((protocol == htons(ETH_P_IPV6)) && protocol 2293 drivers/net/ethernet/intel/igbvf/netdev.c __be16 protocol = vlan_get_protocol(skb); protocol 2322 drivers/net/ethernet/intel/igbvf/netdev.c if (protocol == htons(ETH_P_IP)) protocol 2335 drivers/net/ethernet/intel/igbvf/netdev.c else if (igbvf_tx_csum(tx_ring, skb, tx_flags, protocol) && protocol 189 drivers/net/ethernet/intel/igc/igc.h __be16 protocol; protocol 866 drivers/net/ethernet/intel/igc/igc_main.c if ((first->protocol == htons(ETH_P_IP) && protocol 867 drivers/net/ethernet/intel/igc/igc_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || protocol 868 drivers/net/ethernet/intel/igc/igc_main.c (first->protocol == htons(ETH_P_IPV6) && protocol 1100 drivers/net/ethernet/intel/igc/igc_main.c __be16 protocol = vlan_get_protocol(skb); protocol 1129 drivers/net/ethernet/intel/igc/igc_main.c first->protocol = protocol; protocol 1194 drivers/net/ethernet/intel/igc/igc_main.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 2015 drivers/net/ethernet/intel/ixgb/ixgb_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 220 drivers/net/ethernet/intel/ixgbe/ixgbe.h __be16 protocol; protocol 36 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c .protocol = ETH_P_FCOE, protocol 371 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c .protocol = ETH_P_FCOE, protocol 478 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c .protocol = id, protocol 632 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c app->protocol == ETH_P_FCOE) { protocol 645 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c app->protocol == 0) { protocol 675 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c app->protocol == ETH_P_FCOE) { protocol 688 drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c app->protocol == 0 && adapter->default_up == app->priority) { protocol 1105 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (first->protocol == htons(ETH_P_IP)) protocol 1713 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c skb->protocol = eth_type_trans(skb, dev); protocol 7404 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c .protocol = 0, protocol 7981 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (eth_p_mpls(first->protocol)) protocol 8081 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (((first->protocol == htons(ETH_P_IP)) && protocol 8082 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || protocol 8083 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ((first->protocol == htons(ETH_P_IPV6)) && protocol 8382 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((first->protocol != htons(ETH_P_IP)) && protocol 8383 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (first->protocol != htons(ETH_P_IPV6))) protocol 8392 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->protocol == htons(ETH_P_IP) && protocol 8393 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hdr.ipv4->protocol == IPPROTO_UDP) { protocol 8421 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c l4_proto = hdr.ipv4->protocol; protocol 8470 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c common.port.src ^= th->dest ^ first->protocol; protocol 8571 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c tx_buffer->protocol = 0; protocol 8615 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c __be16 protocol = skb->protocol; protocol 8645 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c } else if (protocol == htons(ETH_P_8021Q)) { protocol 8655 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c protocol = vlan_get_protocol(skb); protocol 8705 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c first->protocol = protocol; protocol 8709 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if ((protocol == htons(ETH_P_FCOE)) && protocol 9407 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c __be16 protocol = cls->common.protocol; protocol 9428 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (protocol != htons(ETH_P_IP)) protocol 492 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (first->protocol == htons(ETH_P_IP)) protocol 39 drivers/net/ethernet/intel/ixgbevf/ixgbevf.h __be16 protocol; protocol 526 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c skb->protocol = eth_type_trans(skb, rx_ring->netdev); protocol 1010 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c tx_buffer->protocol = 0; protocol 3769 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (eth_p_mpls(first->protocol)) protocol 3865 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (((first->protocol == htons(ETH_P_IP)) && protocol 3866 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c (ip_hdr(skb)->protocol == IPPROTO_SCTP)) || protocol 3867 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ((first->protocol == htons(ETH_P_IPV6)) && protocol 3878 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c if (first->protocol == htons(ETH_P_IP)) protocol 4163 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c first->protocol = vlan_get_protocol(skb); protocol 947 drivers/net/ethernet/jme.c if (skb->protocol != htons(ETH_P_IP)) protocol 950 drivers/net/ethernet/jme.c if ((ip_hdr(skb)->protocol != IPPROTO_UDP) || protocol 1026 drivers/net/ethernet/jme.c skb->protocol = eth_type_trans(skb, jme->dev); protocol 2071 drivers/net/ethernet/jme.c if (skb->protocol == htons(ETH_P_IP)) { protocol 2100 drivers/net/ethernet/jme.c switch (skb->protocol) { protocol 2102 drivers/net/ethernet/jme.c ip_proto = ip_hdr(skb)->protocol; protocol 411 drivers/net/ethernet/korina.c skb->protocol = eth_type_trans(skb, dev); protocol 142 drivers/net/ethernet/lantiq_etop.c skb->protocol = eth_type_trans(skb, ch->netdev); protocol 204 drivers/net/ethernet/lantiq_xrx200.c skb->protocol = eth_type_trans(skb, net_dev); protocol 569 drivers/net/ethernet/marvell/mv643xx_eth.c skb->protocol = eth_type_trans(skb, mp->dev); protocol 684 drivers/net/ethernet/marvell/mv643xx_eth.c BUG_ON(skb->protocol != htons(ETH_P_IP) && protocol 685 drivers/net/ethernet/marvell/mv643xx_eth.c skb->protocol != htons(ETH_P_8021Q)); protocol 709 drivers/net/ethernet/marvell/mv643xx_eth.c switch (ip_hdr(skb)->protocol) { protocol 1859 drivers/net/ethernet/marvell/mvneta.c l4_proto = ip4h->protocol; protocol 2085 drivers/net/ethernet/marvell/mvneta.c rxq->skb->protocol = eth_type_trans(rxq->skb, dev); protocol 2175 drivers/net/ethernet/marvell/mvneta.c skb->protocol = eth_type_trans(skb, dev); protocol 2217 drivers/net/ethernet/marvell/mvneta.c skb->protocol = eth_type_trans(skb, dev); protocol 2898 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c l4_proto = ip4h->protocol; protocol 2994 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c skb->protocol = eth_type_trans(skb, dev); protocol 831 drivers/net/ethernet/marvell/pxa168_eth.c skb->protocol = eth_type_trans(skb, dev); protocol 2767 drivers/net/ethernet/marvell/skge.c if (ipip_hdr(skb)->protocol == IPPROTO_UDP && protocol 3115 drivers/net/ethernet/marvell/skge.c skb->protocol = eth_type_trans(skb, dev); protocol 1907 drivers/net/ethernet/marvell/sky2.c if (ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 2753 drivers/net/ethernet/marvell/sky2.c skb->protocol = eth_type_trans(skb, dev); protocol 1306 drivers/net/ethernet/mediatek/mtk_eth_soc.c skb->protocol = eth_type_trans(skb, netdev); protocol 262 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c .protocol = id, protocol 281 drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c app.protocol = id; protocol 359 drivers/net/ethernet/mellanox/mlx4/en_main.c .protocol = MLX4_PROT_ETH, protocol 374 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if (skb->protocol != htons(ETH_P_IP)) protocol 381 drivers/net/ethernet/mellanox/mlx4/en_netdev.c if ((ip->protocol != IPPROTO_TCP) && (ip->protocol != IPPROTO_UDP)) protocol 385 drivers/net/ethernet/mellanox/mlx4/en_netdev.c ip_proto = ip->protocol; protocol 584 drivers/net/ethernet/mellanox/mlx4/en_rx.c __u8 ipproto = iph->protocol; protocol 1029 drivers/net/ethernet/mellanox/mlx4/en_tx.c proto = (ip.v4->version == 4) ? ip.v4->protocol : protocol 103 drivers/net/ethernet/mellanox/mlx4/intf.c "SRIOV, disabling HA mode for intf proto %d\n", intf->protocol); protocol 176 drivers/net/ethernet/mellanox/mlx4/intf.c dev_ctx->intf->protocol, enable ? protocol 258 drivers/net/ethernet/mellanox/mlx4/intf.c if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) { protocol 252 drivers/net/ethernet/mellanox/mlx5/core/dev.c static bool mlx5_has_added_dev_by_protocol(struct mlx5_core_dev *mdev, int protocol) protocol 259 drivers/net/ethernet/mellanox/mlx5/core/dev.c if (intf->protocol == protocol) { protocol 270 drivers/net/ethernet/mellanox/mlx5/core/dev.c void mlx5_reload_interface(struct mlx5_core_dev *mdev, int protocol) protocol 273 drivers/net/ethernet/mellanox/mlx5/core/dev.c if (mlx5_has_added_dev_by_protocol(mdev, protocol)) { protocol 274 drivers/net/ethernet/mellanox/mlx5/core/dev.c mlx5_remove_dev_by_protocol(mdev, protocol); protocol 275 drivers/net/ethernet/mellanox/mlx5/core/dev.c mlx5_add_dev_by_protocol(mdev, protocol); protocol 281 drivers/net/ethernet/mellanox/mlx5/core/dev.c void mlx5_add_dev_by_protocol(struct mlx5_core_dev *dev, int protocol) protocol 286 drivers/net/ethernet/mellanox/mlx5/core/dev.c if (intf->protocol == protocol) { protocol 293 drivers/net/ethernet/mellanox/mlx5/core/dev.c void mlx5_remove_dev_by_protocol(struct mlx5_core_dev *dev, int protocol) protocol 298 drivers/net/ethernet/mellanox/mlx5/core/dev.c if (intf->protocol == protocol) { protocol 289 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c &ip->protocol, e); protocol 42 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_gre.c greh->protocol = htons(ETH_P_TEB); protocol 61 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h l4_proto = ip_hdr(skb)->protocol; protocol 81 drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol; protocol 125 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c if (skb->protocol == htons(ETH_P_IP)) { protocol 150 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c swp_spec.l3_proto = skb->protocol; protocol 158 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol; protocol 161 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c swp_spec.tun_l3_proto = skb->protocol; protocol 263 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c (skb->protocol != htons(ETH_P_IP) && protocol 264 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c skb->protocol != htons(ETH_P_IPV6)))) { protocol 451 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c (app->protocol >= MLX5E_MAX_DSCP)) protocol 456 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.protocol = app->protocol; protocol 457 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.priority = priv->dcbx_dp.dscp2prio[app->protocol]; protocol 467 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) { protocol 468 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5e_set_dscp2prio(priv, app->protocol, app->priority); protocol 504 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c (app->protocol >= MLX5E_MAX_DSCP)) protocol 512 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) protocol 521 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c err = mlx5e_set_dscp2prio(priv, app->protocol, 0); protocol 1080 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c temp.protocol = i; protocol 4276 drivers/net/ethernet/mellanox/mlx5/core/en_main.c proto = ip_hdr(skb)->protocol; protocol 5505 drivers/net/ethernet/mellanox/mlx5/core/en_main.c .protocol = MLX5_INTERFACE_PROTOCOL_ETH, protocol 827 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c return (proto == htons(ETH_P_IP)) ? ((struct iphdr *)ip_p)->protocol : protocol 1024 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb->protocol = eth_type_trans(skb, netdev); protocol 1480 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c skb->protocol = *((__be16 *)(skb->data)); protocol 146 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c iph->protocol = IPPROTO_UDP; protocol 166 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c skb->protocol = htons(ETH_P_IP); protocol 201 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c if (iph->protocol != IPPROTO_UDP) protocol 2615 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c __u8 protocol; protocol 2642 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c ttl_word->protocol || protocol 61 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c if (skb->protocol == htons(ETH_P_IP)) protocol 63 drivers/net/ethernet/mellanox/mlx5/core/en_tx.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 716 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (intf->protocol != MLX5_INTERFACE_PROTOCOL_IB) protocol 187 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h void mlx5_add_dev_by_protocol(struct mlx5_core_dev *dev, int protocol); protocol 188 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h void mlx5_remove_dev_by_protocol(struct mlx5_core_dev *dev, int protocol); protocol 234 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h void mlx5_reload_interface(struct mlx5_core_dev *mdev, int protocol); protocol 1218 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c protocol, mask, ip_protocol); protocol 1246 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(eth_l3_ipv4_5_tuple, tag, protocol, spec, ip_protocol); protocol 1590 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_MASK_V(eth_l4, bit_mask, protocol, mask, ip_protocol); protocol 1614 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(eth_l4, tag, protocol, spec, ip_protocol); protocol 352 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 protocol[0x8]; protocol 418 drivers/net/ethernet/mellanox/mlx5/core/steering/mlx5_ifc_dr.h u8 protocol[0x8]; protocol 2526 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, pemrbt, protocol, 0x00, 0, 1); protocol 2536 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pemrbt_pack(char *payload, enum mlxsw_reg_pemrbt_protocol protocol, protocol 2540 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_pemrbt_protocol_set(payload, protocol); protocol 6640 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ralta, protocol, 0x00, 24, 4); protocol 6651 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 6656 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralta_protocol_set(payload, protocol); protocol 6752 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, raltb, protocol, 0x00, 12, 4); protocol 6763 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 6768 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_raltb_protocol_set(payload, protocol); protocol 6786 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, ralue, protocol, 0x00, 24, 4); protocol 6977 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 6982 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_protocol_set(payload, protocol); protocol 6992 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 6997 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_pack(payload, protocol, op, virtual_router, prefix_len); protocol 7002 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 7007 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_ralue_pack(payload, protocol, op, virtual_router, prefix_len); protocol 7220 drivers/net/ethernet/mellanox/mlxsw/reg.h MLXSW_ITEM32(reg, raleu, protocol, 0x00, 24, 4); protocol 7254 drivers/net/ethernet/mellanox/mlxsw/reg.h enum mlxsw_reg_ralxx_protocol protocol, protocol 7261 drivers/net/ethernet/mellanox/mlxsw/reg.h mlxsw_reg_raleu_protocol_set(payload, protocol); protocol 1423 drivers/net/ethernet/mellanox/mlxsw/spectrum.c __be16 protocol = f->common.protocol; protocol 1439 drivers/net/ethernet/mellanox/mlxsw/spectrum.c if (act->id == FLOW_ACTION_MIRRED && protocol == htons(ETH_P_ALL)) { protocol 1448 drivers/net/ethernet/mellanox/mlxsw/spectrum.c protocol == htons(ETH_P_ALL)) { protocol 4281 drivers/net/ethernet/mellanox/mlxsw/spectrum.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 35 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c enum mlxsw_reg_pemrbt_protocol protocol, protocol 43 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c mlxsw_reg_pemrbt_pack(pemrbt_pl, protocol, group_id); protocol 240 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c if (app->protocol >= 64) { protocol 242 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c app->protocol); protocol 251 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c app->priority, app->protocol, prio); protocol 254 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c app->priority, app->protocol, prio); protocol 259 drivers/net/ethernet/mellanox/mlxsw/spectrum_dcb.c if (app->protocol) { protocol 307 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c ip_tunnel_init_flow(&fl4, parms.iph.protocol, *daddrp, *saddrp, protocol 80 drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 1369 drivers/net/ethernet/mellanox/mlxsw/switchx2.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 622 drivers/net/ethernet/micrel/ks8842.c skb->protocol = eth_type_trans(skb, netdev); protocol 677 drivers/net/ethernet/micrel/ks8842.c skb->protocol = eth_type_trans(skb, netdev); protocol 565 drivers/net/ethernet/micrel/ks8851.c skb->protocol = eth_type_trans(skb, ks->netdev); protocol 510 drivers/net/ethernet/micrel/ks8851_mll.c skb->protocol = eth_type_trans(skb, netdev); protocol 4810 drivers/net/ethernet/micrel/ksz884x.c skb->protocol = old->protocol; protocol 4863 drivers/net/ethernet/micrel/ksz884x.c skb->protocol == htons(ETH_P_IPV6))) { protocol 4963 drivers/net/ethernet/micrel/ksz884x.c unsigned short protocol; protocol 4966 drivers/net/ethernet/micrel/ksz884x.c protocol = skb->protocol; protocol 4969 drivers/net/ethernet/micrel/ksz884x.c if (protocol == htons(ETH_P_8021Q)) { protocol 4970 drivers/net/ethernet/micrel/ksz884x.c protocol = iph->tot_len; protocol 4974 drivers/net/ethernet/micrel/ksz884x.c if (protocol == htons(ETH_P_IP)) { protocol 4975 drivers/net/ethernet/micrel/ksz884x.c if (iph->protocol == IPPROTO_TCP) protocol 5015 drivers/net/ethernet/micrel/ksz884x.c skb->protocol = eth_type_trans(skb, dev); protocol 974 drivers/net/ethernet/microchip/enc28j60.c skb->protocol = eth_type_trans(skb, ndev); protocol 348 drivers/net/ethernet/microchip/encx24j600.c skb->protocol = eth_type_trans(skb, dev); protocol 2093 drivers/net/ethernet/microchip/lan743x_main.c skb->protocol = eth_type_trans(skb, protocol 257 drivers/net/ethernet/moxa/moxart_ether.c skb->protocol = eth_type_trans(skb, ndev); protocol 181 drivers/net/ethernet/mscc/ocelot_board.c skb->protocol = eth_type_trans(skb, dev); protocol 66 drivers/net/ethernet/mscc/ocelot_flower.c u16 proto = ntohs(f->common.protocol); protocol 120 drivers/net/ethernet/mscc/ocelot_flower.c ntohs(f->common.protocol) == ETH_P_IP) { protocol 139 drivers/net/ethernet/mscc/ocelot_flower.c ntohs(f->common.protocol) == ETH_P_IPV6) { protocol 1181 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if ((skb->protocol == htons(ETH_P_8021Q)) && protocol 2380 drivers/net/ethernet/natsemi/natsemi.c skb->protocol = eth_type_trans(skb, dev); protocol 893 drivers/net/ethernet/natsemi/ns83820.c skb->protocol = eth_type_trans(skb, ndev); protocol 1104 drivers/net/ethernet/natsemi/ns83820.c if (IPPROTO_TCP == ip_hdr(skb)->protocol) protocol 1106 drivers/net/ethernet/natsemi/ns83820.c else if (IPPROTO_UDP == ip_hdr(skb)->protocol) protocol 555 drivers/net/ethernet/natsemi/sonic.c used_skb->protocol = eth_type_trans(used_skb, protocol 4034 drivers/net/ethernet/neterion/s2io.c if (skb->protocol == htons(ETH_P_IP)) { protocol 4043 drivers/net/ethernet/neterion/s2io.c if (ip->protocol == IPPROTO_TCP) { protocol 4050 drivers/net/ethernet/neterion/s2io.c } else if (ip->protocol == IPPROTO_UDP) { protocol 8470 drivers/net/ethernet/neterion/s2io.c skb->protocol = eth_type_trans(skb, dev); protocol 300 drivers/net/ethernet/neterion/vxge/vxge-main.c skb->protocol = eth_type_trans(skb, ring->ndev); protocol 312 drivers/net/ethernet/neterion/vxge/vxge-main.c ring->ndev->name, __func__, __LINE__, skb->protocol); protocol 634 drivers/net/ethernet/neterion/vxge/vxge-main.c if (skb->protocol == htons(ETH_P_IP)) { protocol 244 drivers/net/ethernet/netronome/nfp/abm/cls.c if (cls_u32->common.protocol != htons(ETH_P_IP) && protocol 245 drivers/net/ethernet/netronome/nfp/abm/cls.c cls_u32->common.protocol != htons(ETH_P_IPV6)) { protocol 255 drivers/net/ethernet/netronome/nfp/abm/cls.c cls_u32->common.protocol, protocol 126 drivers/net/ethernet/netronome/nfp/bpf/main.c if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { protocol 518 drivers/net/ethernet/netronome/nfp/flower/action.c __u8 protocol; protocol 564 drivers/net/ethernet/netronome/nfp/flower/action.c if (ttl_word_mask->protocol || ttl_word_mask->check) { protocol 1435 drivers/net/ethernet/netronome/nfp/flower/offload.c if (!eth_proto_is_802_3(flower->common.protocol)) protocol 797 drivers/net/ethernet/netronome/nfp/nfp_net_common.c l4_hdr = iph->protocol; protocol 1996 drivers/net/ethernet/netronome/nfp/nfp_net_common.c skb->protocol = eth_type_trans(skb, netdev); protocol 3521 drivers/net/ethernet/netronome/nfp/nfp_net_common.c l4_hdr = ip_hdr(skb)->protocol; protocol 624 drivers/net/ethernet/ni/nixge.c skb->protocol = eth_type_trans(skb, ndev); protocol 2940 drivers/net/ethernet/nvidia/forcedeth.c skb->protocol = eth_type_trans(skb, dev); protocol 3011 drivers/net/ethernet/nvidia/forcedeth.c skb->protocol = eth_type_trans(skb, dev); protocol 937 drivers/net/ethernet/nxp/lpc_eth.c skb->protocol = eth_type_trans(skb, ndev); protocol 1118 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1122 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c if (iph->protocol == IPPROTO_TCP) { protocol 1133 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c } else if (iph->protocol == IPPROTO_UDP) { protocol 1694 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 1510 drivers/net/ethernet/packetengines/hamachi.c skb->protocol = eth_type_trans(skb, dev); protocol 1141 drivers/net/ethernet/packetengines/yellowfin.c skb->protocol = eth_type_trans(skb, dev); protocol 772 drivers/net/ethernet/pasemi/pasemi_mac.c skb->protocol = eth_type_trans(skb, mac->netdev); protocol 1355 drivers/net/ethernet/pasemi/pasemi_mac.c switch (ip_hdr(skb)->protocol) { protocol 1462 drivers/net/ethernet/pasemi/pasemi_mac.c switch (ip_hdr(skb)->protocol) { protocol 114 drivers/net/ethernet/pensando/ionic/ionic_txrx.c skb->protocol = eth_type_trans(skb, netdev); protocol 463 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { protocol 469 drivers/net/ethernet/pensando/ionic/ionic_txrx.c } else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) { protocol 487 drivers/net/ethernet/pensando/ionic/ionic_txrx.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) { protocol 493 drivers/net/ethernet/pensando/ionic/ionic_txrx.c } else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) { protocol 1554 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb->protocol = eth_type_trans(skb, netdev); protocol 1617 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c skb->protocol = eth_type_trans(skb, netdev); protocol 1619 drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c if (skb->protocol == htons(ETH_P_8021Q)) protocol 1862 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c __be16 protocol = skb->protocol; protocol 1869 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (protocol == cpu_to_be16(ETH_P_8021Q)) { protocol 1872 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c protocol = vh->h_vlan_encapsulated_proto; protocol 1897 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c opcode = (protocol == cpu_to_be16(ETH_P_IPV6)) ? protocol 1904 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c if (protocol == cpu_to_be16(ETH_P_IP)) { protocol 1905 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c l4proto = ip_hdr(skb)->protocol; protocol 1911 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c } else if (protocol == cpu_to_be16(ETH_P_IPV6)) { protocol 840 drivers/net/ethernet/qlogic/qed/qed.h u8 protocol; protocol 841 drivers/net/ethernet/qlogic/qed/qed.h #define IS_QED_ETH_IF(cdev) ((cdev)->protocol == QED_PROTOCOL_ETH) protocol 842 drivers/net/ethernet/qlogic/qed/qed.h #define IS_QED_FCOE_IF(cdev) ((cdev)->protocol == QED_PROTOCOL_FCOE) protocol 2075 drivers/net/ethernet/qlogic/qed/qed_cxt.c if (p_hwfn->mcp_info->func_info.protocol == QED_PCI_ETH_RDMA) { protocol 2006 drivers/net/ethernet/qlogic/qed/qed_dcbx.c table[i].protocol = protocol 2288 drivers/net/ethernet/qlogic/qed/qed_dcbx.c app->selector, app->protocol); protocol 2309 drivers/net/ethernet/qlogic/qed/qed_dcbx.c (entry->proto_id == app->protocol)) { protocol 2317 drivers/net/ethernet/qlogic/qed/qed_dcbx.c app->protocol); protocol 2340 drivers/net/ethernet/qlogic/qed/qed_dcbx.c app->selector, app->protocol, app->priority); protocol 2372 drivers/net/ethernet/qlogic/qed/qed_dcbx.c (entry->proto_id == app->protocol)) protocol 2388 drivers/net/ethernet/qlogic/qed/qed_dcbx.c dcbx_set.config.params.app_entry[i].proto_id = app->protocol; protocol 383 drivers/net/ethernet/qlogic/qed/qed_dev.c struct qed_llh_protocol_filter protocol; protocol 1132 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.type = type; protocol 1133 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.source_port_or_eth_type = source_port_or_eth_type; protocol 1134 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.dest_port = dest_port; protocol 1249 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.type = type; protocol 1250 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.source_port_or_eth_type = source_port_or_eth_type; protocol 1251 drivers/net/ethernet/qlogic/qed/qed_dev.c filter.protocol.dest_port = dest_port; protocol 4345 drivers/net/ethernet/qlogic/qed/qed_dev.c enum qed_pci_personality protocol; protocol 4347 drivers/net/ethernet/qlogic/qed/qed_dev.c protocol = p_hwfn->mcp_info->func_info.protocol; protocol 4348 drivers/net/ethernet/qlogic/qed/qed_dev.c p_hwfn->hw_info.personality = protocol; protocol 1720 drivers/net/ethernet/qlogic/qed/qed_iwarp.c if (iph->protocol != IPPROTO_TCP) { protocol 1723 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iph->protocol); protocol 1739 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iph->protocol); protocol 219 drivers/net/ethernet/qlogic/qed/qed_ll2.c skb->protocol = eth_hdr(skb)->h_proto; protocol 462 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->protocol = params->protocol; protocol 2271 drivers/net/ethernet/qlogic/qed/qed_mcp.c &info->protocol)) { protocol 2318 drivers/net/ethernet/qlogic/qed/qed_mcp.c info->pause_on_host, info->protocol, protocol 123 drivers/net/ethernet/qlogic/qed/qed_mcp.h enum qed_pci_personality protocol; protocol 419 drivers/net/ethernet/qlogic/qed/qed_sp.h u8 protocol, protocol 65 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c u8 cmd, u8 protocol, struct qed_sp_init_data *p_data) protocol 83 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ent->elem.hdr.protocol_id = protocol; protocol 116 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c opaque_cid, cmd, protocol, protocol 457 drivers/net/ethernet/qlogic/qed/qed_spq.c enum protocol_type protocol) protocol 391 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { protocol 417 drivers/net/ethernet/qlogic/qede/qede_filter.c tpos->tuple.eth_proto == skb->protocol && protocol 467 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol != htons(ETH_P_IP) && protocol 468 drivers/net/ethernet/qlogic/qede/qede_filter.c skb->protocol != htons(ETH_P_IPV6)) protocol 471 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { protocol 472 drivers/net/ethernet/qlogic/qede/qede_filter.c ip_proto = ip_hdr(skb)->protocol; protocol 524 drivers/net/ethernet/qlogic/qede/qede_filter.c if (skb->protocol == htons(ETH_P_IP)) { protocol 535 drivers/net/ethernet/qlogic/qede/qede_filter.c eth->h_proto = skb->protocol; protocol 536 drivers/net/ethernet/qlogic/qede/qede_filter.c n->tuple.eth_proto = skb->protocol; protocol 1521 drivers/net/ethernet/qlogic/qede/qede_filter.c ip->protocol = t->ip_proto; protocol 252 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ip_hdr(skb)->protocol; protocol 911 drivers/net/ethernet/qlogic/qede/qede_fp.c switch (skb->protocol) { protocol 921 drivers/net/ethernet/qlogic/qede/qede_fp.c ntohs(skb->protocol)); protocol 983 drivers/net/ethernet/qlogic/qede/qede_fp.c skb->protocol = eth_type_trans(skb, edev->ndev); protocol 1285 drivers/net/ethernet/qlogic/qede/qede_fp.c skb->protocol = eth_type_trans(skb, edev->ndev); protocol 1713 drivers/net/ethernet/qlogic/qede/qede_fp.c l4_proto = ip_hdr(skb)->protocol; protocol 576 drivers/net/ethernet/qlogic/qede/qede_main.c return qede_set_flower(edev, f, f->common.protocol); protocol 1077 drivers/net/ethernet/qlogic/qede/qede_main.c probe_params.protocol = QED_PROTOCOL_ETH; protocol 2031 drivers/net/ethernet/qlogic/qla3xxx.c skb->protocol = eth_type_trans(skb, qdev->ndev); protocol 2101 drivers/net/ethernet/qlogic/qla3xxx.c skb2->protocol = eth_type_trans(skb2, qdev->ndev); protocol 2291 drivers/net/ethernet/qlogic/qla3xxx.c if (ip->protocol == IPPROTO_TCP) { protocol 151 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c u16 protocol; protocol 727 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c app->protocol = QLC_DCB_GET_PROTO_ID_APP(each->app[i]); protocol 728 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c new_app.protocol = app->protocol; protocol 934 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c .protocol = id, protocol 1059 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c table[j++].protocol = app->protocol; protocol 308 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u16 protocol = ntohs(skb->protocol); protocol 320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_8021Q) { protocol 430 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (inner_ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 467 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u16 protocol = ntohs(skb->protocol); protocol 470 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_8021Q) { protocol 474 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c protocol = ntohs(vh->h_vlan_encapsulated_proto); protocol 503 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c opcode = (protocol == ETH_P_IPV6) ? QLCNIC_TX_TCP_LSO6 : protocol 557 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_IP) { protocol 558 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4proto = ip_hdr(skb)->protocol; protocol 564 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c } else if (protocol == ETH_P_IPV6) { protocol 660 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c u16 protocol; protocol 752 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c protocol = ntohs(skb->protocol); protocol 753 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (protocol == ETH_P_IP) protocol 754 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c l4_is_udp = ip_hdr(skb)->protocol == IPPROTO_UDP; protocol 755 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c else if (protocol == ETH_P_IPV6) protocol 1244 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb->protocol = eth_type_trans(skb, netdev); protocol 1320 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb->protocol = eth_type_trans(skb, netdev); protocol 1322 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (ntohs(skb->protocol) == ETH_P_IPV6) { protocol 1341 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 1764 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb->protocol = eth_type_trans(skb, netdev); protocol 1843 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c skb->protocol = eth_type_trans(skb, netdev); protocol 1844 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (ntohs(skb->protocol) == ETH_P_IPV6) { protocol 1864 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 1145 drivers/net/ethernet/qualcomm/emac/emac-mac.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 1260 drivers/net/ethernet/qualcomm/emac/emac-mac.c if (skb->protocol == htons(ETH_P_IP)) { protocol 435 drivers/net/ethernet/qualcomm/qca_spi.c qca->rx_skb->protocol = eth_type_trans( protocol 108 drivers/net/ethernet/qualcomm/qca_uart.c qca->rx_skb->protocol = eth_type_trans( protocol 26 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c skb->protocol = htons(ETH_P_IP); protocol 29 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c skb->protocol = htons(ETH_P_IPV6); protocol 32 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c skb->protocol = htons(ETH_P_MAP); protocol 154 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c skb->protocol = htons(ETH_P_MAP); protocol 59 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c skb->protocol = htons(ETH_P_MAP); protocol 18 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c static __sum16 *rmnet_map_get_csum_field(unsigned char protocol, protocol 23 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c switch (protocol) { protocol 60 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c csum_field = rmnet_map_get_csum_field(ip4h->protocol, txporthdr); protocol 68 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (*csum_field == 0 && ip4h->protocol == IPPROTO_UDP) { protocol 80 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c ip4h->protocol, 0); protocol 89 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c switch (ip4h->protocol) { protocol 189 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (ip4h->protocol == IPPROTO_TCP || ip4h->protocol == IPPROTO_UDP) { protocol 190 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c csum = (u16 *)rmnet_map_get_csum_field(ip4h->protocol, txphdr); protocol 208 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (ip4h->protocol == IPPROTO_UDP) protocol 369 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (skb->protocol == htons(ETH_P_IP)) { protocol 371 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 407 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c if (skb->protocol == htons(ETH_P_IP)) { protocol 410 drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 557 drivers/net/ethernet/rdc/r6040.c skb_ptr->protocol = eth_type_trans(skb_ptr, priv->dev); protocol 423 drivers/net/ethernet/realtek/8139cp.c skb->protocol = eth_type_trans (skb, cp->dev); protocol 454 drivers/net/ethernet/realtek/8139cp.c unsigned int protocol = (status >> 16) & 0x3; protocol 456 drivers/net/ethernet/realtek/8139cp.c if (((protocol == RxProtoTCP) && !(status & TCPFail)) || protocol 457 drivers/net/ethernet/realtek/8139cp.c ((protocol == RxProtoUDP) && !(status & UDPFail))) protocol 767 drivers/net/ethernet/realtek/8139cp.c if (ip->protocol == IPPROTO_TCP) protocol 769 drivers/net/ethernet/realtek/8139cp.c else if (ip->protocol == IPPROTO_UDP) protocol 2048 drivers/net/ethernet/realtek/8139too.c skb->protocol = eth_type_trans (skb, dev); protocol 793 drivers/net/ethernet/realtek/atp.c skb->protocol = eth_type_trans(skb, dev); protocol 5781 drivers/net/ethernet/realtek/r8169_main.c if (ip->protocol == IPPROTO_TCP) protocol 5783 drivers/net/ethernet/realtek/r8169_main.c else if (ip->protocol == IPPROTO_UDP) protocol 5822 drivers/net/ethernet/realtek/r8169_main.c ip_protocol = ip_hdr(skb)->protocol; protocol 6214 drivers/net/ethernet/realtek/r8169_main.c skb->protocol = eth_type_trans(skb, dev); protocol 601 drivers/net/ethernet/renesas/ravb_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 1691 drivers/net/ethernet/renesas/sh_eth.c skb->protocol = eth_type_trans(skb, ndev); protocol 2478 drivers/net/ethernet/rocker/rocker_main.c skb->protocol = eth_type_trans(skb, rocker_port->dev); protocol 649 drivers/net/ethernet/seeq/ether3.c skb->protocol = eth_type_trans(skb, dev); protocol 379 drivers/net/ethernet/seeq/sgiseeq.c skb->protocol = eth_type_trans(skb, dev); protocol 516 drivers/net/ethernet/sfc/falcon/rx.c skb->protocol = eth_type_trans(skb, efx->net_dev); protocol 392 drivers/net/ethernet/sfc/falcon/selftest.c payload->ip.protocol = IPPROTO_UDP; protocol 1604 drivers/net/ethernet/sfc/ptp.c likely(skb->protocol == htons(ETH_P_IP)) && protocol 1607 drivers/net/ethernet/sfc/ptp.c ip_hdr(skb)->protocol == IPPROTO_UDP && protocol 505 drivers/net/ethernet/sfc/rx.c skb->protocol = eth_type_trans(skb, efx->net_dev); protocol 392 drivers/net/ethernet/sfc/selftest.c payload->ip.protocol = IPPROTO_UDP; protocol 70 drivers/net/ethernet/sfc/tx_tso.c __be16 protocol; protocol 145 drivers/net/ethernet/sfc/tx_tso.c __be16 protocol = skb->protocol; protocol 148 drivers/net/ethernet/sfc/tx_tso.c protocol); protocol 149 drivers/net/ethernet/sfc/tx_tso.c if (protocol == htons(ETH_P_8021Q)) { protocol 152 drivers/net/ethernet/sfc/tx_tso.c protocol = veh->h_vlan_encapsulated_proto; protocol 155 drivers/net/ethernet/sfc/tx_tso.c if (protocol == htons(ETH_P_IP)) { protocol 156 drivers/net/ethernet/sfc/tx_tso.c EFX_WARN_ON_ONCE_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); protocol 158 drivers/net/ethernet/sfc/tx_tso.c EFX_WARN_ON_ONCE_PARANOID(protocol != htons(ETH_P_IPV6)); protocol 165 drivers/net/ethernet/sfc/tx_tso.c return protocol; protocol 183 drivers/net/ethernet/sfc/tx_tso.c if (st->protocol == htons(ETH_P_IP)) { protocol 376 drivers/net/ethernet/sfc/tx_tso.c state.protocol = efx_tso_check_protocol(skb); protocol 501 drivers/net/ethernet/sgi/ioc3-eth.c proto = ih->protocol; protocol 508 drivers/net/ethernet/sgi/ioc3-eth.c htons((u16)ih->protocol) + protocol 563 drivers/net/ethernet/sgi/ioc3-eth.c skb->protocol = eth_type_trans(skb, dev); protocol 1385 drivers/net/ethernet/sgi/ioc3-eth.c const int proto = ntohs(ih->protocol); protocol 427 drivers/net/ethernet/sgi/meth.c skb_c->protocol = eth_type_trans(skb_c, dev); protocol 804 drivers/net/ethernet/silan/sc92031.c skb->protocol = eth_type_trans(skb, dev); protocol 626 drivers/net/ethernet/sis/sis190.c skb->protocol = eth_type_trans(skb, dev); protocol 1816 drivers/net/ethernet/sis/sis900.c rx_skb->protocol = eth_type_trans(rx_skb, net_dev); protocol 1197 drivers/net/ethernet/smsc/epic100.c skb->protocol = eth_type_trans(skb, dev); protocol 431 drivers/net/ethernet/smsc/smc911x.c skb->protocol = eth_type_trans(skb, dev); protocol 1215 drivers/net/ethernet/smsc/smc911x.c skb->protocol = eth_type_trans(skb, dev); protocol 1210 drivers/net/ethernet/smsc/smc9194.c skb->protocol = eth_type_trans(skb, dev ); protocol 1511 drivers/net/ethernet/smsc/smc91c92_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 489 drivers/net/ethernet/smsc/smc91x.c skb->protocol = eth_type_trans(skb, dev); protocol 1265 drivers/net/ethernet/smsc/smsc911x.c skb->protocol = eth_type_trans(skb, dev); protocol 778 drivers/net/ethernet/smsc/smsc9420.c skb->protocol = eth_type_trans(skb, dev); protocol 1025 drivers/net/ethernet/socionext/netsec.c skb->protocol = eth_type_trans(skb, priv->ndev); protocol 1137 drivers/net/ethernet/socionext/netsec.c if (skb->protocol == htons(ETH_P_IP)) { protocol 783 drivers/net/ethernet/socionext/sni_ave.c skb->protocol = eth_type_trans(skb, ndev); protocol 3633 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 166 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ihdr->protocol = IPPROTO_TCP; protocol 168 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c ihdr->protocol = IPPROTO_UDP; protocol 207 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c skb->protocol = htons(ETH_P_IP); protocol 282 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (ihdr->protocol != IPPROTO_TCP) protocol 291 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (ihdr->protocol != IPPROTO_UDP) protocol 871 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c if (ihdr->protocol != IPPROTO_UDP) protocol 1081 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cls_u32.common.protocol = htons(ETH_P_ALL); protocol 1261 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c skb->protocol = htons(proto); protocol 108 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c switch (ntohs(cls->common.protocol)) { protocol 2133 drivers/net/ethernet/sun/cassini.c skb->protocol = eth_type_trans(skb, cp->dev); protocol 2134 drivers/net/ethernet/sun/cassini.c if (skb->protocol == htons(ETH_P_IP)) { protocol 3487 drivers/net/ethernet/sun/niu.c skb->protocol = eth_type_trans(skb, np->dev); protocol 6560 drivers/net/ethernet/sun/niu.c switch (skb->protocol) { protocol 6562 drivers/net/ethernet/sun/niu.c ip_proto = ip_hdr(skb)->protocol; protocol 875 drivers/net/ethernet/sun/sunbmac.c skb->protocol = eth_type_trans(skb, bp->dev); protocol 863 drivers/net/ethernet/sun/sungem.c skb->protocol = eth_type_trans(skb, gp->dev); protocol 2083 drivers/net/ethernet/sun/sunhme.c skb->protocol = eth_type_trans(skb, dev); protocol 447 drivers/net/ethernet/sun/sunqe.c skb->protocol = eth_type_trans(skb, qep->dev); protocol 312 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol != htons(ETH_P_IP)) protocol 314 drivers/net/ethernet/sun/sunvnet_common.c if (iph->protocol != IPPROTO_TCP && protocol 315 drivers/net/ethernet/sun/sunvnet_common.c iph->protocol != IPPROTO_UDP) protocol 320 drivers/net/ethernet/sun/sunvnet_common.c if (iph->protocol == IPPROTO_TCP) { protocol 328 drivers/net/ethernet/sun/sunvnet_common.c } else if (iph->protocol == IPPROTO_UDP) { protocol 345 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 411 drivers/net/ethernet/sun/sunvnet_common.c skb->protocol = eth_type_trans(skb, dev); protocol 419 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == ETH_P_IP) { protocol 428 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { protocol 435 drivers/net/ethernet/sun/sunvnet_common.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1143 drivers/net/ethernet/sun/sunvnet_common.c nskb->protocol = skb->protocol; protocol 1174 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1177 drivers/net/ethernet/sun/sunvnet_common.c if (iph->protocol == IPPROTO_TCP || protocol 1178 drivers/net/ethernet/sun/sunvnet_common.c iph->protocol == IPPROTO_UDP) { protocol 1182 drivers/net/ethernet/sun/sunvnet_common.c iph->protocol, protocol 1185 drivers/net/ethernet/sun/sunvnet_common.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1233 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) protocol 1234 drivers/net/ethernet/sun/sunvnet_common.c proto = ip_hdr(skb)->protocol; protocol 1235 drivers/net/ethernet/sun/sunvnet_common.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 1244 drivers/net/ethernet/sun/sunvnet_common.c "protocol %d tproto %d\n", skb->protocol, proto); protocol 1304 drivers/net/ethernet/sun/sunvnet_common.c if (ip_hdr(curr)->protocol == IPPROTO_TCP) protocol 1306 drivers/net/ethernet/sun/sunvnet_common.c else if (ip_hdr(curr)->protocol == IPPROTO_UDP) protocol 1356 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1375 drivers/net/ethernet/sun/sunvnet_common.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 1387 drivers/net/ethernet/sun/sunvnet_common.c if (skb->protocol == htons(ETH_P_IP)) protocol 1390 drivers/net/ethernet/sun/sunvnet_common.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 1223 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c (skb->protocol == htons(ETH_P_8021Q))) protocol 1257 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb->protocol = eth_type_trans(skb, netdev); protocol 1278 drivers/net/ethernet/tehuti/tehuti.c skb->protocol = eth_type_trans(skb, ndev); protocol 371 drivers/net/ethernet/ti/cpmac.c desc->skb->protocol = eth_type_trans(desc->skb, priv->dev); protocol 765 drivers/net/ethernet/ti/cpsw.c skb->protocol = eth_type_trans(skb, ndev); protocol 885 drivers/net/ethernet/ti/davinci_emac.c skb->protocol = eth_type_trans(skb, ndev); protocol 768 drivers/net/ethernet/ti/netcp_core.c skb->protocol = eth_type_trans(skb, netcp->ndev); protocol 1539 drivers/net/ethernet/ti/tlan.c skb->protocol = eth_type_trans(skb, dev); protocol 709 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (skb->protocol == htons(ETH_P_IP)) { protocol 710 drivers/net/ethernet/toshiba/ps3_gelic_net.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 715 drivers/net/ethernet/toshiba/ps3_gelic_net.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 938 drivers/net/ethernet/toshiba/ps3_gelic_net.c skb->protocol = eth_type_trans(skb, netdev); protocol 682 drivers/net/ethernet/toshiba/spider_net.c switch (ip_hdr(skb)->protocol) { protocol 955 drivers/net/ethernet/toshiba/spider_net.c skb->protocol = eth_type_trans(skb, netdev); protocol 1513 drivers/net/ethernet/toshiba/tc35815.c skb->protocol = eth_type_trans(skb, dev); protocol 782 drivers/net/ethernet/tundra/tsi108_eth.c skb->protocol = eth_type_trans(skb, dev); protocol 2134 drivers/net/ethernet/via/via-rhine.c skb->protocol = eth_type_trans(skb, dev); protocol 2065 drivers/net/ethernet/via/via-velocity.c skb->protocol = eth_type_trans(skb, vptr->netdev); protocol 2586 drivers/net/ethernet/via/via-velocity.c if (ip->protocol == IPPROTO_TCP) protocol 2588 drivers/net/ethernet/via/via-velocity.c else if (ip->protocol == IPPROTO_UDP) protocol 876 drivers/net/ethernet/wiznet/w5100.c skb->protocol = eth_type_trans(skb, ndev); protocol 399 drivers/net/ethernet/wiznet/w5300.c skb->protocol = eth_type_trans(skb, ndev); protocol 980 drivers/net/ethernet/xilinx/ll_temac_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 985 drivers/net/ethernet/xilinx/ll_temac_main.c (skb->protocol == htons(ETH_P_IP)) && protocol 720 drivers/net/ethernet/xilinx/xilinx_axienet_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 733 drivers/net/ethernet/xilinx/xilinx_axienet_main.c skb->protocol == htons(ETH_P_IP) && protocol 632 drivers/net/ethernet/xilinx/xilinx_emaclite.c skb->protocol = eth_type_trans(skb, dev); protocol 1096 drivers/net/ethernet/xircom/xirc2ps_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 753 drivers/net/ethernet/xscale/ixp4xx_eth.c skb->protocol = eth_type_trans(skb, dev); protocol 3204 drivers/net/fddi/defxx.c skb->protocol = fddi_type_trans(skb, bp->dev); protocol 752 drivers/net/fddi/defza.c skb->protocol = fddi_type_trans(skb, dev); protocol 1654 drivers/net/fddi/skfp/skfddi.c skb->protocol = fddi_type_trans(skb, bp->dev); protocol 1914 drivers/net/fddi/skfp/skfddi.c skb->protocol = fddi_type_trans(skb, smc->os.dev); protocol 1148 drivers/net/fjes/fjes_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 251 drivers/net/geneve.c skb->protocol = eth_type_trans(skb, geneve->dev); protocol 175 drivers/net/gtp.c switch (ntohs(skb->protocol)) { protocol 193 drivers/net/gtp.c if (iptunnel_pull_header(skb, hdrlen, skb->protocol, protocol 566 drivers/net/gtp.c unsigned int proto = ntohs(skb->protocol); protocol 250 drivers/net/hamradio/6pack.c if (skb->protocol == htons(ETH_P_IP)) protocol 354 drivers/net/hamradio/6pack.c skb->protocol = ax25_type_trans(skb, sp->dev); protocol 546 drivers/net/hamradio/baycom_epp.c skb->protocol = ax25_type_trans(skb, dev); protocol 765 drivers/net/hamradio/baycom_epp.c if (skb->protocol == htons(ETH_P_IP)) protocol 198 drivers/net/hamradio/bpqether.c skb->protocol = ax25_type_trans(skb, dev); protocol 224 drivers/net/hamradio/bpqether.c if (skb->protocol == htons(ETH_P_IP)) protocol 266 drivers/net/hamradio/bpqether.c skb->protocol = ax25_type_trans(skb, dev); protocol 917 drivers/net/hamradio/dmascc.c if (skb->protocol == htons(ETH_P_IP)) protocol 1271 drivers/net/hamradio/dmascc.c skb->protocol = ax25_type_trans(skb, priv->dev); protocol 150 drivers/net/hamradio/hdlcdrv.c skb->protocol = ax25_type_trans(skb, dev); protocol 394 drivers/net/hamradio/hdlcdrv.c if (skb->protocol == htons(ETH_P_IP)) protocol 292 drivers/net/hamradio/mkiss.c skb->protocol = ax25_type_trans(skb, ax->dev); protocol 522 drivers/net/hamradio/mkiss.c if (skb->protocol == htons(ETH_P_IP)) protocol 1630 drivers/net/hamradio/scc.c skb->protocol = ax25_type_trans(skb, scc->dev); protocol 1643 drivers/net/hamradio/scc.c if (skb->protocol == htons(ETH_P_IP)) protocol 545 drivers/net/hamradio/yam.c skb->protocol = ax25_type_trans(skb, dev); protocol 585 drivers/net/hamradio/yam.c if (skb->protocol == htons(ETH_P_IP)) protocol 995 drivers/net/hippi/rrunner.c skb->protocol = hippi_type_trans(skb, dev); protocol 476 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { protocol 479 drivers/net/hyperv/netvsc_drv.c if (ip->protocol == IPPROTO_TCP) protocol 481 drivers/net/hyperv/netvsc_drv.c else if (ip->protocol == IPPROTO_UDP) protocol 629 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { protocol 658 drivers/net/hyperv/netvsc_drv.c if (skb->protocol == htons(ETH_P_IP)) { protocol 661 drivers/net/hyperv/netvsc_drv.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 783 drivers/net/hyperv/netvsc_drv.c skb->protocol = eth_type_trans(skb, net); protocol 795 drivers/net/hyperv/netvsc_drv.c skb->protocol == htons(ETH_P_IP)) protocol 140 drivers/net/ipvlan/ipvlan_core.c switch (skb->protocol) { protocol 512 drivers/net/ipvlan/ipvlan_core.c ntohs(skb->protocol)); protocol 522 drivers/net/ipvlan/ipvlan_core.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 524 drivers/net/ipvlan/ipvlan_core.c else if (skb->protocol == htons(ETH_P_IP)) protocol 528 drivers/net/ipvlan/ipvlan_core.c ntohs(skb->protocol)); protocol 538 drivers/net/ipvlan/ipvlan_core.c if (skb->protocol == htons(ETH_P_PAUSE)) { protocol 86 drivers/net/loopback.c skb->protocol = eth_type_trans(skb, dev); protocol 561 drivers/net/macsec.c skb->protocol = eth_hdr(skb)->h_proto; protocol 858 drivers/net/macsec.c skb->protocol = eth_type_trans(skb, dev); protocol 269 drivers/net/macvlan.c if (skb->protocol == htons(ETH_P_PAUSE)) protocol 130 drivers/net/netdevsim/bpf.c if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { protocol 382 drivers/net/netdevsim/dev.c skb->protocol = htons(ETH_P_IP); protocol 386 drivers/net/netdevsim/dev.c iph->protocol = IPPROTO_UDP; protocol 119 drivers/net/ntb_netdev.c skb->protocol = eth_type_trans(skb, ndev); protocol 671 drivers/net/plip/plip.c rcv->skb->protocol=plip_type_trans(rcv->skb, dev); protocol 737 drivers/net/ppp/ppp_generic.c err = proto_to_npindex(npi.protocol); protocol 1221 drivers/net/ppp/ppp_generic.c npi = ethertype_to_npindex(ntohs(skb->protocol)); protocol 2225 drivers/net/ppp/ppp_generic.c skb->protocol = htons(npindex_to_ethertype[npi]); protocol 883 drivers/net/ppp/pppoe.c skb->protocol = cpu_to_be16(ETH_P_PPP_SES); protocol 951 drivers/net/ppp/pppoe.c skb->protocol = cpu_to_be16(ETH_P_PPP_SES); protocol 114 drivers/net/ppp/pppox.c static int pppox_create(struct net *net, struct socket *sock, int protocol, protocol 119 drivers/net/ppp/pppox.c if (protocol < 0 || protocol > PX_MAX_PROTO) protocol 123 drivers/net/ppp/pppox.c if (!pppox_protos[protocol]) protocol 124 drivers/net/ppp/pppox.c request_module("net-pf-%d-proto-%d", PF_PPPOX, protocol); protocol 125 drivers/net/ppp/pppox.c if (!pppox_protos[protocol] || protocol 126 drivers/net/ppp/pppox.c !try_module_get(pppox_protos[protocol]->owner)) protocol 129 drivers/net/ppp/pppox.c rc = pppox_protos[protocol]->create(net, sock, kern); protocol 131 drivers/net/ppp/pppox.c module_put(pppox_protos[protocol]->owner); protocol 204 drivers/net/ppp/pptp.c hdr->gre_hd.protocol = GRE_PROTO_PPP; protocol 231 drivers/net/ppp/pptp.c iph->protocol = IPPROTO_GRE; protocol 350 drivers/net/ppp/pptp.c if (header->gre_hd.protocol != GRE_PROTO_PPP || /* PPTP-GRE protocol for PPTP */ protocol 110 drivers/net/rionet.c rnet->rx_skb[i]->protocol = protocol 842 drivers/net/sb1000.c skb->protocol = (unsigned short) buffer[NewDatagramHeaderSkip + 16]; protocol 255 drivers/net/slip/slhc.c if (ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x3fff)) { protocol 257 drivers/net/slip/slhc.c if(ip->protocol != IPPROTO_TCP) protocol 369 drivers/net/slip/slip.c skb->protocol = htons(ETH_P_IP); protocol 706 drivers/net/tap.c skb->protocol = eth_hdr(skb)->h_proto; protocol 718 drivers/net/tap.c if ((skb->protocol == htons(ETH_P_8021Q) || protocol 719 drivers/net/tap.c skb->protocol == htons(ETH_P_8021AD)) && protocol 720 drivers/net/tap.c __vlan_get_protocol(skb, skb->protocol, &depth) != 0) protocol 1172 drivers/net/tap.c skb->protocol = eth_hdr(skb)->h_proto; protocol 1181 drivers/net/tap.c if ((skb->protocol == htons(ETH_P_8021Q) || protocol 1182 drivers/net/tap.c skb->protocol == htons(ETH_P_8021AD)) && protocol 1183 drivers/net/tap.c __vlan_get_protocol(skb, skb->protocol, &depth) != 0) protocol 20 drivers/net/team/team_mode_loadbalance.c if (unlikely(skb->protocol == htons(ETH_P_SLOW))) { protocol 820 drivers/net/thunderbolt.c skb->protocol = eth_type_trans(skb, net->dev); protocol 909 drivers/net/thunderbolt.c __be16 protocol = skb->protocol; protocol 929 drivers/net/thunderbolt.c if (protocol == htons(ETH_P_8021Q)) { protocol 936 drivers/net/thunderbolt.c protocol = vhdr->h_vlan_encapsulated_proto; protocol 944 drivers/net/thunderbolt.c if (protocol == htons(ETH_P_IP)) { protocol 951 drivers/net/thunderbolt.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 953 drivers/net/thunderbolt.c else if (ip_hdr(skb)->protocol == IPPROTO_UDP) protocol 960 drivers/net/thunderbolt.c ip_hdr(skb)->protocol, 0); protocol 967 drivers/net/thunderbolt.c } else if (protocol == htons(ETH_P_IPV6)) { protocol 1907 drivers/net/tun.c skb->protocol = pi.proto; protocol 1915 drivers/net/tun.c skb->protocol = eth_type_trans(skb, tun->dev); protocol 2082 drivers/net/tun.c struct tun_pi pi = { 0, skb->protocol }; protocol 2499 drivers/net/tun.c skb->protocol = eth_type_trans(skb, tun->dev); protocol 249 drivers/net/usb/catc.c skb->protocol = eth_type_trans(skb, catc->netdev); protocol 55 drivers/net/usb/cdc-phonet.c if (skb->protocol != htons(ETH_P_PHONET)) protocol 172 drivers/net/usb/cdc-phonet.c skb->protocol = htons(ETH_P_PHONET); protocol 930 drivers/net/usb/hso.c odev->skb_rx_buf->protocol = cpu_to_be16(ETH_P_IP); protocol 207 drivers/net/usb/ipheth.c skb->protocol = eth_type_trans(skb, dev->net); protocol 648 drivers/net/usb/kaweth.c skb->protocol = eth_type_trans(skb, net); protocol 3080 drivers/net/usb/lan78xx.c skb->protocol = eth_type_trans(skb, dev->net); protocol 3083 drivers/net/usb/lan78xx.c skb->len + sizeof(struct ethhdr), skb->protocol); protocol 3442 drivers/net/usb/lan78xx.c "> tx, len %d, type 0x%x\n", length, skb->protocol); protocol 533 drivers/net/usb/pegasus.c pegasus->rx_skb->protocol = eth_type_trans(pegasus->rx_skb, net); protocol 234 drivers/net/usb/qmi_wwan.c skbn->protocol = htons(ETH_P_IP); protocol 237 drivers/net/usb/qmi_wwan.c skbn->protocol = htons(ETH_P_IPV6); protocol 581 drivers/net/usb/qmi_wwan.c skb->protocol = proto; protocol 1843 drivers/net/usb/r8152.c ip_protocol = ip_hdr(skb)->protocol; protocol 2139 drivers/net/usb/r8152.c skb->protocol = eth_type_trans(skb, netdev); protocol 426 drivers/net/usb/rtl8150.c dev->rx_skb->protocol = eth_type_trans(dev->rx_skb, netdev); protocol 123 drivers/net/usb/sierra_net.c u8 protocol; protocol 208 drivers/net/usb/sierra_net.c return skb->protocol == cpu_to_be16(ETH_P_IP) || protocol 209 drivers/net/usb/sierra_net.c skb->protocol == cpu_to_be16(ETH_P_IPV6); protocol 228 drivers/net/usb/sierra_net.c skb->protocol = eth_hdr(skb)->h_proto; protocol 381 drivers/net/usb/sierra_net.c if (lsi->protocol == SIERRA_NET_PROTOCOL_UMTS) { protocol 392 drivers/net/usb/sierra_net.c } else if (lsi->protocol == SIERRA_NET_PROTOCOL_UMTS_DS) { protocol 396 drivers/net/usb/sierra_net.c lsi->protocol); protocol 320 drivers/net/usb/usbnet.c if (skb->protocol == 0) protocol 321 drivers/net/usb/usbnet.c skb->protocol = eth_type_trans (skb, dev->net); protocol 329 drivers/net/usb/usbnet.c skb->len + sizeof (struct ethhdr), skb->protocol); protocol 1483 drivers/net/usb/usbnet.c "> tx, len %u, type 0x%x\n", length, skb->protocol); protocol 583 drivers/net/veth.c skb->protocol = eth_type_trans(skb, rq->dev); protocol 708 drivers/net/veth.c skb->protocol = eth_type_trans(skb, rq->dev); protocol 1057 drivers/net/virtio_net.c skb->protocol = eth_type_trans(skb, dev); protocol 1059 drivers/net/virtio_net.c ntohs(skb->protocol), skb->len, skb->pkt_type); protocol 842 drivers/net/vmxnet3/vmxnet3_drv.c u8 protocol = 0; protocol 855 drivers/net/vmxnet3/vmxnet3_drv.c protocol = iph->protocol; protocol 859 drivers/net/vmxnet3/vmxnet3_drv.c protocol = ipv6h->nexthdr; protocol 862 drivers/net/vmxnet3/vmxnet3_drv.c switch (protocol) { protocol 1241 drivers/net/vmxnet3/vmxnet3_drv.c if (skb->protocol == cpu_to_be16(ETH_P_8021Q) || protocol 1242 drivers/net/vmxnet3/vmxnet3_drv.c skb->protocol == cpu_to_be16(ETH_P_8021AD)) protocol 1252 drivers/net/vmxnet3/vmxnet3_drv.c BUG_ON(hdr.ipv4->protocol != IPPROTO_TCP); protocol 1499 drivers/net/vmxnet3/vmxnet3_drv.c skb->protocol = eth_type_trans(skb, adapter->netdev); protocol 140 drivers/net/vrf.c skb->protocol = eth_type_trans(skb, dev); protocol 263 drivers/net/vrf.c fl4.flowi4_proto = ip4h->protocol; protocol 305 drivers/net/vrf.c switch (skb->protocol) { protocol 346 drivers/net/vrf.c eth->h_proto = skb->protocol; protocol 371 drivers/net/vrf.c skb->protocol = htons(ETH_P_IPV6); protocol 437 drivers/net/vrf.c skb->protocol = htons(ETH_P_IPV6); protocol 606 drivers/net/vrf.c skb->protocol = htons(ETH_P_IP); protocol 649 drivers/net/vrf.c skb->protocol = htons(ETH_P_IP); protocol 1564 drivers/net/vxlan.c __be16 *protocol, protocol 1584 drivers/net/vxlan.c *protocol = tun_p_to_eth_p(gpe->next_protocol); protocol 1585 drivers/net/vxlan.c if (!*protocol) protocol 1600 drivers/net/vxlan.c skb->protocol = eth_type_trans(skb, vxlan->dev); protocol 1658 drivers/net/vxlan.c __be16 protocol = htons(ETH_P_TEB); protocol 1693 drivers/net/vxlan.c if (!vxlan_parse_gpe_hdr(&unparsed, &protocol, skb, vs->flags)) protocol 1698 drivers/net/vxlan.c if (__iptunnel_pull_header(skb, VXLAN_HLEN, protocol, raw_proto, protocol 1915 drivers/net/vxlan.c reply->protocol = htons(ETH_P_IPV6); protocol 1941 drivers/net/vxlan.c reply->protocol = htons(ETH_P_IPV6); protocol 2143 drivers/net/vxlan.c __be16 protocol) protocol 2148 drivers/net/vxlan.c gpe->next_protocol = tun_p_from_eth_p(protocol); protocol 2208 drivers/net/vxlan.c err = vxlan_build_gpe_hdr(vxh, vxflags, skb->protocol); protocol 2211 drivers/net/vxlan.c inner_protocol = skb->protocol; protocol 740 drivers/net/wan/cosa.c chan->rx_skb->protocol = hdlc_type_trans(chan->rx_skb, chan->netdev); protocol 149 drivers/net/wan/dlci.c skb->protocol = hdr->PID; protocol 155 drivers/net/wan/dlci.c skb->protocol = htons(ETH_P_IP); protocol 868 drivers/net/wan/farsync.c skb->protocol = farsync_type_trans(skb, dev); protocol 870 drivers/net/wan/farsync.c skb->protocol = hdlc_type_trans(skb, dev); protocol 1291 drivers/net/wan/farsync.c skb->protocol = farsync_type_trans(skb, dev); protocol 1293 drivers/net/wan/farsync.c skb->protocol = hdlc_type_trans(skb, dev); protocol 588 drivers/net/wan/fsl_ucc_hdlc.c skb->protocol = hdlc_type_trans(skb, dev); protocol 281 drivers/net/wan/hd64570.c skb->protocol = hdlc_type_trans(skb, dev); protocol 224 drivers/net/wan/hd64572.c skb->protocol = hdlc_type_trans(skb, dev); protocol 35 drivers/net/wan/hdlc_cisco.c __be16 protocol; protocol 88 drivers/net/wan/hdlc_cisco.c data->protocol = htons(type); protocol 139 drivers/net/wan/hdlc_cisco.c switch (data->protocol) { protocol 144 drivers/net/wan/hdlc_cisco.c return data->protocol; protocol 169 drivers/net/wan/hdlc_cisco.c switch (ntohs(data->protocol)) { protocol 245 drivers/net/wan/hdlc_cisco.c netdev_info(dev, "Unsupported protocol %x\n", ntohs(data->protocol)); protocol 279 drivers/net/wan/hdlc_fr.c switch (skb->protocol) { protocol 332 drivers/net/wan/hdlc_fr.c *(__be16*)(skb->data + 8) = skb->protocol; protocol 428 drivers/net/wan/hdlc_fr.c skb->protocol = cpu_to_be16(ETH_P_802_3); protocol 495 drivers/net/wan/hdlc_fr.c skb->protocol = cpu_to_be16(NLPID_CISCO_LMI); protocol 498 drivers/net/wan/hdlc_fr.c skb->protocol = cpu_to_be16(NLPID_CCITT_ANSI_LMI); protocol 927 drivers/net/wan/hdlc_fr.c skb->protocol = htons(ETH_P_IP); protocol 932 drivers/net/wan/hdlc_fr.c skb->protocol = htons(ETH_P_IPV6); protocol 946 drivers/net/wan/hdlc_fr.c skb->protocol = htons(pid); protocol 951 drivers/net/wan/hdlc_fr.c skb->protocol = eth_type_trans(skb, dev); protocol 52 drivers/net/wan/hdlc_ppp.c __be16 protocol; protocol 149 drivers/net/wan/hdlc_ppp.c switch (data->protocol) { protocol 180 drivers/net/wan/hdlc_ppp.c data->protocol = htons(PID_IP); protocol 183 drivers/net/wan/hdlc_ppp.c data->protocol = htons(PID_IPV6); protocol 188 drivers/net/wan/hdlc_ppp.c data->protocol = htons(type); protocol 191 drivers/net/wan/hdlc_ppp.c data->protocol = 0; protocol 453 drivers/net/wan/hdlc_ppp.c pid = ntohs(hdr->protocol); protocol 458 drivers/net/wan/hdlc_ppp.c ++ppp->seq, skb->len + 2, &hdr->protocol); protocol 41 drivers/net/wan/hdlc_x25.c skb->protocol = x25_type_trans(skb, dev); protocol 74 drivers/net/wan/hdlc_x25.c skb->protocol = x25_type_trans(skb, dev); protocol 85 drivers/net/wan/hdlc_x25.c skb->protocol = hdlc_type_trans(skb, dev); protocol 65 drivers/net/wan/hostess_sv11.c skb->protocol = hdlc_type_trans(skb, c->netdevice); protocol 765 drivers/net/wan/ixp4xx_hss.c skb->protocol = hdlc_type_trans(skb, dev); protocol 139 drivers/net/wan/lapbether.c skb->protocol = x25_type_trans(skb, dev); protocol 193 drivers/net/wan/lapbether.c skb->protocol = htons(ETH_P_X25); protocol 223 drivers/net/wan/lapbether.c skb->protocol = x25_type_trans(skb, dev); protocol 240 drivers/net/wan/lapbether.c skb->protocol = x25_type_trans(skb, dev); protocol 1588 drivers/net/wan/lmc/lmc_main.c skb->protocol = lmc_proto_type(sc, skb); protocol 1626 drivers/net/wan/lmc/lmc_main.c nsb->protocol = lmc_proto_type(sc, nsb); protocol 1011 drivers/net/wan/sbni.c skb->protocol = eth_type_trans( skb, nl->master ); protocol 1016 drivers/net/wan/sbni.c skb->protocol = eth_type_trans( skb, dev ); protocol 65 drivers/net/wan/sealevel.c skb->protocol = hdlc_type_trans(skb, c->netdevice); protocol 222 drivers/net/wan/wanxl.c skb->protocol = hdlc_type_trans(skb, dev); protocol 206 drivers/net/wan/x25_asy.c skb->protocol = x25_type_trans(skb, sl->dev); protocol 414 drivers/net/wan/x25_asy.c skb->protocol = x25_type_trans(skb, sl->dev); protocol 433 drivers/net/wan/x25_asy.c skb->protocol = x25_type_trans(skb, sl->dev); protocol 405 drivers/net/wimax/i2400m/netdev.c void *_eth_hdr, __be16 protocol) protocol 413 drivers/net/wimax/i2400m/netdev.c eth_hdr->h_proto = protocol; protocol 483 drivers/net/wimax/i2400m/netdev.c skb->protocol = htons(ETH_P_IP); protocol 534 drivers/net/wimax/i2400m/netdev.c skb->protocol = htons(ETH_P_IP); protocol 840 drivers/net/wireless/ath/ath6kl/txrx.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 349 drivers/net/wireless/ath/ath6kl/wmi.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 420 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c !(skb->protocol == cpu_to_be16(ETH_P_PAE))) { protocol 965 drivers/net/wireless/ath/wil6210/txrx.c xmit_skb->protocol = htons(ETH_P_802_3); protocol 973 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol = eth_type_trans(skb, ndev); protocol 976 drivers/net/wireless/ath/wil6210/txrx.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 1058 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol = htons(ETH_P_802_2); protocol 1448 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol != cpu_to_be16(ETH_P_PAE)) protocol 1498 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol != cpu_to_be16(ETH_P_PAE)) protocol 1537 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol != cpu_to_be16(ETH_P_PAE)) protocol 1575 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol != cpu_to_be16(ETH_P_PAE)) protocol 1603 drivers/net/wireless/ath/wil6210/txrx.c skb->protocol != cpu_to_be16(ETH_P_PAE)) protocol 1673 drivers/net/wireless/ath/wil6210/txrx.c int protocol; protocol 1680 drivers/net/wireless/ath/wil6210/txrx.c switch (skb->protocol) { protocol 1682 drivers/net/wireless/ath/wil6210/txrx.c protocol = ip_hdr(skb)->protocol; protocol 1686 drivers/net/wireless/ath/wil6210/txrx.c protocol = ipv6_hdr(skb)->nexthdr; protocol 1692 drivers/net/wireless/ath/wil6210/txrx.c switch (protocol) { protocol 2516 drivers/net/wireless/ath/wil6210/txrx.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 1269 drivers/net/wireless/ath/wil6210/txrx_edma.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 1211 drivers/net/wireless/ath/wil6210/wmi.c skb->protocol = eth_type_trans(skb, ndev); protocol 936 drivers/net/wireless/atmel/atmel.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 1041 drivers/net/wireless/atmel/atmel.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 417 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c brcmf_dbg(DATA, "rx proto=0x%X\n", ntohs(skb->protocol)); protocol 472 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c skb->protocol = htons(ETH_P_802_2); protocol 492 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c skb->protocol = eth_type_trans(skb, (*ifp)->ndev); protocol 332 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fweh.h if (skb->protocol != cpu_to_be16(ETH_P_LINK_CTL)) protocol 1128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c skb->protocol = eth_type_trans(skb, ifp->ndev); protocol 1191 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c skb->protocol = eth_type_trans(skb, ifp->ndev); protocol 3420 drivers/net/wireless/cisco/airo.c skb->protocol = htons(ETH_P_802_2); protocol 3422 drivers/net/wireless/cisco/airo.c skb->protocol = eth_type_trans(skb, ai->dev); protocol 3697 drivers/net/wireless/cisco/airo.c skb->protocol = eth_type_trans(skb, ai->dev); protocol 3782 drivers/net/wireless/cisco/airo.c skb->protocol = htons(ETH_P_802_2); protocol 8238 drivers/net/wireless/intel/ipw2x00/ipw2200.c skb->protocol = cpu_to_be16(ETH_P_80211_STATS); protocol 46 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb->protocol = htons(ETH_P_80211_RAW); protocol 791 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb2->protocol = htons(ETH_P_802_3); protocol 800 drivers/net/wireless/intel/ipw2x00/libipw_rx.c skb->protocol = eth_type_trans(skb, dev); protocol 4984 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u8 protocol = ip_hdr(skb)->protocol; protocol 4989 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c return protocol == IPPROTO_TCP || protocol == IPPROTO_UDP; protocol 4999 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (skb->protocol != htons(ETH_P_IP)) protocol 106 drivers/net/wireless/intel/iwlwifi/mvm/tx.c u8 protocol = 0; protocol 117 drivers/net/wireless/intel/iwlwifi/mvm/tx.c (skb->protocol != htons(ETH_P_IP) && protocol 118 drivers/net/wireless/intel/iwlwifi/mvm/tx.c skb->protocol != htons(ETH_P_IPV6)), protocol 124 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb->protocol == htons(ETH_P_IP)) { protocol 125 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = ip_hdr(skb)->protocol; protocol 132 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = ipv6h->nexthdr; protocol 133 drivers/net/wireless/intel/iwlwifi/mvm/tx.c while (protocol != NEXTHDR_NONE && ipv6_ext_hdr(protocol)) { protocol 137 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (protocol != NEXTHDR_ROUTING && protocol 138 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol != NEXTHDR_HOP && protocol 139 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol != NEXTHDR_DEST) { protocol 145 drivers/net/wireless/intel/iwlwifi/mvm/tx.c protocol = hp->nexthdr; protocol 152 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) { protocol 169 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb->protocol == htons(ETH_P_IP) && protocol 176 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (protocol == IPPROTO_TCP) protocol 828 drivers/net/wireless/intel/iwlwifi/mvm/tx.c bool ipv4 = (skb->protocol == htons(ETH_P_IP)); protocol 910 drivers/net/wireless/intel/iwlwifi/mvm/tx.c if (skb->protocol == htons(ETH_P_IPV6) && protocol 2203 drivers/net/wireless/intel/iwlwifi/pcie/tx.c skb->protocol == protocol 199 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb->protocol = cpu_to_be16(ETH_P_802_2); protocol 1090 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb2->protocol = cpu_to_be16(ETH_P_802_3); protocol 1098 drivers/net/wireless/intersil/hostap/hostap_80211_rx.c skb->protocol = eth_type_trans(skb, dev); protocol 624 drivers/net/wireless/intersil/hostap/hostap_ap.c skb->protocol = cpu_to_be16(ETH_P_802_2); protocol 2279 drivers/net/wireless/intersil/hostap/hostap_ap.c skb->protocol = cpu_to_be16(ETH_P_HOSTAP); protocol 813 drivers/net/wireless/intersil/orinoco/main.c skb->protocol = cpu_to_be16(ETH_P_802_2); protocol 1044 drivers/net/wireless/intersil/orinoco/main.c skb->protocol = eth_type_trans(skb, dev); protocol 287 drivers/net/wireless/intersil/prism54/islpci_eth.c (*skb)->protocol = htons(ETH_P_802_2); protocol 386 drivers/net/wireless/intersil/prism54/islpci_eth.c skb->protocol = eth_type_trans(skb, ndev); protocol 873 drivers/net/wireless/mac80211_hwsim.c skb->protocol = htons(ETH_P_802_2); protocol 916 drivers/net/wireless/mac80211_hwsim.c skb->protocol = htons(ETH_P_802_2); protocol 152 drivers/net/wireless/marvell/libertas/rx.c skb->protocol = eth_type_trans(skb, dev); protocol 270 drivers/net/wireless/marvell/libertas/rx.c skb->protocol = eth_type_trans(skb, priv->dev); protocol 193 drivers/net/wireless/marvell/libertas/tx.c priv->currenttxskb->protocol = eth_type_trans(priv->currenttxskb, protocol 109 drivers/net/wireless/marvell/mwifiex/ioctl.h u16 protocol; protocol 34 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol = PROTOCOL_NO_SECURITY; protocol 66 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol = PROTOCOL_WPA; protocol 71 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol |= PROTOCOL_WPA2; protocol 78 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol = PROTOCOL_WPA; protocol 83 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol |= PROTOCOL_WPA2; protocol 120 drivers/net/wireless/marvell/mwifiex/uap_cmd.c bss_config->protocol = PROTOCOL_STATIC_WEP; protocol 604 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if ((bss_cfg->protocol & PROTOCOL_WPA) || protocol 605 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->protocol & PROTOCOL_WPA2) || protocol 606 drivers/net/wireless/marvell/mwifiex/uap_cmd.c (bss_cfg->protocol & PROTOCOL_EAP)) protocol 622 drivers/net/wireless/marvell/mwifiex/uap_cmd.c if (bss_cfg->protocol) { protocol 629 drivers/net/wireless/marvell/mwifiex/uap_cmd.c encrypt_protocol->proto = cpu_to_le16(bss_cfg->protocol); protocol 327 drivers/net/wireless/marvell/mwifiex/uap_txrx.c skb->protocol = eth_type_trans(skb, priv->netdev); protocol 466 drivers/net/wireless/marvell/mwifiex/util.c skb->protocol = eth_type_trans(skb, priv->netdev); protocol 1922 drivers/net/wireless/marvell/mwl8k.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 727 drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c skb->protocol = eth_type_trans(skb, ndev); protocol 501 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c if (unlikely(skb->protocol == htons(ETH_P_PAE))) { protocol 661 drivers/net/wireless/quantenna/qtnfmac/pcie/topaz_pcie.c skb->protocol = eth_type_trans(skb, ndev); protocol 2235 drivers/net/wireless/ray_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 1512 drivers/net/wireless/realtek/rtlwifi/base.c if (IPPROTO_UDP == ip->protocol) { protocol 233 drivers/net/wireless/realtek/rtlwifi/rc.c !(skb->protocol == cpu_to_be16(ETH_P_PAE))) { protocol 467 drivers/net/wireless/rsi/rsi_91x_core.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) { protocol 232 drivers/net/wireless/rsi/rsi_91x_hal.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) { protocol 1244 drivers/net/wireless/ti/wl18xx/main.c desc->wl18xx_checksum_data |= (ip_hdr->protocol & 0x01); protocol 319 drivers/net/wireless/ti/wlcore/tx.c if (skb->protocol == cpu_to_be16(ETH_P_PAE)) protocol 331 drivers/net/wireless/ti/wlcore/tx.c skb->protocol == cpu_to_be16(ETH_P_PAE) || protocol 986 drivers/net/wireless/wl3501_cs.c skb->protocol = eth_type_trans(skb, dev); protocol 332 drivers/net/wireless/zydas/zd1201.c skb->protocol = eth_type_trans(skb, zd->dev); protocol 388 drivers/net/wireless/zydas/zd1201.c skb->protocol = eth_type_trans(skb, zd->dev); protocol 161 drivers/net/xen-netback/hash.c switch (skb->protocol) { protocol 187 drivers/net/xen-netback/hash.c switch (skb->protocol) { protocol 1161 drivers/net/xen-netback/netback.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 271 drivers/net/xen-netback/rx.c skb->protocol == htons(ETH_P_IP) ? protocol 276 drivers/net/xen-netback/rx.c skb->protocol == htons(ETH_P_IP) ? protocol 965 drivers/net/xen-netfront.c skb->protocol = eth_type_trans(skb, queue->info->netdev); protocol 1636 drivers/nfc/pn533/pn533.c struct nfc_target *target, u32 protocol) protocol 1641 drivers/nfc/pn533/pn533.c dev_dbg(dev->dev, "%s: protocol=%u\n", __func__, protocol); protocol 1661 drivers/nfc/pn533/pn533.c if (!(dev->tgt_available_prots & (1 << protocol))) { protocol 1664 drivers/nfc/pn533/pn533.c protocol); protocol 1668 drivers/nfc/pn533/pn533.c if (protocol == NFC_PROTO_NFC_DEP) { protocol 1677 drivers/nfc/pn533/pn533.c dev->tgt_active_prot = protocol; protocol 547 drivers/nfc/st-nci/se.c spec_params.protocol = NCI_NFCEE_INTERFACE_HCI_ACCESS; protocol 2980 drivers/parport/parport_pc.c dev_info(&dev->dev, "reported by %s\n", dev->protocol->name); protocol 11 drivers/pnp/base.h int pnp_register_protocol(struct pnp_protocol *protocol); protocol 12 drivers/pnp/base.h void pnp_unregister_protocol(struct pnp_protocol *protocol); protocol 157 drivers/pnp/card.c struct pnp_card *pnp_alloc_card(struct pnp_protocol *protocol, int id, char *pnpid) protocol 166 drivers/pnp/card.c card->protocol = protocol; protocol 169 drivers/pnp/card.c card->dev.parent = &card->protocol->dev; protocol 170 drivers/pnp/card.c dev_set_name(&card->dev, "%02x:%02x", card->protocol->number, card->number); protocol 251 drivers/pnp/card.c list_add_tail(&card->protocol_list, &card->protocol->cards); protocol 301 drivers/pnp/card.c dev->protocol->number, card->number, dev->number); protocol 46 drivers/pnp/core.c static void pnp_remove_protocol(struct pnp_protocol *protocol) protocol 49 drivers/pnp/core.c list_del(&protocol->protocol_list); protocol 59 drivers/pnp/core.c int pnp_register_protocol(struct pnp_protocol *protocol) protocol 64 drivers/pnp/core.c INIT_LIST_HEAD(&protocol->devices); protocol 65 drivers/pnp/core.c INIT_LIST_HEAD(&protocol->cards); protocol 79 drivers/pnp/core.c protocol->number = nodenum; protocol 80 drivers/pnp/core.c dev_set_name(&protocol->dev, "pnp%d", nodenum); protocol 82 drivers/pnp/core.c list_add_tail(&protocol->protocol_list, &pnp_protocols); protocol 86 drivers/pnp/core.c ret = device_register(&protocol->dev); protocol 88 drivers/pnp/core.c pnp_remove_protocol(protocol); protocol 97 drivers/pnp/core.c void pnp_unregister_protocol(struct pnp_protocol *protocol) protocol 99 drivers/pnp/core.c pnp_remove_protocol(protocol); protocol 100 drivers/pnp/core.c device_unregister(&protocol->dev); protocol 141 drivers/pnp/core.c struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *protocol, int id, protocol 153 drivers/pnp/core.c dev->protocol = protocol; protocol 157 drivers/pnp/core.c dev->dev.parent = &dev->protocol->dev; protocol 163 drivers/pnp/core.c dev_set_name(&dev->dev, "%02x:%02x", dev->protocol->number, dev->number); protocol 192 drivers/pnp/core.c list_add_tail(&dev->protocol_list, &dev->protocol->devices); protocol 199 drivers/pnp/core.c else if (dev->protocol->can_wakeup) protocol 201 drivers/pnp/core.c dev->protocol->can_wakeup(dev)); protocol 231 drivers/pnp/core.c dev->protocol->name, buf, protocol 191 drivers/pnp/driver.c pnp_dev->protocol->suspend(pnp_dev, state); protocol 219 drivers/pnp/driver.c if (pnp_dev->protocol->resume) { protocol 220 drivers/pnp/driver.c error = pnp_dev->protocol->resume(pnp_dev); protocol 380 drivers/pnp/interface.c dev->protocol->get(dev); protocol 821 drivers/pnp/isapnp/core.c if (card->protocol == &isapnp_protocol) protocol 345 drivers/pnp/manager.c if (dev->protocol->set(dev) < 0) { protocol 366 drivers/pnp/manager.c if (dev->protocol->disable(dev) < 0) { protocol 387 drivers/s390/net/ctcm_fsms.c switch (ch->protocol) { protocol 450 drivers/s390/net/ctcm_fsms.c (ch->protocol == CTCM_PROTO_OS390)) { protocol 471 drivers/s390/net/ctcm_fsms.c (ch->protocol != CTCM_PROTO_S390)) protocol 493 drivers/s390/net/ctcm_fsms.c (ch->protocol == CTCM_PROTO_S390)) { protocol 1281 drivers/s390/net/ctcm_fsms.c if (be16_to_cpu(skb->protocol) == ETH_P_SNAP) protocol 1493 drivers/s390/net/ctcm_fsms.c fsm_getstate(gptr->fsm), ch->protocol); protocol 91 drivers/s390/net/ctcm_main.c if ((ch->protocol == CTCM_PROTO_S390) && protocol 110 drivers/s390/net/ctcm_main.c pskb->protocol = cpu_to_be16(header->type); protocol 160 drivers/s390/net/ctcm_main.c skb->protocol = pskb->protocol; protocol 489 drivers/s390/net/ctcm_main.c header.type = be16_to_cpu(skb->protocol); protocol 507 drivers/s390/net/ctcm_main.c header.type = be16_to_cpu(skb->protocol); protocol 693 drivers/s390/net/ctcm_main.c if (be16_to_cpu(skb->protocol) == ETH_P_SNAP) { protocol 748 drivers/s390/net/ctcm_main.c if (be16_to_cpu(skb->protocol) == ETH_P_SNAP) { protocol 960 drivers/s390/net/ctcm_main.c newskb->protocol = skb->protocol; protocol 1356 drivers/s390/net/ctcm_main.c __func__, dev_name(&cdev->dev), type, priv->protocol); protocol 1362 drivers/s390/net/ctcm_main.c ch->protocol = priv->protocol; protocol 1598 drivers/s390/net/ctcm_main.c priv->channel[direction]->protocol = priv->protocol; protocol 1614 drivers/s390/net/ctcm_main.c priv->channel[CTCM_WRITE]->id, priv->protocol); protocol 1619 drivers/s390/net/ctcm_main.c priv->channel[CTCM_WRITE]->id, priv->protocol); protocol 1692 drivers/s390/net/ctcm_main.c cgdev, priv->protocol); protocol 144 drivers/s390/net/ctcm_main.h __u16 protocol; /* protocol of this channel (4 = MPC) */ protocol 214 drivers/s390/net/ctcm_main.h __u16 protocol; protocol 296 drivers/s390/net/ctcm_main.h #define IS_MPC(p) ((p)->protocol == CTCM_PROTO_MPC) protocol 1116 drivers/s390/net/ctcm_mpc.c pskb->protocol = htons(ETH_P_SNAP); protocol 1118 drivers/s390/net/ctcm_mpc.c pskb->protocol = htons(ETH_P_SNA_DIX); protocol 1157 drivers/s390/net/ctcm_mpc.c skb->protocol = pskb->protocol; protocol 2141 drivers/s390/net/ctcm_mpc.c skb->protocol = htons(ETH_P_SNAP); protocol 144 drivers/s390/net/ctcm_sysfs.c return sprintf(buf, "%d\n", priv->protocol); protocol 162 drivers/s390/net/ctcm_sysfs.c priv->protocol = value; protocol 191 drivers/s390/net/ctcm_sysfs.c static DEVICE_ATTR(protocol, 0644, ctcm_proto_show, ctcm_proto_store); protocol 1541 drivers/s390/net/lcs.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1774 drivers/s390/net/lcs.c skb->protocol = card->lan_type_trans(skb, card->dev); protocol 1777 drivers/s390/net/lcs.c if (skb->protocol == htons(ETH_P_802_2)) protocol 624 drivers/s390/net/netiucv.c pskb->protocol = cpu_to_be16(ETH_P_IP); protocol 655 drivers/s390/net/netiucv.c skb->protocol = pskb->protocol; protocol 961 drivers/s390/net/qeth_core.h if ((ipv == 4 && ip_hdr(skb)->protocol == IPPROTO_UDP) || protocol 1086 drivers/s390/net/qeth_core_main.c if (skb->protocol == htons(ETH_P_AF_IUCV) && skb->sk) protocol 1592 drivers/s390/net/qeth_core_main.c if (response->protocol == VNIC_INFO_PROT_L2) protocol 1594 drivers/s390/net/qeth_core_main.c else if (response->protocol == VNIC_INFO_PROT_L3) protocol 321 drivers/s390/net/qeth_l2_main.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 561 drivers/s390/net/qeth_l2_main.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 1392 drivers/s390/net/qeth_l3_main.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 1948 drivers/s390/net/qeth_l3_main.c if (skb->protocol == htons(ETH_P_AF_IUCV)) { protocol 2058 drivers/s390/net/qeth_l3_main.c skb->protocol != htons(ETH_P_AF_IUCV))) protocol 367 drivers/scsi/bnx2fc/bnx2fc_fcoe.c skb->protocol = htons(ETH_P_FCOE); protocol 1542 drivers/scsi/csiostor/csio_lnode.c if (rdev_wr->protocol != PROT_FCOE) { protocol 1546 drivers/scsi/csiostor/csio_lnode.c rdev_wr->protocol, protocol 118 drivers/scsi/csiostor/t4fw_api_stor.h u8 protocol; protocol 126 drivers/scsi/csiostor/t4fw_api_stor.h u8 protocol; protocol 145 drivers/scsi/csiostor/t4fw_api_stor.h u8 protocol; protocol 1660 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c .protocol = 3260 protocol 2284 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c if (iscsi_app->app.protocol != 3260) protocol 1550 drivers/scsi/fcoe/fcoe.c skb->protocol = htons(ETH_P_FCOE); protocol 1823 drivers/scsi/fcoe/fcoe.c if (entry->app.protocol == ETH_P_FIP || protocol 1824 drivers/scsi/fcoe/fcoe.c entry->app.protocol == ETH_P_FCOE) protocol 1827 drivers/scsi/fcoe/fcoe.c if (entry->app.protocol == ETH_P_FCOE) protocol 2154 drivers/scsi/fcoe/fcoe.c .protocol = ETH_P_FCOE protocol 2164 drivers/scsi/fcoe/fcoe.c app.protocol = ETH_P_FIP; protocol 2169 drivers/scsi/fcoe/fcoe.c app.protocol = ETH_P_FIP; protocol 422 drivers/scsi/fcoe/fcoe_ctlr.c skb->protocol = htons(ETH_P_FIP); protocol 580 drivers/scsi/fcoe/fcoe_ctlr.c skb->protocol = htons(ETH_P_FIP); protocol 672 drivers/scsi/fcoe/fcoe_ctlr.c skb->protocol = htons(ETH_P_FIP); protocol 2107 drivers/scsi/fcoe/fcoe_ctlr.c skb->protocol = htons(ETH_P_FIP); protocol 2944 drivers/scsi/fcoe/fcoe_ctlr.c skb->protocol = htons(ETH_P_FIP); protocol 418 drivers/scsi/fnic/fnic_fcs.c skb->protocol = htons(ETH_P_FIP); protocol 353 drivers/scsi/gdth.h u8 protocol; /* same as ansi */ protocol 7089 drivers/scsi/ipr.c switch (qc->tf.protocol) { protocol 1777 drivers/scsi/isci/host.c if (iphy->protocol == SAS_PROTOCOL_SSP) { protocol 1851 drivers/scsi/isci/host.c current_phy->protocol == SAS_PROTOCOL_SSP && protocol 583 drivers/scsi/isci/phy.c iphy->protocol = SAS_PROTOCOL_SSP; protocol 594 drivers/scsi/isci/phy.c iphy->protocol = SAS_PROTOCOL_SATA; protocol 847 drivers/scsi/isci/phy.c iphy->protocol = SAS_PROTOCOL_SATA; protocol 1283 drivers/scsi/isci/phy.c iphy->protocol = SAS_PROTOCOL_NONE; protocol 1318 drivers/scsi/isci/phy.c if (iphy->protocol == SAS_PROTOCOL_SSP) { protocol 1384 drivers/scsi/isci/phy.c iphy->protocol = SAS_PROTOCOL_NONE; protocol 91 drivers/scsi/isci/phy.h enum sas_protocol protocol; protocol 187 drivers/scsi/isci/port.c if (iphy->protocol == SAS_PROTOCOL_SATA) { protocol 207 drivers/scsi/isci/port.c } else if (iphy->protocol == SAS_PROTOCOL_SSP) { protocol 520 drivers/scsi/isci/port.c if (iphy->protocol != SAS_PROTOCOL_SATA) { protocol 627 drivers/scsi/isci/port.c if (iphy->protocol != SAS_PROTOCOL_SATA && (flags & PF_RESUME)) protocol 757 drivers/scsi/isci/port.c (iphy->protocol == SAS_PROTOCOL_SATA)) { protocol 733 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_SSP; protocol 766 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_STP; protocol 1075 drivers/scsi/isci/request.c if (ireq->protocol == SAS_PROTOCOL_STP) { protocol 2355 drivers/scsi/isci/request.c switch (ireq->protocol) { protocol 3078 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_NONE; protocol 3130 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_STP; protocol 3132 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_SSP; protocol 3228 drivers/scsi/isci/request.c ireq->protocol = SAS_PROTOCOL_SMP; protocol 117 drivers/scsi/isci/request.h enum sas_protocol protocol; protocol 199 drivers/scsi/libsas/sas_ata.c if (ata_is_atapi(qc->tf.protocol)) { protocol 217 drivers/scsi/libsas/sas_ata.c task->ata_task.use_ncq = ata_is_ncq(qc->tf.protocol); protocol 218 drivers/scsi/libsas/sas_ata.c task->ata_task.dma_xfer = ata_is_dma(qc->tf.protocol); protocol 2710 drivers/scsi/lpfc/lpfc_attr.c static DEVICE_ATTR(protocol, S_IRUGO, lpfc_sli4_protocol_show, NULL); protocol 54 drivers/scsi/qedf/qedf_fip.c skb->protocol = htons(ETH_P_FIP); protocol 1123 drivers/scsi/qedf/qedf_main.c skb->protocol = htons(ETH_P_FCOE); protocol 3246 drivers/scsi/qedf/qedf_main.c qed_params.protocol = QED_PROTOCOL_FCOE; protocol 2416 drivers/scsi/qedi/qedi_main.c qed_params.protocol = QED_PROTOCOL_ISCSI; protocol 143 drivers/scsi/scsi_transport_sas.c sas_bitfield_name_match(protocol, sas_protocol_names) protocol 106 drivers/scsi/snic/snic_fwint.h u8 protocol; /* Protocol specific, may needed for RoCE*/ protocol 119 drivers/scsi/snic/snic_fwint.h hdr->protocol = 0; protocol 274 drivers/scsi/ufs/ufs-sysfs.c UFS_DEVICE_DESC_PARAM(protocol, _PRTCL, 1); protocol 188 drivers/soc/fsl/qe/ucc_slow.c qe_issue_cmd(QE_ASSIGN_PAGE_TO_DEVICE, id, us_info->protocol, protocol 343 drivers/soc/fsl/qe/ucc_slow.c qe_issue_cmd(command, id, us_info->protocol, 0); protocol 163 drivers/staging/gdm724x/gdm_lte.c skb_out->protocol = ((struct ethhdr *)mac_header_data)->h_proto; protocol 325 drivers/staging/gdm724x/gdm_lte.c skb_out->protocol = ((struct ethhdr *)mac_header_data)->h_proto; protocol 371 drivers/staging/gdm724x/gdm_lte.c if (ip->protocol == IPPROTO_UDP) { protocol 665 drivers/staging/gdm724x/gdm_lte.c skb->protocol = ((struct ethhdr *)mac_header_data)->h_proto; protocol 211 drivers/staging/isdn/hysdn/hysdn_net.c skb->protocol = eth_type_trans(skb, dev); protocol 520 drivers/staging/ks7010/ks_hostif.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 493 drivers/staging/most/net/net.c skb->protocol = eth_type_trans(skb, dev); protocol 129 drivers/staging/netlogic/xlr_net.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 332 drivers/staging/octeon/ethernet-rx.c skb->protocol = eth_type_trans(skb, dev); protocol 365 drivers/staging/octeon/ethernet-tx.c if ((skb->protocol == htons(ETH_P_IP)) && protocol 370 drivers/staging/octeon/ethernet-tx.c ((ip_hdr(skb)->protocol == IPPROTO_TCP) || protocol 371 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_UDP))) { protocol 578 drivers/staging/octeon/ethernet-tx.c if (skb->protocol == htons(ETH_P_IP)) { protocol 587 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_TCP) || protocol 588 drivers/staging/octeon/ethernet-tx.c (ip_hdr(skb)->protocol == IPPROTO_UDP); protocol 631 drivers/staging/octeon/ethernet-tx.c work->word2.snoip.is_rarp = skb->protocol == htons(ETH_P_RARP); protocol 632 drivers/staging/octeon/ethernet-tx.c work->word2.snoip.is_arp = skb->protocol == htons(ETH_P_ARP); protocol 1592 drivers/staging/qlge/qlge_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 1704 drivers/staging/qlge/qlge_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 2015 drivers/staging/qlge/qlge_main.c skb->protocol = eth_type_trans(skb, ndev); protocol 2617 drivers/staging/qlge/qlge_main.c if (likely(iph->protocol == IPPROTO_TCP)) { protocol 2631 drivers/staging/qlge/qlge_main.c iph->daddr, len, iph->protocol, 0); protocol 1588 drivers/staging/rtl8188eu/core/rtw_recv.c sub_skb->protocol = eth_type_trans(sub_skb, padapter->pnetdev); protocol 57 drivers/staging/rtl8188eu/os_dep/mon.c skb->protocol = eth_type_trans(skb, dev); protocol 237 drivers/staging/rtl8188eu/os_dep/os_intfs.c switch (skb->protocol) { protocol 117 drivers/staging/rtl8188eu/os_dep/recv_linux.c skb->protocol = eth_type_trans(skb, padapter->pnetdev); protocol 51 drivers/staging/rtl8192e/rtllib_rx.c skb->protocol = htons(ETH_P_80211_RAW); protocol 517 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->protocol = eth_type_trans(sub_skb, protocol 1281 drivers/staging/rtl8192e/rtllib_rx.c sub_skb->protocol = eth_type_trans(sub_skb, dev); protocol 620 drivers/staging/rtl8192e/rtllib_tx.c if (ip->protocol == IPPROTO_UDP) { protocol 54 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c skb->protocol = htons(ETH_P_80211_RAW); protocol 558 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->protocol = eth_type_trans(sub_skb, ieee->dev); protocol 1297 drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c sub_skb->protocol = eth_type_trans(sub_skb, dev); protocol 43 drivers/staging/rtl8192u/ieee80211/rtl819x_TS.h u8 protocol; protocol 113 drivers/staging/rtl8712/recv_linux.c skb->protocol = eth_type_trans(skb, adapter->pnetdev); protocol 405 drivers/staging/rtl8712/rtl8712_recv.c sub_skb->protocol = protocol 746 drivers/staging/rtl8723bs/core/rtw_xmit.c if (piphdr->protocol == 0x1) { /* protocol type in ip header 0x1 is ICMP */ protocol 386 drivers/staging/rtl8723bs/os_dep/os_intfs.c switch (skb->protocol) { protocol 150 drivers/staging/rtl8723bs/os_dep/recv_linux.c pkt->protocol = eth_type_trans(pkt, padapter->pnetdev); protocol 353 drivers/staging/unisys/include/iochannel.h __be16 protocol; protocol 934 drivers/staging/unisys/visornic/visornic_main.c cmdrsp->net.xmt.lincsum.protocol = skb->protocol; protocol 1325 drivers/staging/unisys/visornic/visornic_main.c skb->protocol = eth_type_trans(skb, netdev); protocol 92 drivers/staging/wilc1000/wilc_mon.c skb->protocol = htons(ETH_P_802_2); protocol 185 drivers/staging/wilc1000/wilc_mon.c skb2->protocol = htons(ETH_P_802_2); protocol 815 drivers/staging/wilc1000/wilc_netdev.c skb->protocol = eth_type_trans(skb, wilc_netdev); protocol 153 drivers/staging/wilc1000/wilc_wlan.c if (ip_hdr_ptr->protocol != IPPROTO_TCP) protocol 494 drivers/staging/wlan-ng/p80211conv.c skb->protocol = eth_type_trans(skb, netdev); protocol 289 drivers/staging/wlan-ng/p80211netdev.c skb->protocol = htons(ETH_P_80211_RAW); protocol 365 drivers/staging/wlan-ng/p80211netdev.c if (be16_to_cpu(skb->protocol) != ETH_P_80211_RAW) { protocol 376 drivers/staging/wlan-ng/p80211netdev.c if (be16_to_cpu(skb->protocol) == ETH_P_80211_RAW) { protocol 869 drivers/target/iscsi/cxgbit/cxgbit_cm.c .protocol = local_port protocol 629 drivers/target/iscsi/cxgbit/cxgbit_main.c iscsi_app->app.protocol); protocol 136 drivers/tty/ipwireless/hardware.c unsigned char protocol:3; protocol 144 drivers/tty/ipwireless/hardware.c unsigned char protocol:3; protocol 299 drivers/tty/ipwireless/hardware.c unsigned char protocol; protocol 339 drivers/tty/ipwireless/hardware.c unsigned int protocol; protocol 351 drivers/tty/ipwireless/hardware.c switch (hdr->protocol) { protocol 478 drivers/tty/ipwireless/hardware.c pkt.hdr_first.protocol = packet->protocol; protocol 620 drivers/tty/ipwireless/hardware.c unsigned int protocol, protocol 639 drivers/tty/ipwireless/hardware.c if (protocol == TL_PROTOCOLID_COM_DATA) { protocol 653 drivers/tty/ipwireless/hardware.c (*assem)->protocol = protocol; protocol 677 drivers/tty/ipwireless/hardware.c packet->protocol = protocol; protocol 724 drivers/tty/ipwireless/hardware.c if (packet->protocol == TL_PROTOCOLID_COM_DATA) { protocol 815 drivers/tty/ipwireless/hardware.c unsigned int protocol = packet->hdr.protocol; protocol 829 drivers/tty/ipwireless/hardware.c switch (protocol) { protocol 832 drivers/tty/ipwireless/hardware.c queue_received_packet(hw, protocol, address, data, data_len, protocol 1253 drivers/tty/ipwireless/hardware.c unsigned char protocol) protocol 1264 drivers/tty/ipwireless/hardware.c packet->protocol = protocol; protocol 1272 drivers/tty/ipwireless/hardware.c unsigned char protocol, protocol 1287 drivers/tty/ipwireless/hardware.c packet->header.protocol = protocol; protocol 2736 drivers/tty/n_gsm.c skb->protocol = htons(ETH_P_IP); protocol 2795 drivers/tty/n_gsm.c if (nc->protocol != htons(ETH_P_IP)) protocol 7895 drivers/tty/synclink.c skb->protocol = hdlc_type_trans(skb, dev); protocol 1737 drivers/tty/synclink_gt.c skb->protocol = hdlc_type_trans(skb, dev); protocol 1865 drivers/tty/synclinkmp.c skb->protocol = hdlc_type_trans(skb, dev); protocol 244 drivers/usb/chipidea/debug.c seq_printf(s, "protocol: %d\n", fsm->protocol); protocol 1814 drivers/usb/chipidea/udc.c ci->fsm.protocol = PROTO_UNDEF; protocol 151 drivers/usb/class/usblp.c } protocol[USBLP_MAX_PROTOCOLS]; protocol 181 drivers/usb/class/usblp.c usblp->protocol[p].alt_setting); protocol 183 drivers/usb/class/usblp.c usblp->protocol[p].epwrite); protocol 185 drivers/usb/class/usblp.c usblp->protocol[p].epread); protocol 239 drivers/usb/class/usblp.c static int usblp_set_protocol(struct usblp *usblp, int protocol); protocol 259 drivers/usb/class/usblp.c index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; protocol 550 drivers/usb/class/usblp.c if (usblp->protocol[i].alt_setting >= 0) protocol 709 drivers/usb/class/usblp.c usblp->protocol[usblp->current_protocol].epwrite->bEndpointAddress), protocol 994 drivers/usb/class/usblp.c usblp->protocol[usblp->current_protocol].epread->bEndpointAddress), protocol 1099 drivers/usb/class/usblp.c int protocol; protocol 1150 drivers/usb/class/usblp.c protocol = usblp_select_alts(usblp); protocol 1151 drivers/usb/class/usblp.c if (protocol < 0) { protocol 1161 drivers/usb/class/usblp.c if (usblp_set_protocol(usblp, protocol) < 0) { protocol 1189 drivers/usb/class/usblp.c usblp->protocol[usblp->current_protocol].alt_setting, protocol 1242 drivers/usb/class/usblp.c usblp->protocol[p].alt_setting = -1; protocol 1278 drivers/usb/class/usblp.c usblp->protocol[ifd->desc.bInterfaceProtocol].alt_setting = protocol 1280 drivers/usb/class/usblp.c usblp->protocol[ifd->desc.bInterfaceProtocol].epwrite = epwrite; protocol 1281 drivers/usb/class/usblp.c usblp->protocol[ifd->desc.bInterfaceProtocol].epread = epread; protocol 1287 drivers/usb/class/usblp.c usblp->protocol[proto_bias].alt_setting != -1) protocol 1291 drivers/usb/class/usblp.c if (usblp->protocol[2].alt_setting != -1) protocol 1293 drivers/usb/class/usblp.c if (usblp->protocol[1].alt_setting != -1) protocol 1295 drivers/usb/class/usblp.c if (usblp->protocol[3].alt_setting != -1) protocol 1302 drivers/usb/class/usblp.c static int usblp_set_protocol(struct usblp *usblp, int protocol) protocol 1306 drivers/usb/class/usblp.c if (protocol < USBLP_FIRST_PROTOCOL || protocol > USBLP_LAST_PROTOCOL) protocol 1309 drivers/usb/class/usblp.c alts = usblp->protocol[protocol].alt_setting; protocol 1319 drivers/usb/class/usblp.c usblp->bidir = (usblp->protocol[protocol].epread != NULL); protocol 1320 drivers/usb/class/usblp.c usblp->current_protocol = protocol; protocol 1322 drivers/usb/class/usblp.c usblp->minor, protocol); protocol 29 drivers/usb/common/usb-otg-fsm.c static int otg_set_protocol(struct otg_fsm *fsm, int protocol) protocol 33 drivers/usb/common/usb-otg-fsm.c if (fsm->protocol != protocol) { protocol 35 drivers/usb/common/usb-otg-fsm.c fsm->protocol, protocol); protocol 37 drivers/usb/common/usb-otg-fsm.c if (fsm->protocol == PROTO_HOST) protocol 39 drivers/usb/common/usb-otg-fsm.c else if (fsm->protocol == PROTO_GADGET) protocol 45 drivers/usb/common/usb-otg-fsm.c if (protocol == PROTO_HOST) protocol 47 drivers/usb/common/usb-otg-fsm.c else if (protocol == PROTO_GADGET) protocol 52 drivers/usb/common/usb-otg-fsm.c fsm->protocol = protocol; protocol 1594 drivers/usb/dwc3/gadget.c int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol) protocol 1621 drivers/usb/dwc3/gadget.c if (!protocol && ((dep->direction && transfer_in_flight) || protocol 113 drivers/usb/dwc3/gadget.h int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); protocol 43 drivers/usb/gadget/function/f_hid.c unsigned char protocol; protocol 528 drivers/usb/gadget/function/f_hid.c ((u8 *) req->buf)[0] = hidg->protocol; protocol 549 drivers/usb/gadget/function/f_hid.c hidg->protocol = value; protocol 781 drivers/usb/gadget/function/f_hid.c hidg->protocol = HID_REPORT_PROTOCOL; protocol 925 drivers/usb/gadget/function/f_hid.c F_HID_OPT(protocol, 8, 255); protocol 1102 drivers/usb/gadget/function/f_hid.c hidg->bInterfaceProtocol = opts->protocol; protocol 231 drivers/usb/gadget/function/f_phonet.c if (skb->protocol != htons(ETH_P_PHONET)) protocol 334 drivers/usb/gadget/function/f_phonet.c skb->protocol = htons(ETH_P_PHONET); protocol 693 drivers/usb/gadget/function/f_rndis.c rndis_iad_descriptor.bFunctionProtocol = rndis_opts->protocol; protocol 877 drivers/usb/gadget/function/f_rndis.c USB_ETHER_CONFIGFS_ITEM_ATTR_U8_RW(rndis, protocol); protocol 936 drivers/usb/gadget/function/f_rndis.c opts->protocol = rndis_iad_descriptor.bFunctionProtocol; protocol 294 drivers/usb/gadget/function/u_ether.c skb2->protocol = eth_type_trans(skb2, dev->net); protocol 22 drivers/usb/gadget/function/u_hid.h unsigned char protocol; protocol 32 drivers/usb/gadget/function/u_rndis.h u8 protocol; protocol 153 drivers/usb/gadget/legacy/hid.c hid_opts->protocol = n->func->protocol; protocol 587 drivers/usb/phy/phy-fsl-usb.c fsm->protocol = PROTO_UNDEF; protocol 86 drivers/usb/storage/scsiglue.c if (us->protocol == USB_PR_BULK && us->max_lun > 0) protocol 279 drivers/usb/storage/scsiglue.c us->protocol == USB_PR_BULK) protocol 319 drivers/usb/storage/scsiglue.c if ((us->protocol == USB_PR_CB || us->protocol == USB_PR_CBI) && protocol 1760 drivers/usb/storage/sddr09.c if (us->protocol == USB_PR_DPCM_USB) { protocol 648 drivers/usb/storage/transport.c if ((us->protocol == USB_PR_CB || us->protocol == USB_PR_DPCM_USB) && protocol 998 drivers/usb/storage/transport.c if (us->protocol != USB_PR_CBI) protocol 598 drivers/usb/storage/usb.c us->protocol = (unusual_dev->useTransport == USB_PR_DEVICE) ? protocol 640 drivers/usb/storage/usb.c us->protocol == idesc->bInterfaceProtocol) protocol 665 drivers/usb/storage/usb.c switch (us->protocol) { protocol 749 drivers/usb/storage/usb.c if (res && us->protocol == USB_PR_CBI) { protocol 899 drivers/usb/storage/usb.c if (us->protocol == USB_PR_BULK && protocol 110 drivers/usb/storage/usb.h u8 protocol; protocol 257 drivers/xen/pvcalls-back.c (req->u.socket.protocol != IPPROTO_IP && protocol 258 drivers/xen/pvcalls-back.c req->u.socket.protocol != AF_INET)) protocol 315 drivers/xen/pvcalls-front.c req->u.socket.protocol = IPPROTO_IP; protocol 205 fs/afs/vl_list.c bs.protocol = *b++; protocol 210 fs/afs/vl_list.c bs.port, bs.protocol, bs.nr_addrs, protocol 217 fs/afs/vl_list.c if (bs.protocol == DNS_SERVER_PROTOCOL_UNSPECIFIED) { protocol 218 fs/afs/vl_list.c bs.protocol = DNS_SERVER_PROTOCOL_UDP; protocol 219 fs/afs/vl_list.c } else if (bs.protocol != DNS_SERVER_PROTOCOL_UDP) { protocol 220 fs/afs/vl_list.c _leave(" = [proto %u]", bs.protocol); protocol 4712 fs/ceph/mds_client.c *proto = ac->protocol; protocol 266 fs/cifs/cifs_debug.c server->smbd_conn->protocol, protocol 333 fs/cifs/smbdirect.c info->protocol = le16_to_cpu(packet->negotiated_version); protocol 86 fs/cifs/smbdirect.h int protocol; protocol 170 fs/dlm/config.c CLUSTER_ATTR(protocol, 0); protocol 65 fs/lockd/clntlock.c nlm_init->protocol, nlm_version, protocol 57 fs/lockd/host.c const unsigned short protocol; /* transport to search for*/ protocol 145 fs/lockd/host.c host->h_proto = ni->protocol; protocol 218 fs/lockd/host.c const unsigned short protocol, protocol 229 fs/lockd/host.c .protocol = protocol, protocol 244 fs/lockd/host.c (protocol == IPPROTO_UDP ? "udp" : "tcp")); protocol 259 fs/lockd/host.c if (host->h_proto != protocol) protocol 342 fs/lockd/host.c .protocol = rqstp->rq_prot, protocol 370 fs/lockd/host.c if (host->h_proto != ni.protocol) protocol 458 fs/lockd/host.c .protocol = host->h_proto, protocol 76 fs/lockd/mon.c .protocol = XPRT_TRANSPORT_TCP, protocol 498 fs/nfs/client.c .protocol = clp->cl_proto, protocol 572 fs/nfs/client.c nlm_init.protocol = IPPROTO_TCP; protocol 575 fs/nfs/client.c nlm_init.protocol = IPPROTO_UDP; protocol 661 fs/nfs/client.c .proto = data->nfs_server.protocol, protocol 670 fs/nfs/client.c nfs_init_timeout_values(&timeparms, data->nfs_server.protocol, protocol 720 fs/nfs/client.c server->mountd_protocol = data->mount_server.protocol; protocol 108 fs/nfs/internal.h unsigned short protocol; protocol 117 fs/nfs/internal.h unsigned short protocol; protocol 132 fs/nfs/internal.h unsigned short protocol; protocol 160 fs/nfs/mount_clnt.c .protocol = info->protocol, protocol 245 fs/nfs/mount_clnt.c .protocol = IPPROTO_UDP, protocol 1060 fs/nfs/nfs4client.c nfs_init_timeout_values(&timeparms, data->nfs_server.protocol, protocol 1082 fs/nfs/nfs4client.c data->nfs_server.protocol, protocol 948 fs/nfs/super.c data->nfs_server.protocol = XPRT_TRANSPORT_TCP; protocol 1013 fs/nfs/super.c switch (mnt->nfs_server.protocol) { protocol 1019 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_TCP; protocol 1031 fs/nfs/super.c if (mnt->mount_server.protocol == XPRT_TRANSPORT_UDP || protocol 1032 fs/nfs/super.c mnt->mount_server.protocol == XPRT_TRANSPORT_TCP) protocol 1034 fs/nfs/super.c switch (mnt->nfs_server.protocol) { protocol 1036 fs/nfs/super.c mnt->mount_server.protocol = XPRT_TRANSPORT_UDP; protocol 1040 fs/nfs/super.c mnt->mount_server.protocol = XPRT_TRANSPORT_TCP; protocol 1302 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_UDP; protocol 1306 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_TCP; protocol 1310 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_RDMA; protocol 1478 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_UDP; protocol 1485 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_TCP; protocol 1493 fs/nfs/super.c mnt->nfs_server.protocol = XPRT_TRANSPORT_RDMA; protocol 1518 fs/nfs/super.c mnt->mount_server.protocol = XPRT_TRANSPORT_UDP; protocol 1524 fs/nfs/super.c mnt->mount_server.protocol = XPRT_TRANSPORT_TCP; protocol 1772 fs/nfs/super.c .protocol = args->mount_server.protocol, protocol 2080 fs/nfs/super.c args->nfs_server.protocol = XPRT_TRANSPORT_UDP; protocol 2192 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_RDMA) protocol 2199 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_UDP) protocol 2207 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_RDMA) protocol 2907 fs/nfs/super.c args->nfs_server.protocol = data->proto; protocol 2909 fs/nfs/super.c if (args->nfs_server.protocol == XPRT_TRANSPORT_UDP) protocol 877 fs/nfsd/nfs4callback.c args.protocol = XPRT_TRANSPORT_TCP; protocol 887 fs/nfsd/nfs4callback.c args.protocol = conn->cb_xprt->xpt_class->xcl_ident | protocol 774 include/acpi/actbl2.h u8 protocol; protocol 61 include/drm/i915_mei_hdcp_interface.h u8 protocol; protocol 39 include/linux/can/core.h int protocol; protocol 131 include/linux/can/dev.h if (skb->protocol == htons(ETH_P_CAN)) { protocol 135 include/linux/can/dev.h } else if (skb->protocol == htons(ETH_P_CANFD)) { protocol 88 include/linux/ceph/auth.h u32 protocol; /* CEPH_AUTH_* */ protocol 131 include/linux/i2c.h int protocol, union i2c_smbus_data *data); protocol 136 include/linux/i2c.h int protocol, union i2c_smbus_data *data); protocol 275 include/linux/i2c.h void (*alert)(struct i2c_client *client, enum i2c_alert_protocol protocol, protocol 341 include/linux/ide.h int protocol; protocol 361 include/linux/if_vlan.h veth->h_vlan_encapsulated_proto = skb->protocol; protocol 455 include/linux/if_vlan.h skb->protocol = vlan_proto; protocol 625 include/linux/if_vlan.h return __vlan_get_protocol(skb, skb->protocol, NULL); protocol 641 include/linux/if_vlan.h skb->protocol = proto; protocol 654 include/linux/if_vlan.h skb->protocol = htons(ETH_P_802_3); protocol 659 include/linux/if_vlan.h skb->protocol = htons(ETH_P_802_2); protocol 672 include/linux/if_vlan.h likely(!eth_type_vlan(skb->protocol))) protocol 687 include/linux/if_vlan.h __be16 protocol = skb->protocol; protocol 692 include/linux/if_vlan.h if (likely(!eth_type_vlan(protocol))) protocol 699 include/linux/if_vlan.h protocol = veh->h_vlan_encapsulated_proto; protocol 702 include/linux/if_vlan.h if (!eth_type_vlan(protocol)) protocol 548 include/linux/libata.h u8 protocol; /* ATA_PROT_xxx */ protocol 44 include/linux/lockd/bind.h unsigned short protocol; protocol 229 include/linux/lockd/lockd.h const unsigned short protocol, protocol 1707 include/linux/lsm_hooks.h int (*socket_create)(int family, int type, int protocol, int kern); protocol 1709 include/linux/lsm_hooks.h int protocol, int kern); protocol 301 include/linux/mISDNif.h u_int protocol; protocol 314 include/linux/mISDNif.h __u32 protocol; protocol 451 include/linux/mISDNif.h u_int protocol; protocol 469 include/linux/mISDNif.h u_int protocol; protocol 1165 include/linux/mlx4/device.h enum mlx4_protocol protocol, u64 *reg_id); protocol 1167 include/linux/mlx4/device.h enum mlx4_protocol protocol, u64 reg_id); protocol 65 include/linux/mlx4/driver.h enum mlx4_protocol protocol; protocol 1066 include/linux/mlx5/driver.h int protocol; protocol 213 include/linux/net.h int protocol, int kern); protocol 4374 include/linux/netdevice.h __be16 protocol) protocol 4376 include/linux/netdevice.h if (protocol == htons(ETH_P_FCOE)) protocol 4386 include/linux/netdevice.h switch (protocol) { protocol 4551 include/linux/netdevice.h static inline void skb_gso_error_unwind(struct sk_buff *skb, __be16 protocol, protocol 4555 include/linux/netdevice.h skb->protocol = protocol; protocol 343 include/linux/netfilter.h unsigned int dataoff, u_int8_t protocol, protocol 348 include/linux/netfilter.h u_int8_t protocol, unsigned short family); protocol 208 include/linux/netfilter/ipset/ip_set.h u8 protocol; protocol 25 include/linux/netfilter_ipv4.h unsigned int dataoff, u_int8_t protocol); protocol 30 include/linux/netfilter_ipv4.h unsigned int dataoff, u_int8_t protocol) protocol 216 include/linux/netfilter_ipv6.h unsigned int dataoff, u_int8_t protocol); protocol 208 include/linux/netlink.h int protocol; protocol 209 include/linux/pnp.h struct pnp_protocol *protocol; protocol 254 include/linux/pnp.h struct pnp_protocol *protocol; protocol 309 include/linux/pnp.h #define pnp_can_read(dev) (((dev)->protocol->get) && \ protocol 311 include/linux/pnp.h #define pnp_can_write(dev) (((dev)->protocol->set) && \ protocol 313 include/linux/pnp.h #define pnp_can_disable(dev) (((dev)->protocol->disable) && \ protocol 319 include/linux/pnp.h #define pnp_can_suspend(dev) (((dev)->protocol->suspend) && \ protocol 326 include/linux/pnp.h #define pnp_device_is_isapnp(dev) ((dev)->protocol == (&isapnp_protocol)) protocol 335 include/linux/pnp.h #define pnp_device_is_pnpbios(dev) ((dev)->protocol == (&pnpbios_protocol)) protocol 346 include/linux/pnp.h if (dev->protocol == &pnpacpi_protocol) protocol 433 include/linux/pnp.h #define protocol_for_each_card(protocol, card) \ protocol 434 include/linux/pnp.h list_for_each_entry(card, &(protocol)->cards, protocol_list) protocol 435 include/linux/pnp.h #define protocol_for_each_dev(protocol, dev) \ protocol 436 include/linux/pnp.h list_for_each_entry(dev, &(protocol)->devices, protocol_list) protocol 763 include/linux/qed/qed_if.h enum qed_protocol protocol; protocol 267 include/linux/scmi_protocol.h scmi_device_create(struct device_node *np, struct device *parent, int protocol); protocol 1281 include/linux/security.h int security_socket_create(int family, int type, int protocol, int kern); protocol 1283 include/linux/security.h int type, int protocol, int kern); protocol 1343 include/linux/security.h int protocol, int kern) protocol 1351 include/linux/security.h int protocol, int kern) protocol 868 include/linux/skbuff.h __be16 protocol; protocol 2374 include/linux/skbuff.h __be16 protocol) protocol 2376 include/linux/skbuff.h skb->inner_protocol = protocol; protocol 397 include/linux/socket.h extern int __sys_socket(int family, int type, int protocol); protocol 406 include/linux/socket.h extern int __sys_socketpair(int family, int type, int protocol, protocol 116 include/linux/sunrpc/clnt.h int protocol; protocol 27 include/linux/usb/g_hid.h unsigned char protocol; protocol 195 include/linux/usb/otg-fsm.h int protocol; protocol 16 include/linux/virtio_net.h skb->protocol = cpu_to_be16(ETH_P_IP); protocol 19 include/linux/virtio_net.h skb->protocol = cpu_to_be16(ETH_P_IPV6); protocol 82 include/linux/virtio_net.h if (!skb->protocol) protocol 90 include/linux/virtio_net.h skb->protocol == htons(ETH_P_IP)) { protocol 91 include/linux/virtio_net.h skb->protocol = htons(ETH_P_IPV6); protocol 24 include/media/i2c/ir-kbd-i2c.h enum rc_proto *protocol, protocol 55 include/media/i2c/ir-kbd-i2c.h enum rc_proto *protocol, protocol 287 include/media/rc-core.h void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u32 scancode, protocol 289 include/media/rc-core.h void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, protocol 326 include/media/rc-core.h int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, protocol 328 include/media/rc-core.h int ir_raw_encode_carrier(enum rc_proto protocol); protocol 357 include/media/rc-core.h enum rc_proto *protocol) protocol 369 include/media/rc-core.h *protocol = RC_PROTO_NEC32; protocol 375 include/media/rc-core.h *protocol = RC_PROTO_NECX; protocol 379 include/media/rc-core.h *protocol = RC_PROTO_NEC; protocol 40 include/net/caif/caif_dev.h enum caif_protocol_type protocol; protocol 3875 include/net/cfg80211.h enum nl80211_crit_proto_id protocol, protocol 355 include/net/flow_offload.h __be16 protocol; protocol 16 include/net/fou.h u8 *protocol, __be16 *sport, int type); protocol 18 include/net/fou.h u8 *protocol, __be16 *sport, int type); protocol 11 include/net/garp.h __be16 protocol; protocol 10 include/net/gre.h __be16 protocol; protocol 132 include/net/gre.h greh->protocol = proto; protocol 44 include/net/inet_common.h unsigned short type, unsigned char protocol, protocol 175 include/net/inet_ecn.h switch (skb->protocol) { protocol 194 include/net/inet_ecn.h switch (skb->protocol) { protocol 275 include/net/inet_ecn.h if (skb->protocol == htons(ETH_P_IP)) protocol 277 include/net/inet_ecn.h else if (skb->protocol == htons(ETH_P_IPV6)) protocol 290 include/net/inet_ecn.h if (skb->protocol == htons(ETH_P_IP)) protocol 292 include/net/inet_ecn.h else if (skb->protocol == htons(ETH_P_IPV6)) protocol 47 include/net/inet_frag.h u16 protocol; protocol 71 include/net/ip6_tunnel.h u8 *protocol, struct flowi6 *fl6); protocol 109 include/net/ip6_tunnel.h u8 *protocol, struct flowi6 *fl6) protocol 123 include/net/ip6_tunnel.h ret = ops->build_header(skb, &t->encap, protocol, fl6); protocol 249 include/net/ip_fib.h unsigned char protocol; protocol 269 include/net/ip_tunnels.h const struct iphdr *tnl_params, const u8 protocol); protocol 295 include/net/ip_tunnels.h u8 *protocol, struct flowi4 *fl4); protocol 316 include/net/ip_tunnels.h switch (skb->protocol) { protocol 353 include/net/ip_tunnels.h u8 *protocol, struct flowi4 *fl4) protocol 367 include/net/ip_tunnels.h ret = ops->build_header(skb, &t->encap, protocol, fl4); protocol 377 include/net/ip_tunnels.h if (skb->protocol == htons(ETH_P_IP)) protocol 379 include/net/ip_tunnels.h else if (skb->protocol == htons(ETH_P_IPV6)) protocol 388 include/net/ip_tunnels.h if (skb->protocol == htons(ETH_P_IP)) protocol 390 include/net/ip_tunnels.h else if (skb->protocol == htons(ETH_P_IPV6)) protocol 53 include/net/ip_vs.h __s16 protocol; protocol 89 include/net/ip_vs.h iphdr->protocol = ipv6_find_hdr(skb, &iphdr->len, -1, protocol 92 include/net/ip_vs.h if (iphdr->protocol < 0) protocol 105 include/net/ip_vs.h iphdr->protocol = iph->protocol; protocol 420 include/net/ip_vs.h u16 protocol; protocol 495 include/net/ip_vs.h __u16 protocol; protocol 515 include/net/ip_vs.h __u16 protocol; /* Which protocol (TCP/UDP) */ protocol 574 include/net/ip_vs.h u16 protocol; protocol 620 include/net/ip_vs.h __u16 protocol; /* which protocol (TCP/UDP) */ protocol 688 include/net/ip_vs.h __u16 protocol; /* which protocol (TCP/UDP) */ protocol 748 include/net/ip_vs.h __u16 protocol; protocol 1181 include/net/ip_vs.h static inline void ip_vs_conn_fill_param(struct netns_ipvs *ipvs, int af, int protocol, protocol 1190 include/net/ip_vs.h p->protocol = protocol; protocol 1403 include/net/ip_vs.h ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, protocol 1406 include/net/ip_vs.h bool ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol, protocol 1410 include/net/ip_vs.h ip_vs_find_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol, protocol 1426 include/net/ip_vs.h __u16 protocol, __u32 fwmark, __u32 flags); protocol 253 include/net/llc_pdu.h if (skb->protocol == htons(ETH_P_802_2)) protocol 266 include/net/llc_pdu.h if (skb->protocol == htons(ETH_P_802_2)) protocol 340 include/net/llc_pdu.h if (ev_skb->protocol == htons(ETH_P_802_2)) { protocol 151 include/net/neighbour.h u8 protocol; protocol 176 include/net/neighbour.h u8 protocol; protocol 198 include/net/neighbour.h __be16 protocol; protocol 17 include/net/netfilter/ipv4/nf_reject.h __u8 protocol, int ttl); protocol 18 include/net/netfilter/ipv6/nf_reject.h __u8 protocol, int hoplimit); protocol 109 include/net/netfilter/nf_flow_table.h u8 protocol, enum flow_offload_tuple_dir dir); protocol 112 include/net/netfilter/nf_flow_table.h u8 protocol, enum flow_offload_tuple_dir dir); protocol 118 include/net/netfilter/nf_log.h __be16 protocol, protocol 51 include/net/netfilter/nf_queue.h (__force u32)iph->daddr, iph->protocol, initval); protocol 54 include/net/netfilter/nf_queue.h (__force u32)iph->saddr, iph->protocol, initval); protocol 15 include/net/netfilter/nf_tables_ipv4.h pkt->tprot = ip->protocol; protocol 42 include/net/netfilter/nf_tables_ipv4.h pkt->tprot = iph->protocol; protocol 76 include/net/netfilter/nf_tproxy.h const u8 protocol, protocol 115 include/net/netfilter/nf_tproxy.h const u8 protocol, protocol 89 include/net/nexthop.h u8 protocol; /* app managing this nh */ protocol 241 include/net/nfc/nci.h __u8 protocol; protocol 58 include/net/nfc/nfc.h u32 protocol); protocol 282 include/net/nfc/nfc.h int nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, protocol 98 include/net/phonet/phonet.h int phonet_proto_register(unsigned int protocol, protocol 100 include/net/phonet/phonet.h void phonet_proto_unregister(unsigned int protocol, protocol 635 include/net/pkt_cls.h cls_common->protocol = tp->protocol; protocol 139 include/net/pkt_sched.h return skb->protocol; protocol 86 include/net/protocol.h unsigned short protocol; /* This is the L4 protocol number. */ protocol 206 include/net/route.h u8 protocol); protocol 208 include/net/route.h void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u8 protocol); protocol 282 include/net/route.h u32 tos, int oif, u8 protocol, protocol 292 include/net/route.h protocol, flow_flags, dst, src, dport, sport, protocol 298 include/net/route.h int oif, u8 protocol, protocol 305 include/net/route.h ip_route_connect_init(fl4, dst, src, tos, oif, protocol, protocol 16 include/net/rtnetlink.h void rtnl_register(int protocol, int msgtype, protocol 18 include/net/rtnetlink.h int rtnl_register_module(struct module *owner, int protocol, int msgtype, protocol 20 include/net/rtnetlink.h int rtnl_unregister(int protocol, int msgtype); protocol 21 include/net/rtnetlink.h void rtnl_unregister_all(int protocol); protocol 358 include/net/sch_generic.h __be16 protocol; protocol 1191 include/net/sock.h int sock_load_diag_module(int family, int protocol); protocol 1559 include/net/tcp.h __u8 protocol; protocol 1567 include/net/tcp.h __be32 protocol; /* including padding */ protocol 227 include/net/udp.h (__force u32) skb->protocol); protocol 305 include/net/vxlan.h l4_hdr = ip_hdr(skb)->protocol; protocol 380 include/net/xfrm.h int (*callback)(struct sk_buff *skb, u8 protocol, protocol 647 include/net/xfrm.h u8 protocol; protocol 1580 include/net/xfrm.h int xfrm4_protocol_register(struct xfrm4_protocol *handler, unsigned char protocol); protocol 1581 include/net/xfrm.h int xfrm4_protocol_deregister(struct xfrm4_protocol *handler, unsigned char protocol); protocol 1595 include/net/xfrm.h int xfrm6_protocol_register(struct xfrm6_protocol *handler, unsigned char protocol); protocol 1596 include/net/xfrm.h int xfrm6_protocol_deregister(struct xfrm6_protocol *handler, unsigned char protocol); protocol 246 include/rdma/ib_pack.h u8 protocol; protocol 1975 include/rdma/ib_verbs.h __be16 protocol; protocol 2071 include/rdma/ib_verbs.h enum ib_uverbs_flow_action_esp_keymat protocol; protocol 2078 include/rdma/ib_verbs.h enum ib_uverbs_flow_action_esp_replay protocol; protocol 147 include/soc/fsl/qe/ucc_slow.h int protocol; /* QE_CR_PROTOCOL_xxx */ protocol 182 include/trace/events/libata.h __entry->proto = qc->tf.protocol; protocol 27 include/trace/events/net.h __field( u16, protocol ) protocol 47 include/trace/events/net.h __entry->protocol = ntohs(skb->protocol); protocol 64 include/trace/events/net.h __entry->protocol, __entry->ip_summed, __entry->len, protocol 178 include/trace/events/net.h __field( u16, protocol ) protocol 204 include/trace/events/net.h __entry->protocol = ntohs(skb->protocol); protocol 221 include/trace/events/net.h __entry->vlan_tci, __entry->protocol, __entry->ip_summed, protocol 24 include/trace/events/skb.h __field( unsigned short, protocol ) protocol 30 include/trace/events/skb.h __entry->protocol = ntohs(skb->protocol); protocol 34 include/trace/events/skb.h __entry->skbaddr, __entry->protocol, __entry->location) protocol 26 include/trace/events/smbus.h char read_write, u8 command, int protocol, protocol 28 include/trace/events/smbus.h TP_ARGS(adap, addr, flags, read_write, command, protocol, data), protocol 30 include/trace/events/smbus.h protocol == I2C_SMBUS_PROC_CALL || protocol 31 include/trace/events/smbus.h protocol == I2C_SMBUS_BLOCK_PROC_CALL), protocol 38 include/trace/events/smbus.h __field(__u32, protocol ) protocol 45 include/trace/events/smbus.h __entry->protocol = protocol; protocol 47 include/trace/events/smbus.h switch (protocol) { protocol 74 include/trace/events/smbus.h __print_symbolic(__entry->protocol, protocol 94 include/trace/events/smbus.h char read_write, u8 command, int protocol), protocol 95 include/trace/events/smbus.h TP_ARGS(adap, addr, flags, read_write, command, protocol), protocol 97 include/trace/events/smbus.h protocol == I2C_SMBUS_PROC_CALL || protocol 98 include/trace/events/smbus.h protocol == I2C_SMBUS_BLOCK_PROC_CALL)), protocol 104 include/trace/events/smbus.h __field(__u32, protocol ) protocol 111 include/trace/events/smbus.h __entry->protocol = protocol; protocol 118 include/trace/events/smbus.h __print_symbolic(__entry->protocol, protocol 136 include/trace/events/smbus.h char read_write, u8 command, int protocol, protocol 138 include/trace/events/smbus.h TP_ARGS(adap, addr, flags, read_write, command, protocol, data, res), protocol 146 include/trace/events/smbus.h __field(__u32, protocol ) protocol 153 include/trace/events/smbus.h __entry->protocol = protocol; protocol 155 include/trace/events/smbus.h switch (protocol) { protocol 182 include/trace/events/smbus.h __print_symbolic(__entry->protocol, protocol 202 include/trace/events/smbus.h char read_write, u8 command, int protocol, protocol 204 include/trace/events/smbus.h TP_ARGS(adap, addr, flags, read_write, command, protocol, res), protocol 212 include/trace/events/smbus.h __field(__u32, protocol ) protocol 220 include/trace/events/smbus.h __entry->protocol = protocol; protocol 228 include/trace/events/smbus.h __print_symbolic(__entry->protocol, protocol 150 include/trace/events/sock.h __field(__u8, protocol) protocol 167 include/trace/events/sock.h __entry->protocol = sk->sk_protocol; protocol 195 include/trace/events/sock.h show_inet_protocol_name(__entry->protocol), protocol 2977 include/uapi/linux/bpf.h __u32 protocol; protocol 3064 include/uapi/linux/bpf.h __u32 protocol; protocol 3297 include/uapi/linux/bpf.h __u32 protocol; /* Allows 4-byte read, but no write */ protocol 24 include/uapi/linux/bsg.h __u32 protocol; /* [i] 0 -> SCSI , .... */ protocol 35 include/uapi/linux/cm4000_cs.h __u32 protocol; /*T=0: 2^0, T=1: 2^1*/ protocol 247 include/uapi/linux/dcbnl.h __u16 protocol; protocol 104 include/uapi/linux/dns_resolver.h __u8 protocol; /* enum dns_payload_protocol_type */ protocol 31 include/uapi/linux/gsmmux.h unsigned short protocol;/* Protocol to use - only ETH_P_IP supported */ protocol 101 include/uapi/linux/ip.h __u8 protocol; protocol 146 include/uapi/linux/ip_vs.h __u16 protocol; protocol 208 include/uapi/linux/ip_vs.h __u16 protocol; protocol 248 include/uapi/linux/ip_vs.h __u16 protocol; protocol 40 include/uapi/linux/netfilter_bridge/ebt_ip.h __u8 protocol; protocol 39 include/uapi/linux/netfilter_bridge/ebt_ip6.h __u8 protocol; protocol 274 include/uapi/linux/pkt_cls.h __u8 protocol; protocol 56 include/uapi/linux/ppp-ioctl.h int protocol; /* PPP protocol, e.g. PPP_IP */ protocol 273 include/uapi/linux/usb/audio.h int protocol) protocol 275 include/uapi/linux/usb/audio.h if (protocol == UAC_VERSION_1) protocol 286 include/uapi/linux/usb/audio.h int protocol) protocol 288 include/uapi/linux/usb/audio.h return (protocol == UAC_VERSION_1) ? protocol 294 include/uapi/linux/usb/audio.h int protocol) protocol 296 include/uapi/linux/usb/audio.h switch (protocol) { protocol 370 include/uapi/linux/usb/audio.h int protocol) protocol 372 include/uapi/linux/usb/audio.h if (protocol == UAC_VERSION_1) protocol 383 include/uapi/linux/usb/audio.h int protocol) protocol 385 include/uapi/linux/usb/audio.h return (protocol == UAC_VERSION_1) ? protocol 391 include/uapi/linux/usb/audio.h int protocol) protocol 393 include/uapi/linux/usb/audio.h switch (protocol) { protocol 406 include/uapi/linux/usb/audio.h int protocol) protocol 408 include/uapi/linux/usb/audio.h switch (protocol) { protocol 421 include/uapi/linux/usb/audio.h int protocol) protocol 423 include/uapi/linux/usb/audio.h __u8 control_size = uac_processing_unit_bControlSize(desc, protocol); protocol 425 include/uapi/linux/usb/audio.h switch (protocol) { protocol 429 include/uapi/linux/usb/audio.h return *(uac_processing_unit_bmControls(desc, protocol) protocol 437 include/uapi/linux/usb/audio.h int protocol) protocol 439 include/uapi/linux/usb/audio.h __u8 control_size = uac_processing_unit_bControlSize(desc, protocol); protocol 441 include/uapi/linux/usb/audio.h switch (protocol) { protocol 445 include/uapi/linux/usb/audio.h return uac_processing_unit_bmControls(desc, protocol) protocol 448 include/uapi/linux/usb/audio.h return uac_processing_unit_bmControls(desc, protocol) protocol 460 include/uapi/linux/usb/audio.h int protocol) protocol 462 include/uapi/linux/usb/audio.h switch (protocol) { protocol 475 include/uapi/linux/usb/audio.h int protocol) protocol 477 include/uapi/linux/usb/audio.h __u8 control_size = uac_extension_unit_bControlSize(desc, protocol); protocol 479 include/uapi/linux/usb/audio.h switch (protocol) { protocol 483 include/uapi/linux/usb/audio.h return *(uac_processing_unit_bmControls(desc, protocol) protocol 1089 include/uapi/rdma/ib_user_verbs.h __be16 protocol; protocol 45 include/xen/interface/io/pvcalls.h uint32_t protocol; protocol 205 kernel/bpf/cpumap.c skb->protocol = eth_type_trans(skb, xdpf->dev_rx); protocol 67 lib/test_blackhole_dev.c skb->protocol = htons(ETH_P_IPV6); protocol 6483 lib/test_bpf.c skb->protocol = htons(ETH_P_IP); protocol 6830 lib/test_bpf.c skb[i]->protocol = htons(ETH_P_IP); protocol 1140 net/6lowpan/iphc.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 218 net/802/garp.c skb->protocol = htons(ETH_P_802_2); protocol 222 net/802/garp.c put_unaligned(htons(GARP_PROTOCOL_ID), &gp->protocol); protocol 516 net/802/garp.c if (get_unaligned(&gp->protocol) != htons(GARP_PROTOCOL_ID)) protocol 306 net/802/mrp.c skb->protocol = app->app->pkttype.type; protocol 125 net/8021q/vlan.c __be16 protocol, u16 vlan_id, protocol 136 net/8021q/vlan.c if (vlan_find_dev(real_dev, protocol, vlan_id) != NULL) { protocol 124 net/8021q/vlan.h __be16 protocol, u16 vlan_id, protocol 71 net/8021q/vlan_dev.c skb->protocol = vlan->vlan_proto; protocol 121 net/appletalk/aarp.c skb->protocol = htons(ETH_P_ATALK); protocol 168 net/appletalk/aarp.c skb->protocol = htons(ETH_P_ATALK); protocol 219 net/appletalk/aarp.c skb->protocol = htons(ETH_P_ATALK); protocol 592 net/appletalk/aarp.c skb->protocol = htons(ETH_P_PPPTALK); protocol 602 net/appletalk/aarp.c skb->protocol = htons(ETH_P_ATALK); protocol 1011 net/appletalk/ddp.c static int atalk_create(struct net *net, struct socket *sock, int protocol, protocol 1296 net/appletalk/ddp.c skb->protocol = htons(ETH_P_IP); protocol 229 net/atm/br2684.c unsigned short prot = ntohs(skb->protocol); protocol 458 net/atm/br2684.c skb->protocol = htons(ETH_P_IPV6); protocol 461 net/atm/br2684.c skb->protocol = htons(ETH_P_IP); protocol 475 net/atm/br2684.c skb->protocol = eth_type_trans(skb, net_dev); protocol 486 net/atm/br2684.c skb->protocol = htons(ETH_P_IP); protocol 488 net/atm/br2684.c skb->protocol = htons(ETH_P_IPV6); protocol 497 net/atm/br2684.c skb->protocol = eth_type_trans(skb, net_dev); protocol 502 net/atm/br2684.c if (unlikely(packet_fails_filter(skb->protocol, brvcc, skb))) protocol 507 net/atm/br2684.c pr_debug("received packet's protocol: %x\n", ntohs(skb->protocol)); protocol 222 net/atm/clip.c skb->protocol = htons(ETH_P_IP); protocol 224 net/atm/clip.c skb->protocol = ((__be16 *)skb->data)[3]; protocol 226 net/atm/clip.c if (skb->protocol == htons(ETH_P_ARP)) { protocol 383 net/atm/clip.c ((__be16 *) here)[3] = skb->protocol; protocol 140 net/atm/common.c int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern) protocol 14 net/atm/common.h int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern); protocol 656 net/atm/lec.c skb->protocol = eth_type_trans(skb, dev); protocol 771 net/atm/mpc.c new_skb->protocol = eth_type_trans(new_skb, dev); protocol 133 net/atm/pvc.c static int pvc_create(struct net *net, struct socket *sock, int protocol, protocol 140 net/atm/pvc.c return vcc_create(net, sock, protocol, PF_ATMPVC, kern); protocol 31 net/atm/svc.c static int svc_create(struct net *net, struct socket *sock, int protocol, protocol 656 net/atm/svc.c static int svc_create(struct net *net, struct socket *sock, int protocol, protocol 665 net/atm/svc.c error = vcc_create(net, sock, protocol, AF_ATMSVC, kern); protocol 807 net/ax25/af_ax25.c static int ax25_create(struct net *net, struct socket *sock, int protocol, protocol 813 net/ax25/af_ax25.c if (protocol < 0 || protocol > SK_PROTOCOL_MAX) protocol 821 net/ax25/af_ax25.c if (protocol == 0 || protocol == PF_AX25) protocol 822 net/ax25/af_ax25.c protocol = AX25_P_TEXT; protocol 826 net/ax25/af_ax25.c switch (protocol) { protocol 829 net/ax25/af_ax25.c protocol = AX25_P_TEXT; protocol 881 net/ax25/af_ax25.c sk->sk_protocol = protocol; protocol 141 net/ax25/ax25_ds_subr.c skb->protocol = ax25_type_trans(skb, ax25_dev->dev); protocol 57 net/ax25/ax25_iface.c struct ax25_protocol *protocol; protocol 60 net/ax25/ax25_iface.c protocol = protocol_list; protocol 61 net/ax25/ax25_iface.c if (protocol == NULL) protocol 64 net/ax25/ax25_iface.c if (protocol->pid == pid) { protocol 65 net/ax25/ax25_iface.c protocol_list = protocol->next; protocol 69 net/ax25/ax25_iface.c while (protocol != NULL && protocol->next != NULL) { protocol 70 net/ax25/ax25_iface.c if (protocol->next->pid == pid) { protocol 71 net/ax25/ax25_iface.c protocol->next = protocol->next->next; protocol 75 net/ax25/ax25_iface.c protocol = protocol->next; protocol 161 net/ax25/ax25_iface.c struct ax25_protocol *protocol; protocol 164 net/ax25/ax25_iface.c for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) protocol 165 net/ax25/ax25_iface.c if (protocol->pid == pid) { protocol 166 net/ax25/ax25_iface.c res = protocol->func; protocol 202 net/ax25/ax25_iface.c struct ax25_protocol *protocol; protocol 206 net/ax25/ax25_iface.c for (protocol = protocol_list; protocol != NULL; protocol = protocol->next) protocol 207 net/ax25/ax25_iface.c if (protocol->pid == pid) { protocol 127 net/ax25/ax25_in.c skb->protocol = htons(ETH_P_IP); protocol 245 net/ax25/ax25_in.c skb->protocol = htons(ETH_P_IP); protocol 255 net/ax25/ax25_in.c skb->protocol = htons(ETH_P_ARP); protocol 368 net/ax25/ax25_out.c skb->protocol = ax25_type_trans(skb, ax25_fwd_dev(dev)); protocol 435 net/batman-adv/bridge_loop_avoidance.c skb->protocol = eth_type_trans(skb, soft_iface); protocol 1259 net/batman-adv/distributed-arp-table.c skb_new->protocol = eth_type_trans(skb_new, soft_iface); protocol 1504 net/batman-adv/distributed-arp-table.c if (iphdr->protocol != IPPROTO_UDP) protocol 662 net/batman-adv/gateway_client.c if (iphdr->protocol != IPPROTO_UDP) protocol 1159 net/batman-adv/multicast.c int protocol) protocol 1161 net/batman-adv/multicast.c switch (protocol) { protocol 97 net/batman-adv/send.c skb->protocol = htons(ETH_P_BATMAN); protocol 464 net/batman-adv/soft-interface.c skb->protocol = eth_type_trans(skb, soft_iface); protocol 315 net/bluetooth/6lowpan.c local_skb->protocol = htons(ETH_P_IPV6); protocol 345 net/bluetooth/6lowpan.c local_skb->protocol = htons(ETH_P_IPV6); protocol 402 net/bluetooth/bnep/core.c nskb->protocol = eth_type_trans(nskb, dev); protocol 199 net/bluetooth/bnep/sock.c static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, protocol 221 net/bluetooth/bnep/sock.c sk->sk_protocol = protocol; protocol 202 net/bluetooth/cmtp/sock.c static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, protocol 224 net/bluetooth/cmtp/sock.c sk->sk_protocol = protocol; protocol 1997 net/bluetooth/hci_sock.c static int hci_sock_create(struct net *net, struct socket *sock, int protocol, protocol 2017 net/bluetooth/hci_sock.c sk->sk_protocol = protocol; protocol 250 net/bluetooth/hidp/sock.c static int hidp_sock_create(struct net *net, struct socket *sock, int protocol, protocol 272 net/bluetooth/hidp/sock.c sk->sk_protocol = protocol; protocol 1621 net/bluetooth/l2cap_sock.c static int l2cap_sock_create(struct net *net, struct socket *sock, int protocol, protocol 1639 net/bluetooth/l2cap_sock.c sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); protocol 316 net/bluetooth/rfcomm/sock.c int protocol, int kern) protocol 329 net/bluetooth/rfcomm/sock.c sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); protocol 497 net/bluetooth/sco.c static int sco_sock_create(struct net *net, struct socket *sock, int protocol, protocol 511 net/bluetooth/sco.c sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC, kern); protocol 300 net/bpf/test_run.c skb->protocol = eth_type_trans(skb, current->nsproxy->net_ns->loopback_dev); protocol 267 net/bridge/br_arp_nd_proxy.c reply->protocol = htons(ETH_P_IPV6); protocol 293 net/bridge/br_arp_nd_proxy.c reply->protocol = htons(ETH_P_IPV6); protocol 68 net/bridge/br_device.c skb->protocol == htons(ETH_P_IPV6) && protocol 42 net/bridge/br_forward.c (skb->protocol == htons(ETH_P_8021Q) || protocol 43 net/bridge/br_forward.c skb->protocol == htons(ETH_P_8021AD))) { protocol 46 net/bridge/br_forward.c if (!__vlan_get_protocol(skb, skb->protocol, &depth)) protocol 113 net/bridge/br_input.c (skb->protocol == htons(ETH_P_ARP) || protocol 114 net/bridge/br_input.c skb->protocol == htons(ETH_P_RARP))) { protocol 117 net/bridge/br_input.c skb->protocol == htons(ETH_P_IPV6) && protocol 123 net/bridge/br_multicast.c ip.proto = skb->protocol; protocol 126 net/bridge/br_multicast.c switch (skb->protocol) { protocol 235 net/bridge/br_multicast.c skb->protocol = htons(ETH_P_IP); protocol 260 net/bridge/br_multicast.c iph->protocol = IPPROTO_IGMP; protocol 331 net/bridge/br_multicast.c skb->protocol = htons(ETH_P_IPV6); protocol 1586 net/bridge/br_multicast.c if (ip_hdr(skb)->protocol != IPPROTO_IGMP || protocol 1610 net/bridge/br_multicast.c if (ip_hdr(skb)->protocol == IPPROTO_PIM) protocol 1618 net/bridge/br_multicast.c br_multicast_err_count(br, port, skb->protocol); protocol 1690 net/bridge/br_multicast.c br_multicast_err_count(br, port, skb->protocol); protocol 1697 net/bridge/br_multicast.c br_multicast_err_count(br, port, skb->protocol); protocol 1741 net/bridge/br_multicast.c switch (skb->protocol) { protocol 2316 net/bridge/br_multicast.c __be16 proto = skb->protocol; protocol 67 net/bridge/br_netfilter_hooks.c (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IP)) protocol 70 net/bridge/br_netfilter_hooks.c (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_IPV6)) protocol 73 net/bridge/br_netfilter_hooks.c (!skb_vlan_tag_present(skb) && skb->protocol == htons(ETH_P_ARP)) protocol 78 net/bridge/br_netfilter_hooks.c return skb->protocol; protocol 79 net/bridge/br_netfilter_hooks.c else if (skb->protocol == htons(ETH_P_8021Q)) protocol 118 net/bridge/br_netfilter_hooks.c return skb->protocol == htons(ETH_P_PPP_SES) && protocol 127 net/bridge/br_netfilter_hooks.c return skb->protocol == htons(ETH_P_PPP_SES) && protocol 165 net/bridge/br_netfilter_hooks.c switch (skb->protocol) { protocol 251 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_8021Q); protocol 254 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_PPP_SES); protocol 459 net/bridge/br_netfilter_hooks.c if (skb->protocol == htons(ETH_P_8021Q)) protocol 461 net/bridge/br_netfilter_hooks.c else if (skb->protocol == htons(ETH_P_PPP_SES)) protocol 528 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); protocol 547 net/bridge/br_netfilter_hooks.c if (skb->protocol == htons(ETH_P_IP)) protocol 550 net/bridge/br_netfilter_hooks.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 630 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); protocol 632 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IPV6); protocol 750 net/bridge/br_netfilter_hooks.c skb->protocol == htons(ETH_P_IP)) { protocol 778 net/bridge/br_netfilter_hooks.c skb->protocol == htons(ETH_P_IPV6)) { protocol 847 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IP); protocol 849 net/bridge/br_netfilter_hooks.c skb->protocol = htons(ETH_P_IPV6); protocol 233 net/bridge/br_netfilter_ipv6.c skb->protocol = htons(ETH_P_IPV6); protocol 45 net/bridge/br_stp_bpdu.c skb->protocol = htons(ETH_P_802_2); protocol 459 net/bridge/br_vlan.c skb->protocol == br->vlan_proto)) { protocol 61 net/bridge/netfilter/ebt_ip.c if (NF_INVF(info, EBT_IP_PROTO, info->protocol != ih->protocol)) protocol 117 net/bridge/netfilter/ebt_ip.c if (info->protocol != IPPROTO_TCP && protocol 118 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_UDP && protocol 119 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_UDPLITE && protocol 120 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_SCTP && protocol 121 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_DCCP) protocol 130 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_ICMP) protocol 138 net/bridge/netfilter/ebt_ip.c info->protocol != IPPROTO_IGMP) protocol 70 net/bridge/netfilter/ebt_ip6.c if (NF_INVF(info, EBT_IP6_PROTO, info->protocol != nexthdr)) protocol 118 net/bridge/netfilter/ebt_ip6.c if (info->protocol != IPPROTO_TCP && protocol 119 net/bridge/netfilter/ebt_ip6.c info->protocol != IPPROTO_UDP && protocol 120 net/bridge/netfilter/ebt_ip6.c info->protocol != IPPROTO_UDPLITE && protocol 121 net/bridge/netfilter/ebt_ip6.c info->protocol != IPPROTO_SCTP && protocol 122 net/bridge/netfilter/ebt_ip6.c info->protocol != IPPROTO_DCCP) protocol 131 net/bridge/netfilter/ebt_ip6.c info->protocol != IPPROTO_ICMPV6) protocol 53 net/bridge/netfilter/ebt_log.c print_ports(const struct sk_buff *skb, uint8_t protocol, int offset) protocol 55 net/bridge/netfilter/ebt_log.c if (protocol == IPPROTO_TCP || protocol 56 net/bridge/netfilter/ebt_log.c protocol == IPPROTO_UDP || protocol 57 net/bridge/netfilter/ebt_log.c protocol == IPPROTO_UDPLITE || protocol 58 net/bridge/netfilter/ebt_log.c protocol == IPPROTO_SCTP || protocol 59 net/bridge/netfilter/ebt_log.c protocol == IPPROTO_DCCP) { protocol 108 net/bridge/netfilter/ebt_log.c &ih->saddr, &ih->daddr, ih->tos, ih->protocol); protocol 109 net/bridge/netfilter/ebt_log.c print_ports(skb, ih->protocol, ih->ihl*4); protocol 38 net/bridge/netfilter/ebt_vlan.c encap = skb->protocol; protocol 243 net/bridge/netfilter/nf_conntrack_bridge.c switch (skb->protocol) { protocol 308 net/bridge/netfilter/nf_conntrack_bridge.c switch (skb->protocol) { protocol 368 net/bridge/netfilter/nf_conntrack_bridge.c switch (skb->protocol) { protocol 131 net/bridge/netfilter/nft_reject_bridge.c proto = ip_hdr(oldskb)->protocol; protocol 179 net/caif/caif_dev.c skb->protocol = htons(ETH_P_CAIF); protocol 1027 net/caif/caif_socket.c static int caif_create(struct net *net, struct socket *sock, int protocol, protocol 1054 net/caif/caif_socket.c if (protocol < 0 || protocol >= CAIFPROTO_MAX) protocol 1068 net/caif/caif_socket.c sk->sk_protocol = (unsigned char) protocol; protocol 1071 net/caif/caif_socket.c switch (protocol) { protocol 1102 net/caif/caif_socket.c cf_sk->conn_req.protocol = protocol; protocol 59 net/caif/caif_usb.c skb->protocol = htons(ETH_P_IP); protocol 251 net/caif/cfcnfg.c switch (s->protocol) { protocol 101 net/caif/chnl_net.c skb->protocol = htons(ETH_P_IP); protocol 104 net/caif/chnl_net.c skb->protocol = htons(ETH_P_IPV6); protocol 113 net/caif/chnl_net.c if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) protocol 237 net/caif/chnl_net.c if (priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP) protocol 411 net/caif/chnl_net.c priv->conn_req.protocol = CAIFPROTO_DATAGRAM; protocol 432 net/caif/chnl_net.c loop = priv->conn_req.protocol == CAIFPROTO_DATAGRAM_LOOP; protocol 456 net/caif/chnl_net.c conn_req->protocol = CAIFPROTO_DATAGRAM_LOOP; protocol 458 net/caif/chnl_net.c conn_req->protocol = CAIFPROTO_DATAGRAM; protocol 481 net/caif/chnl_net.c caifdev->conn_req.protocol = CAIFPROTO_DATAGRAM_LOOP; protocol 96 net/can/af_can.c static const struct can_proto *can_get_proto(int protocol) protocol 101 net/can/af_can.c cp = rcu_dereference(proto_tab[protocol]); protocol 114 net/can/af_can.c static int can_create(struct net *net, struct socket *sock, int protocol, protocol 123 net/can/af_can.c if (protocol < 0 || protocol >= CAN_NPROTO) protocol 126 net/can/af_can.c cp = can_get_proto(protocol); protocol 132 net/can/af_can.c err = request_module("can-proto-%d", protocol); protocol 140 net/can/af_can.c protocol); protocol 142 net/can/af_can.c cp = can_get_proto(protocol); protocol 207 net/can/af_can.c skb->protocol = htons(ETH_P_CAN); protocol 211 net/can/af_can.c skb->protocol = htons(ETH_P_CANFD); protocol 721 net/can/af_can.c int proto = cp->protocol; protocol 757 net/can/af_can.c int proto = cp->protocol; protocol 1668 net/can/bcm.c .protocol = CAN_BCM, protocol 1220 net/can/j1939/socket.c .protocol = CAN_J1939, protocol 875 net/can/raw.c .protocol = CAN_RAW, protocol 24 net/ceph/auth.c static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) protocol 26 net/ceph/auth.c switch (protocol) { protocol 160 net/ceph/auth.c ceph_encode_32(&p, ac->protocol); protocol 184 net/ceph/auth.c int protocol; protocol 196 net/ceph/auth.c protocol = ceph_decode_32(&p); protocol 221 net/ceph/auth.c if (!protocol && result < 0) { protocol 226 net/ceph/auth.c if (ac->protocol && ac->protocol != protocol) { protocol 228 net/ceph/auth.c ac->protocol = 0; protocol 231 net/ceph/auth.c if (ac->protocol != protocol) { protocol 232 net/ceph/auth.c ret = ceph_auth_init_protocol(ac, protocol); protocol 235 net/ceph/auth.c ret, protocol); protocol 140 net/ceph/auth_none.c ac->protocol = CEPH_AUTH_NONE; protocol 957 net/ceph/auth_x.c ac->protocol = CEPH_AUTH_CEPHX; protocol 5600 net/ceph/osd_client.c *proto = ac->protocol; protocol 1848 net/core/dev.c skb->protocol = eth_type_trans(skb, dev); protocol 1978 net/core/dev.c ntohs(skb2->protocol), protocol 2920 net/core/dev.c __be16 type = skb->protocol; protocol 4313 net/core/dev.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 4683 net/core/dev.c switch (skb->protocol) { protocol 4759 net/core/dev.c if (skb->protocol == cpu_to_be16(ETH_P_8021Q) || protocol 4760 net/core/dev.c skb->protocol == cpu_to_be16(ETH_P_8021AD)) { protocol 4839 net/core/dev.c } else if (skb->protocol == cpu_to_be16(ETH_P_8021Q) || protocol 4840 net/core/dev.c skb->protocol == cpu_to_be16(ETH_P_8021AD)) { protocol 4870 net/core/dev.c type = skb->protocol; protocol 5292 net/core/dev.c __be16 type = skb->protocol; protocol 5467 net/core/dev.c __be16 type = skb->protocol; protocol 5698 net/core/dev.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 5758 net/core/dev.c skb->protocol = eth->h_proto; protocol 633 net/core/drop_monitor.c if (nla_put_u16(msg, NET_DM_ATTR_PROTO, be16_to_cpu(skb->protocol))) protocol 778 net/core/drop_monitor.c if (nla_put_u16(msg, NET_DM_ATTR_PROTO, be16_to_cpu(skb->protocol))) protocol 325 net/core/filter.c BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, protocol) != 2); protocol 329 net/core/filter.c offsetof(struct sk_buff, protocol)); protocol 2869 net/core/filter.c skb->protocol = htons(ETH_P_IPV6); protocol 2910 net/core/filter.c skb->protocol = htons(ETH_P_IP); protocol 2918 net/core/filter.c __be16 from_proto = skb->protocol; protocol 2991 net/core/filter.c switch (skb->protocol) { protocol 3032 net/core/filter.c if (skb->protocol != htons(ETH_P_IP) && protocol 3033 net/core/filter.c skb->protocol != htons(ETH_P_IPV6)) protocol 3062 net/core/filter.c skb_set_inner_protocol(skb, skb->protocol); protocol 3086 net/core/filter.c if (skb->protocol == htons(ETH_P_IP) && protocol 3088 net/core/filter.c skb->protocol = htons(ETH_P_IPV6); protocol 3089 net/core/filter.c else if (skb->protocol == htons(ETH_P_IPV6) && protocol 3091 net/core/filter.c skb->protocol = htons(ETH_P_IP); protocol 3159 net/core/filter.c __be16 proto = skb->protocol; protocol 4931 net/core/filter.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 5731 net/core/filter.c if (skb->protocol == cpu_to_be16(ETH_P_IP)) protocol 5733 net/core/filter.c else if (skb->protocol == cpu_to_be16(ETH_P_IPV6)) protocol 6708 net/core/filter.c case offsetof(struct bpf_sock, protocol): protocol 7236 net/core/filter.c case offsetof(struct __sk_buff, protocol): protocol 7238 net/core/filter.c bpf_target_off(struct sk_buff, protocol, 2, protocol 7646 net/core/filter.c case offsetof(struct bpf_sock, protocol): protocol 7941 net/core/filter.c case offsetof(struct bpf_sock_addr, protocol): protocol 8848 net/core/filter.c if (size < FIELD_SIZEOF(struct sk_buff, protocol)) protocol 8900 net/core/filter.c SK_REUSEPORT_LOAD_SKB_FIELD(protocol); protocol 532 net/core/flow_dissector.c *p_proto = hdr->protocol; protocol 916 net/core/flow_dissector.c skb->vlan_proto : skb->protocol; protocol 978 net/core/flow_dissector.c n_proto = skb->protocol; protocol 1018 net/core/flow_dissector.c ip_proto = iph->protocol; protocol 1108 net/core/flow_dissector.c proto = skb->protocol; protocol 90 net/core/lwt_bpf.c if (skb->protocol == htons(ETH_P_IP)) { protocol 99 net/core/lwt_bpf.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 185 net/core/lwt_bpf.c if (skb->protocol == htons(ETH_P_IP)) protocol 187 net/core/lwt_bpf.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 211 net/core/lwt_bpf.c fl4.flowi4_proto = iph->protocol; protocol 276 net/core/lwt_bpf.c __be16 proto = skb->protocol; protocol 286 net/core/lwt_bpf.c if (skb->protocol != proto) { protocol 540 net/core/lwt_bpf.c __u8 protocol; protocol 550 net/core/lwt_bpf.c protocol = ip_hdr(skb)->protocol; protocol 554 net/core/lwt_bpf.c protocol = ipv6_hdr(skb)->nexthdr; protocol 559 net/core/lwt_bpf.c switch (protocol) { protocol 626 net/core/lwt_bpf.c skb_set_inner_protocol(skb, skb->protocol); protocol 637 net/core/lwt_bpf.c skb->protocol = htons(ETH_P_IP); protocol 644 net/core/lwt_bpf.c skb->protocol = htons(ETH_P_IPV6); protocol 734 net/core/neighbour.c n->protocol = 0; protocol 1451 net/core/neighbour.c __be16 prot = n->tbl->protocol; protocol 1482 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 1511 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 1861 net/core/neighbour.c u8 protocol = 0; protocol 1903 net/core/neighbour.c protocol = nla_get_u8(tb[NDA_PROTOCOL]); protocol 1912 net/core/neighbour.c if (protocol) protocol 1913 net/core/neighbour.c pn->protocol = protocol; protocol 1957 net/core/neighbour.c if (protocol) protocol 1958 net/core/neighbour.c neigh->protocol = protocol; protocol 2467 net/core/neighbour.c if (neigh->protocol && nla_put_u8(skb, NDA_PROTOCOL, neigh->protocol)) protocol 2501 net/core/neighbour.c if (pn->protocol && nla_put_u8(skb, NDA_PROTOCOL, pn->protocol)) protocol 3011 net/core/neighbour.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 424 net/core/netpoll.c skb->protocol = eth->h_proto = htons(ETH_P_IPV6); protocol 445 net/core/netpoll.c iph->protocol = IPPROTO_UDP; protocol 453 net/core/netpoll.c skb->protocol = eth->h_proto = htons(ETH_P_IP); protocol 2552 net/core/pktgen.c struct sk_buff *skb, __be16 protocol) protocol 2582 net/core/pktgen.c eth->h_proto = protocol; protocol 2727 net/core/pktgen.c __be16 protocol = htons(ETH_P_IP); protocol 2736 net/core/pktgen.c protocol = htons(ETH_P_MPLS_UC); protocol 2739 net/core/pktgen.c protocol = htons(ETH_P_8021Q); protocol 2790 net/core/pktgen.c *(__be16 *) & eth[12] = protocol; protocol 2807 net/core/pktgen.c iph->protocol = IPPROTO_UDP; /* UDP */ protocol 2816 net/core/pktgen.c skb->protocol = protocol; protocol 2840 net/core/pktgen.c if (!process_ipsec(pkt_dev, skb, protocol)) protocol 2855 net/core/pktgen.c __be16 protocol = htons(ETH_P_IPV6); protocol 2864 net/core/pktgen.c protocol = htons(ETH_P_MPLS_UC); protocol 2867 net/core/pktgen.c protocol = htons(ETH_P_8021Q); protocol 2918 net/core/pktgen.c *(__be16 *) ð[12] = protocol; protocol 2951 net/core/pktgen.c skb->protocol = protocol; protocol 3343 net/core/pktgen.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 158 net/core/rtnetlink.c static struct rtnl_link *rtnl_get_link(int protocol, int msgtype) protocol 162 net/core/rtnetlink.c if (protocol >= ARRAY_SIZE(rtnl_msg_handlers)) protocol 163 net/core/rtnetlink.c protocol = PF_UNSPEC; protocol 165 net/core/rtnetlink.c tab = rcu_dereference_rtnl(rtnl_msg_handlers[protocol]); protocol 173 net/core/rtnetlink.c int protocol, int msgtype, protocol 182 net/core/rtnetlink.c BUG_ON(protocol < 0 || protocol > RTNL_FAMILY_MAX); protocol 186 net/core/rtnetlink.c tab = rtnl_msg_handlers[protocol]; protocol 193 net/core/rtnetlink.c rcu_assign_pointer(rtnl_msg_handlers[protocol], tab); protocol 242 net/core/rtnetlink.c int protocol, int msgtype, protocol 246 net/core/rtnetlink.c return rtnl_register_internal(owner, protocol, msgtype, protocol 267 net/core/rtnetlink.c void rtnl_register(int protocol, int msgtype, protocol 273 net/core/rtnetlink.c err = rtnl_register_internal(NULL, protocol, msgtype, doit, dumpit, protocol 277 net/core/rtnetlink.c "protocol = %d, message type = %d\n", protocol, msgtype); protocol 287 net/core/rtnetlink.c int rtnl_unregister(int protocol, int msgtype) protocol 292 net/core/rtnetlink.c BUG_ON(protocol < 0 || protocol > RTNL_FAMILY_MAX); protocol 296 net/core/rtnetlink.c tab = rtnl_dereference(rtnl_msg_handlers[protocol]); protocol 319 net/core/rtnetlink.c void rtnl_unregister_all(int protocol) protocol 324 net/core/rtnetlink.c BUG_ON(protocol < 0 || protocol > RTNL_FAMILY_MAX); protocol 327 net/core/rtnetlink.c tab = rtnl_msg_handlers[protocol]; protocol 332 net/core/rtnetlink.c RCU_INIT_POINTER(rtnl_msg_handlers[protocol], NULL); protocol 759 net/core/skbuff.c ntohs(skb->protocol), skb->pkt_type, skb->skb_iif); protocol 947 net/core/skbuff.c CHECK_SKB_FIELD(protocol); protocol 4765 net/core/skbuff.c csum = skb_checksum_setup_ip(skb, ip_hdr(skb)->protocol, off); protocol 4773 net/core/skbuff.c ip_hdr(skb)->protocol, 0); protocol 4897 net/core/skbuff.c switch (skb->protocol) { protocol 5326 net/core/skbuff.c __vlan_hwaccel_put_tag(skb, skb->protocol, vlan_tci); protocol 5410 net/core/skbuff.c if (unlikely(!eth_type_vlan(skb->protocol))) protocol 5418 net/core/skbuff.c if (likely(!eth_type_vlan(skb->protocol))) protocol 5421 net/core/skbuff.c vlan_proto = skb->protocol; protocol 5451 net/core/skbuff.c skb->protocol = skb->vlan_proto; protocol 5505 net/core/skbuff.c skb_set_inner_protocol(skb, skb->protocol); protocol 5520 net/core/skbuff.c skb->protocol = mpls_proto; protocol 5543 net/core/skbuff.c if (unlikely(!eth_p_mpls(skb->protocol))) protocol 5565 net/core/skbuff.c skb->protocol = next_proto; protocol 5585 net/core/skbuff.c if (unlikely(!eth_p_mpls(skb->protocol))) protocol 5618 net/core/skbuff.c if (unlikely(!eth_p_mpls(skb->protocol))) protocol 3457 net/core/sock.c int sock_load_diag_module(int family, int protocol) protocol 3459 net/core/sock.c if (!protocol) { protocol 3469 net/core/sock.c protocol != IPPROTO_RAW && protocol 3470 net/core/sock.c !rcu_access_pointer(inet_protos[protocol])) protocol 3475 net/core/sock.c NETLINK_SOCK_DIAG, family, protocol); protocol 471 net/dcb/dcbnl.c .protocol = id, protocol 540 net/dcb/dcbnl.c app.protocol = id; protocol 1289 net/dcb/dcbnl.c itr->app.protocol); protocol 1796 net/dcb/dcbnl.c itr->app.protocol == app->protocol && protocol 1989 net/dcb/dcbnl.c itr->app.protocol < 64 && protocol 1992 net/dcb/dcbnl.c p_map->map[prio] |= 1ULL << itr->app.protocol; protocol 2018 net/dcb/dcbnl.c itr->app.protocol < 64 && protocol 2020 net/dcb/dcbnl.c p_map->map[itr->app.protocol] |= 1 << itr->app.priority; protocol 2046 net/dcb/dcbnl.c itr->app.protocol == 0 && protocol 1008 net/dccp/ipv4.c .protocol = IPPROTO_DCCP, protocol 316 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) protocol 411 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) { protocol 578 net/dccp/ipv6.c if (skb->protocol == htons(ETH_P_IP)) protocol 1092 net/dccp/ipv6.c .protocol = IPPROTO_DCCP, protocol 668 net/decnet/af_decnet.c static int dn_create(struct net *net, struct socket *sock, int protocol, protocol 673 net/decnet/af_decnet.c if (protocol < 0 || protocol > SK_PROTOCOL_MAX) protocol 681 net/decnet/af_decnet.c if (protocol != DNPROTO_NSP) protocol 694 net/decnet/af_decnet.c sk->sk_protocol = protocol; protocol 1900 net/decnet/af_decnet.c skb->protocol = htons(ETH_P_DNA_RT); protocol 82 net/decnet/dn_neigh.c .protocol = cpu_to_be16(ETH_P_DNA_RT), protocol 185 net/decnet/dn_neigh.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 118 net/decnet/dn_nsp_out.c skb->protocol = htons(ETH_P_DNA_RT); protocol 1678 net/decnet/dn_route.c skb->protocol = htons(ETH_P_DNA_RT); protocol 230 net/dsa/dsa.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 868 net/dsa/slave.c __be16 protocol = cls->common.protocol; protocol 882 net/dsa/slave.c if (act->id == FLOW_ACTION_MIRRED && protocol == htons(ETH_P_ALL)) { protocol 25 net/dsa/tag_dsa.c if (skb->protocol == htons(ETH_P_8021Q)) { protocol 27 net/dsa/tag_edsa.c if (skb->protocol == htons(ETH_P_8021Q)) { protocol 267 net/hsr/hsr_device.c skb->protocol = htons(hsr_ver ? ETH_P_HSR : ETH_P_PRP); protocol 111 net/hsr/hsr_forward.c skb->protocol = eth_hdr(skb)->h_proto; protocol 21 net/hsr/hsr_slave.c u16 protocol; protocol 39 net/hsr/hsr_slave.c protocol = eth_hdr(skb)->h_proto; protocol 40 net/hsr/hsr_slave.c if (protocol != htons(ETH_P_PRP) && protocol != htons(ETH_P_HSR)) protocol 23 net/ieee802154/6lowpan/rx.c skb->protocol = htons(ETH_P_IPV6); protocol 293 net/ieee802154/socket.c skb->protocol = htons(ETH_P_IEEE802154); protocol 684 net/ieee802154/socket.c skb->protocol = htons(ETH_P_IEEE802154); protocol 999 net/ieee802154/socket.c int protocol, int kern) protocol 247 net/ipv4/af_inet.c static int inet_create(struct net *net, struct socket *sock, int protocol, protocol 258 net/ipv4/af_inet.c if (protocol < 0 || protocol >= IPPROTO_MAX) protocol 271 net/ipv4/af_inet.c if (protocol == answer->protocol) { protocol 272 net/ipv4/af_inet.c if (protocol != IPPROTO_IP) protocol 276 net/ipv4/af_inet.c if (IPPROTO_IP == protocol) { protocol 277 net/ipv4/af_inet.c protocol = answer->protocol; protocol 280 net/ipv4/af_inet.c if (IPPROTO_IP == answer->protocol) protocol 295 net/ipv4/af_inet.c PF_INET, protocol, sock->type); protocol 302 net/ipv4/af_inet.c PF_INET, protocol); protocol 335 net/ipv4/af_inet.c inet->inet_num = protocol; protocol 336 net/ipv4/af_inet.c if (IPPROTO_RAW == protocol) protocol 350 net/ipv4/af_inet.c sk->sk_protocol = protocol; protocol 1092 net/ipv4/af_inet.c .protocol = IPPROTO_TCP, protocol 1101 net/ipv4/af_inet.c .protocol = IPPROTO_UDP, protocol 1109 net/ipv4/af_inet.c .protocol = IPPROTO_ICMP, protocol 1117 net/ipv4/af_inet.c .protocol = IPPROTO_IP, /* wild card */ protocol 1130 net/ipv4/af_inet.c int protocol = p->protocol; protocol 1145 net/ipv4/af_inet.c if (protocol == answer->protocol) protocol 1163 net/ipv4/af_inet.c pr_err("Attempt to override permanent protocol %d\n", protocol); protocol 1177 net/ipv4/af_inet.c p->protocol); protocol 1321 net/ipv4/af_inet.c proto = iph->protocol; protocol 1428 net/ipv4/af_inet.c proto = iph->protocol; protocol 1461 net/ipv4/af_inet.c if ((iph->protocol ^ iph2->protocol) | protocol 1586 net/ipv4/af_inet.c int proto = iph->protocol; protocol 1625 net/ipv4/af_inet.c unsigned short type, unsigned char protocol, protocol 1629 net/ipv4/af_inet.c int rc = sock_create_kern(net, family, type, protocol, &sock); protocol 154 net/ipv4/arp.c .protocol = cpu_to_be16(ETH_P_IP), protocol 545 net/ipv4/arp.c skb->protocol = htons(ETH_P_ARP); protocol 1731 net/ipv4/cipso_ipv4.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP || error != -EACCES) protocol 97 net/ipv4/esp4_offload.c int proto = iph->protocol; protocol 933 net/ipv4/fib_frontend.c filter->protocol = rtm->rtm_protocol; protocol 964 net/ipv4/fib_frontend.c if (filter->flags || filter->protocol || filter->rt_type || protocol 328 net/ipv4/fib_semantics.c static unsigned int fib_info_hashfn_1(int init_val, u8 protocol, u8 scope, protocol 333 net/ipv4/fib_semantics.c val ^= (protocol << 8) | scope; protocol 2120 net/ipv4/fib_trie.c if ((filter->protocol && protocol 2121 net/ipv4/fib_trie.c fi->fib_protocol != filter->protocol)) protocol 24 net/ipv4/fou.c u8 protocol; protocol 37 net/ipv4/fou.c u8 protocol; protocol 81 net/ipv4/fou.c return -fou->protocol; protocol 233 net/ipv4/fou.c u8 proto = fou_from_sock(sk)->protocol; protocol 267 net/ipv4/fou.c u8 proto = fou_from_sock(sk)->protocol; protocol 603 net/ipv4/fou.c fou->protocol = cfg->protocol; protocol 705 net/ipv4/fou.c cfg->protocol = nla_get_u8(info->attrs[FOU_ATTR_IPPROTO]); protocol 795 net/ipv4/fou.c nla_put_u8(msg, FOU_ATTR_IPPROTO, fou->protocol) || protocol 972 net/ipv4/fou.c u8 *protocol, __be16 *sport, int type) protocol 988 net/ipv4/fou.c u8 *protocol, __be16 *sport, int type) protocol 1023 net/ipv4/fou.c guehdr->proto_ctype = *protocol; protocol 1063 net/ipv4/fou.c struct flowi4 *fl4, u8 *protocol, __be16 sport) protocol 1078 net/ipv4/fou.c *protocol = IPPROTO_UDP; protocol 1082 net/ipv4/fou.c u8 *protocol, struct flowi4 *fl4) protocol 1089 net/ipv4/fou.c err = __fou_build_header(skb, e, protocol, &sport, type); protocol 1093 net/ipv4/fou.c fou_build_udp(skb, e, fl4, protocol, sport); protocol 1099 net/ipv4/fou.c u8 *protocol, struct flowi4 *fl4) protocol 1106 net/ipv4/fou.c err = __gue_build_header(skb, e, protocol, &sport, type); protocol 1110 net/ipv4/fou.c fou_build_udp(skb, e, fl4, protocol, sport); protocol 83 net/ipv4/gre_demux.c tpi->proto = greh->protocol; protocol 131 net/ipv4/gre_demux.c if (greh->protocol == htons(ETH_P_ERSPAN) || protocol 132 net/ipv4/gre_demux.c greh->protocol == htons(ETH_P_ERSPAN2)) { protocol 20 net/ipv4/gre_offload.c __be16 protocol = skb->protocol; protocol 41 net/ipv4/gre_offload.c skb->protocol = skb->inner_protocol; protocol 51 net/ipv4/gre_offload.c skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, protocol 72 net/ipv4/gre_offload.c skb->protocol = protocol; protocol 150 net/ipv4/gre_offload.c type = greh->protocol; protocol 198 net/ipv4/gre_offload.c greh2->protocol != greh->protocol) { protocol 238 net/ipv4/gre_offload.c type = greh->protocol; protocol 633 net/ipv4/icmp.c if (iph->protocol == IPPROTO_ICMP) { protocol 755 net/ipv4/icmp.c int protocol = iph->protocol; protocol 765 net/ipv4/icmp.c raw_icmp_error(skb, protocol, info); protocol 767 net/ipv4/icmp.c ipprot = rcu_dereference(inet_protos[protocol]); protocol 832 net/ipv4/icmp.c if (!icmp_tag_validation(iph->protocol)) protocol 400 net/ipv4/igmp.c pip->protocol = IPPROTO_IGMP; protocol 779 net/ipv4/igmp.c iph->protocol = IPPROTO_IGMP; protocol 1613 net/ipv4/igmp.c if (ip_hdr(skb)->protocol != IPPROTO_IGMP) protocol 212 net/ipv4/ip_fragment.c .protocol = iph->protocol, protocol 509 net/ipv4/ip_fragment.c if (skb->protocol != htons(ETH_P_IP)) protocol 444 net/ipv4/ip_gre.c ip_tunnel_xmit(skb, dev, tnl_params, tnl_params->protocol); protocol 532 net/ipv4/ip_gre.c if (skb->protocol == htons(ETH_P_IP) && protocol 537 net/ipv4/ip_gre.c if (skb->protocol == htons(ETH_P_IPV6) && protocol 601 net/ipv4/ip_gre.c gre_fb_xmit(skb, dev, skb->protocol); protocol 628 net/ipv4/ip_gre.c __gre_xmit(skb, dev, tnl_params, skb->protocol); protocol 756 net/ipv4/ip_gre.c if (p.iph.version != 4 || p.iph.protocol != IPPROTO_GRE || protocol 826 net/ipv4/ip_gre.c greh->protocol = htons(type); protocol 926 net/ipv4/ip_gre.c tunnel->parms.iph.protocol = IPPROTO_GRE; protocol 1098 net/ipv4/ip_gre.c parms->iph.protocol = IPPROTO_GRE; protocol 1259 net/ipv4/ip_gre.c tunnel->parms.iph.protocol = IPPROTO_GRE; protocol 151 net/ipv4/ip_input.c u8 protocol = ip_hdr(skb)->protocol; protocol 162 net/ipv4/ip_input.c if (sk && inet_sk(sk)->inet_num == protocol && protocol 187 net/ipv4/ip_input.c void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int protocol) protocol 193 net/ipv4/ip_input.c raw = raw_local_deliver(skb, protocol); protocol 195 net/ipv4/ip_input.c ipprot = rcu_dereference(inet_protos[protocol]); protocol 207 net/ipv4/ip_input.c protocol = -ret; protocol 231 net/ipv4/ip_input.c ip_protocol_deliver_rcu(net, skb, ip_hdr(skb)->protocol); protocol 320 net/ipv4/ip_input.c int protocol = iph->protocol; protocol 322 net/ipv4/ip_input.c ipprot = rcu_dereference(inet_protos[protocol]); protocol 112 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); protocol 162 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; protocol 372 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); protocol 430 net/ipv4/ip_output.c skb->protocol = htons(ETH_P_IP); protocol 515 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; protocol 548 net/ipv4/ip_output.c to->protocol = from->protocol; protocol 1530 net/ipv4/ip_output.c iph->protocol = sk->sk_protocol; protocol 1549 net/ipv4/ip_output.c if (iph->protocol == IPPROTO_ICMP) protocol 1692 net/ipv4/ip_output.c RT_SCOPE_UNIVERSE, ip_hdr(skb)->protocol, protocol 1704 net/ipv4/ip_output.c sk->sk_protocol = ip_hdr(skb)->protocol; protocol 293 net/ipv4/ip_tunnel.c ip_tunnel_init_flow(&fl4, iph->protocol, iph->daddr, protocol 412 net/ipv4/ip_tunnel.c skb->protocol = eth_type_trans(skb, tunnel->dev); protocol 506 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) { protocol 516 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 566 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) protocol 568 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 607 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) protocol 609 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 615 net/ipv4/ip_tunnel.c if (!df && skb->protocol == htons(ETH_P_IP)) protocol 640 net/ipv4/ip_tunnel.c const struct iphdr *tnl_params, u8 protocol) protocol 677 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IP)) { protocol 682 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 722 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) { protocol 725 net/ipv4/ip_tunnel.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 731 net/ipv4/ip_tunnel.c ip_tunnel_init_flow(&fl4, protocol, dst, tnl_params->saddr, protocol 735 net/ipv4/ip_tunnel.c if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0) protocol 788 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP)) protocol 791 net/ipv4/ip_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 799 net/ipv4/ip_tunnel.c if (skb->protocol == htons(ETH_P_IP) && !tunnel->ignore_df) protocol 814 net/ipv4/ip_tunnel.c iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, protocol 71 net/ipv4/ip_tunnel_core.c iph->protocol = proto; protocol 104 net/ipv4/ip_tunnel_core.c skb->protocol = eh->h_proto; protocol 106 net/ipv4/ip_tunnel_core.c skb->protocol = htons(ETH_P_802_2); protocol 109 net/ipv4/ip_tunnel_core.c skb->protocol = inner_proto; protocol 86 net/ipv4/ip_vti.c return vti_input(skb, ip_hdr(skb)->protocol, spi, 0, update_skb_dev); protocol 148 net/ipv4/ip_vti.c inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); protocol 211 net/ipv4/ip_vti.c switch (skb->protocol) { protocol 270 net/ipv4/ip_vti.c if (skb->protocol == htons(ETH_P_IP)) { protocol 315 net/ipv4/ip_vti.c switch (skb->protocol) { protocol 350 net/ipv4/ip_vti.c int protocol = iph->protocol; protocol 360 net/ipv4/ip_vti.c switch (protocol) { protocol 388 net/ipv4/ip_vti.c spi, protocol, AF_INET); protocol 393 net/ipv4/ip_vti.c ipv4_update_pmtu(skb, net, info, 0, protocol); protocol 395 net/ipv4/ip_vti.c ipv4_redirect(skb, net, 0, protocol); protocol 411 net/ipv4/ip_vti.c if (p.iph.version != 4 || p.iph.protocol != IPPROTO_IPIP || protocol 476 net/ipv4/ip_vti.c iph->protocol = IPPROTO_IPIP; protocol 548 net/ipv4/ip_vti.c parms->iph.protocol = IPPROTO_IPIP; protocol 821 net/ipv4/ipconfig.c h->protocol = IPPROTO_UDP; protocol 859 net/ipv4/ipconfig.c skb->protocol = htons(ETH_P_IP); protocol 860 net/ipv4/ipconfig.c if (dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 984 net/ipv4/ipconfig.c if (h->ihl != 5 || h->version != 4 || h->protocol != IPPROTO_UDP) protocol 173 net/ipv4/ipip.c ipv4_update_pmtu(skb, net, info, t->parms.link, iph->protocol); protocol 178 net/ipv4/ipip.c ipv4_redirect(skb, net, t->parms.link, iph->protocol); protocol 226 net/ipv4/ipip.c if (tunnel->parms.iph.protocol != ipproto && protocol 227 net/ipv4/ipip.c tunnel->parms.iph.protocol != 0) protocol 281 net/ipv4/ipip.c switch (skb->protocol) { protocol 294 net/ipv4/ipip.c if (tiph->protocol != ipproto && tiph->protocol != 0) protocol 340 net/ipv4/ipip.c !ipip_tunnel_ioctl_verify_protocol(p.iph.protocol) || protocol 422 net/ipv4/ipip.c parms->iph.protocol = IPPROTO_IPIP; protocol 448 net/ipv4/ipip.c parms->iph.protocol = nla_get_u8(data[IFLA_IPTUN_PROTO]); protocol 584 net/ipv4/ipip.c nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || protocol 437 net/ipv4/ipmr.c p.iph.protocol = IPPROTO_IPIP; protocol 485 net/ipv4/ipmr.c p.iph.protocol = IPPROTO_IPIP; protocol 629 net/ipv4/ipmr.c skb->protocol = htons(ETH_P_IP); protocol 1083 net/ipv4/ipmr.c ip_hdr(skb)->protocol = 0; protocol 1790 net/ipv4/ipmr.c iph->protocol = IPPROTO_IPIP; protocol 2132 net/ipv4/ipmr.c } else if (ip_hdr(skb)->protocol == IPPROTO_IGMP) { protocol 362 net/ipv4/ipmr_base.c if (filter->protocol || filter->flags || protocol 71 net/ipv4/netfilter/ip_tables.c NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto)) protocol 345 net/ipv4/netfilter/ipt_CLUSTERIP.c poff = proto_ports_offset(iph->protocol); protocol 356 net/ipv4/netfilter/ipt_CLUSTERIP.c net_info_ratelimited("unknown protocol %u\n", iph->protocol); protocol 414 net/ipv4/netfilter/ipt_CLUSTERIP.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP && protocol 86 net/ipv4/netfilter/ipt_ECN.c ip_hdr(skb)->protocol == IPPROTO_TCP) protocol 45 net/ipv4/netfilter/nf_dup_ipv4.c skb->protocol = htons(ETH_P_IP); protocol 97 net/ipv4/netfilter/nf_log_ipv4.c switch (ih->protocol) { protocol 99 net/ipv4/netfilter/nf_log_ipv4.c if (nf_log_dump_tcp_header(m, skb, ih->protocol, protocol 106 net/ipv4/netfilter/nf_log_ipv4.c if (nf_log_dump_udp_header(m, skb, ih->protocol, protocol 246 net/ipv4/netfilter/nf_log_ipv4.c nf_log_buf_add(m, "PROTO=%u ", ih->protocol); protocol 40 net/ipv4/netfilter/nf_nat_h323.c if (ip_hdr(skb)->protocol == IPPROTO_TCP) { protocol 24 net/ipv4/netfilter/nf_reject_ipv4.c if (ip_hdr(oldskb)->protocol != IPPROTO_TCP) protocol 46 net/ipv4/netfilter/nf_reject_ipv4.c __u8 protocol, int ttl) protocol 57 net/ipv4/netfilter/nf_reject_ipv4.c niph->protocol = protocol; protocol 63 net/ipv4/netfilter/nf_reject_ipv4.c nskb->protocol = htons(ETH_P_IP); protocol 155 net/ipv4/netfilter/nf_reject_ipv4.c if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol), protocol 173 net/ipv4/netfilter/nf_reject_ipv4.c u8 proto = iph->protocol; protocol 20 net/ipv4/netfilter/nf_socket_ipv4.c extract_icmp4_fields(const struct sk_buff *skb, u8 *protocol, protocol 51 net/ipv4/netfilter/nf_socket_ipv4.c if (inside_iph->protocol != IPPROTO_TCP && protocol 52 net/ipv4/netfilter/nf_socket_ipv4.c inside_iph->protocol != IPPROTO_UDP) protocol 64 net/ipv4/netfilter/nf_socket_ipv4.c *protocol = inside_iph->protocol; protocol 75 net/ipv4/netfilter/nf_socket_ipv4.c const u8 protocol, protocol 80 net/ipv4/netfilter/nf_socket_ipv4.c switch (protocol) { protocol 99 net/ipv4/netfilter/nf_socket_ipv4.c u8 uninitialized_var(protocol); protocol 106 net/ipv4/netfilter/nf_socket_ipv4.c if (iph->protocol == IPPROTO_UDP || iph->protocol == IPPROTO_TCP) { protocol 111 net/ipv4/netfilter/nf_socket_ipv4.c iph->protocol == IPPROTO_UDP ? protocol 116 net/ipv4/netfilter/nf_socket_ipv4.c protocol = iph->protocol; protocol 122 net/ipv4/netfilter/nf_socket_ipv4.c doff = iph->protocol == IPPROTO_TCP ? protocol 126 net/ipv4/netfilter/nf_socket_ipv4.c } else if (iph->protocol == IPPROTO_ICMP) { protocol 127 net/ipv4/netfilter/nf_socket_ipv4.c if (extract_icmp4_fields(skb, &protocol, &saddr, &daddr, protocol 141 net/ipv4/netfilter/nf_socket_ipv4.c ((iph->protocol != IPPROTO_ICMP && protocol 143 net/ipv4/netfilter/nf_socket_ipv4.c (iph->protocol == IPPROTO_ICMP && protocol 148 net/ipv4/netfilter/nf_socket_ipv4.c dport = (iph->protocol == IPPROTO_TCP) ? protocol 154 net/ipv4/netfilter/nf_socket_ipv4.c return nf_socket_get_sock_v4(net, data_skb, doff, protocol, saddr, protocol 36 net/ipv4/netfilter/nf_tproxy_ipv4.c sk2 = nf_tproxy_get_sock_v4(net, skb, iph->protocol, protocol 76 net/ipv4/netfilter/nf_tproxy_ipv4.c const u8 protocol, protocol 84 net/ipv4/netfilter/nf_tproxy_ipv4.c switch (protocol) { protocol 146 net/ipv4/netfilter/nf_tproxy_ipv4.c protocol, ntohl(saddr), ntohs(sport), ntohl(daddr), ntohs(dport), lookup_type, sk); protocol 231 net/ipv4/nexthop.c nhm->nh_protocol = nh->protocol; protocol 899 net/ipv4/nexthop.c old->protocol = new->protocol; protocol 1313 net/ipv4/nexthop.c nh->protocol = cfg->nh_protocol; protocol 177 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { protocol 181 net/ipv4/ping.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 196 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP) && protocol 206 net/ipv4/ping.c } else if (skb->protocol == htons(ETH_P_IPV6) && protocol 488 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { protocol 493 net/ipv4/ping.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 508 net/ipv4/ping.c skb->protocol, type, code, ntohs(icmph->un.echo.id), protocol 522 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IP)) { protocol 561 net/ipv4/ping.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 920 net/ipv4/ping.c if (skb->protocol == htons(ETH_P_IPV6) && protocol 923 net/ipv4/ping.c else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) protocol 32 net/ipv4/protocol.c int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) protocol 36 net/ipv4/protocol.c protocol); protocol 40 net/ipv4/protocol.c return !cmpxchg((const struct net_protocol **)&inet_protos[protocol], protocol 45 net/ipv4/protocol.c int inet_add_offload(const struct net_offload *prot, unsigned char protocol) protocol 47 net/ipv4/protocol.c return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], protocol 52 net/ipv4/protocol.c int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) protocol 56 net/ipv4/protocol.c ret = (cmpxchg((const struct net_protocol **)&inet_protos[protocol], protocol 65 net/ipv4/protocol.c int inet_del_offload(const struct net_offload *prot, unsigned char protocol) protocol 69 net/ipv4/protocol.c ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], protocol 184 net/ipv4/raw.c sk = __raw_v4_lookup(net, __sk_head(head), iph->protocol, protocol 189 net/ipv4/raw.c if ((iph->protocol != IPPROTO_ICMP || !icmp_filter(sk, skb)) && protocol 198 net/ipv4/raw.c sk = __raw_v4_lookup(net, sk_next(sk), iph->protocol, protocol 207 net/ipv4/raw.c int raw_local_deliver(struct sk_buff *skb, int protocol) protocol 212 net/ipv4/raw.c hash = protocol & (RAW_HTABLE_SIZE - 1); protocol 286 net/ipv4/raw.c void raw_icmp_error(struct sk_buff *skb, int protocol, u32 info) protocol 293 net/ipv4/raw.c hash = protocol & (RAW_HTABLE_SIZE - 1); protocol 304 net/ipv4/raw.c while ((raw_sk = __raw_v4_lookup(net, raw_sk, protocol, protocol 422 net/ipv4/raw.c if (iph->protocol == IPPROTO_ICMP && protocol 517 net/ipv4/route.c iph->protocol, protocol 552 net/ipv4/route.c u8 prot = iph->protocol; protocol 826 net/ipv4/route.c u8 prot = iph->protocol; protocol 1056 net/ipv4/route.c int oif, u8 protocol) protocol 1064 net/ipv4/route.c RT_TOS(iph->tos), protocol, mark, 0); protocol 1146 net/ipv4/route.c int oif, u8 protocol) protocol 1153 net/ipv4/route.c RT_TOS(iph->tos), protocol, 0, 0); protocol 1697 net/ipv4/route.c skb->protocol != htons(ETH_P_IP)) protocol 1705 net/ipv4/route.c ip_hdr(skb)->protocol != IPPROTO_IGMP) protocol 1813 net/ipv4/route.c skb->protocol == htons(ETH_P_IP)) { protocol 1822 net/ipv4/route.c if (skb->protocol != htons(ETH_P_IP)) { protocol 1886 net/ipv4/route.c if (likely(outer_iph->protocol != IPPROTO_ICMP)) protocol 2152 net/ipv4/route.c if (skb->protocol != htons(ETH_P_IP)) protocol 2283 net/ipv4/route.c ip_hdr(skb)->protocol); protocol 2292 net/ipv4/route.c ip_hdr(skb)->protocol); protocol 2961 net/ipv4/route.c skb->protocol = htons(ETH_P_IP); protocol 2963 net/ipv4/route.c iph->protocol = ip_proto; protocol 2971 net/ipv4/route.c switch (iph->protocol) { protocol 374 net/ipv4/sysctl_net_ipv4.c static void proc_configure_early_demux(int enabled, int protocol) protocol 383 net/ipv4/sysctl_net_ipv4.c ipprot = rcu_dereference(inet_protos[protocol]); protocol 389 net/ipv4/sysctl_net_ipv4.c ip6prot = rcu_dereference(inet6_protos[protocol]); protocol 1196 net/ipv4/tcp_ipv4.c bp->protocol = IPPROTO_TCP; protocol 2460 net/ipv4/udp.c iph->protocol); protocol 25 net/ipv4/udp_offload.c __be16 protocol = skb->protocol; protocol 53 net/ipv4/udp_offload.c skb->protocol = new_protocol; protocol 84 net/ipv4/udp_offload.c skb_gso_error_unwind(skb, protocol, tnl_hlen, mac_offset, protocol 107 net/ipv4/udp_offload.c skb->protocol = protocol; protocol 152 net/ipv4/udp_offload.c __be16 protocol = skb->protocol; protocol 163 net/ipv4/udp_offload.c protocol = skb->inner_protocol; protocol 178 net/ipv4/udp_offload.c protocol, is_ipv6); protocol 68 net/ipv4/udplite.c .protocol = IPPROTO_UDPLITE, protocol 57 net/ipv4/xfrm4_input.c iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol; protocol 61 net/ipv4/xfrm4_input.c return -iph->protocol; protocol 175 net/ipv4/xfrm4_input.c return xfrm4_rcv_spi(skb, ip_hdr(skb)->protocol, 0); protocol 31 net/ipv4/xfrm4_output.c skb->protocol = htons(ETH_P_IP); protocol 52 net/ipv4/xfrm4_output.c XFRM_MODE_SKB_CB(skb)->protocol = ip_hdr(skb)->protocol; protocol 26 net/ipv4/xfrm4_protocol.c static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) protocol 28 net/ipv4/xfrm4_protocol.c switch (protocol) { protocol 45 net/ipv4/xfrm4_protocol.c static int xfrm4_rcv_cb(struct sk_buff *skb, u8 protocol, int err) protocol 49 net/ipv4/xfrm4_protocol.c struct xfrm4_protocol __rcu **head = proto_handlers(protocol); protocol 197 net/ipv4/xfrm4_protocol.c static inline const struct net_protocol *netproto(unsigned char protocol) protocol 199 net/ipv4/xfrm4_protocol.c switch (protocol) { protocol 212 net/ipv4/xfrm4_protocol.c unsigned char protocol) protocol 220 net/ipv4/xfrm4_protocol.c if (!proto_handlers(protocol) || !netproto(protocol)) protocol 225 net/ipv4/xfrm4_protocol.c if (!rcu_dereference_protected(*proto_handlers(protocol), protocol 229 net/ipv4/xfrm4_protocol.c for (pprev = proto_handlers(protocol); protocol 248 net/ipv4/xfrm4_protocol.c if (inet_add_protocol(netproto(protocol), protocol)) { protocol 259 net/ipv4/xfrm4_protocol.c unsigned char protocol) protocol 265 net/ipv4/xfrm4_protocol.c if (!proto_handlers(protocol) || !netproto(protocol)) protocol 270 net/ipv4/xfrm4_protocol.c for (pprev = proto_handlers(protocol); protocol 281 net/ipv4/xfrm4_protocol.c if (!rcu_dereference_protected(*proto_handlers(protocol), protocol 283 net/ipv4/xfrm4_protocol.c if (inet_del_protocol(netproto(protocol), protocol) < 0) { protocol 24 net/ipv4/xfrm4_tunnel.c return ip_hdr(skb)->protocol; protocol 2848 net/ipv6/addrconf.c p.iph.protocol = IPPROTO_IPV6; protocol 107 net/ipv6/af_inet6.c static int inet6_create(struct net *net, struct socket *sock, int protocol, protocol 119 net/ipv6/af_inet6.c if (protocol < 0 || protocol >= IPPROTO_MAX) protocol 130 net/ipv6/af_inet6.c if (protocol == answer->protocol) { protocol 131 net/ipv6/af_inet6.c if (protocol != IPPROTO_IP) protocol 135 net/ipv6/af_inet6.c if (IPPROTO_IP == protocol) { protocol 136 net/ipv6/af_inet6.c protocol = answer->protocol; protocol 139 net/ipv6/af_inet6.c if (IPPROTO_IP == answer->protocol) protocol 154 net/ipv6/af_inet6.c PF_INET6, protocol, sock->type); protocol 161 net/ipv6/af_inet6.c PF_INET6, protocol); protocol 194 net/ipv6/af_inet6.c inet->inet_num = protocol; protocol 195 net/ipv6/af_inet6.c if (IPPROTO_RAW == protocol) protocol 201 net/ipv6/af_inet6.c sk->sk_protocol = protocol; protocol 672 net/ipv6/af_inet6.c int protocol = p->protocol; protocol 690 net/ipv6/af_inet6.c if (protocol == answer->protocol) protocol 713 net/ipv6/af_inet6.c pr_err("Attempt to override permanent protocol %d\n", protocol); protocol 728 net/ipv6/af_inet6.c p->protocol); protocol 301 net/ipv6/datagram.c skb->protocol = htons(ETH_P_IPV6); protocol 336 net/ipv6/datagram.c skb->protocol = htons(ETH_P_IPV6); protocol 469 net/ipv6/datagram.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 494 net/ipv6/datagram.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 577 net/ipv6/datagram.c bool is_ipv6 = skb->protocol == htons(ETH_P_IPV6); protocol 22 net/ipv6/fou6.c struct flowi6 *fl6, u8 *protocol, __be16 sport) protocol 37 net/ipv6/fou6.c *protocol = IPPROTO_UDP; protocol 41 net/ipv6/fou6.c u8 *protocol, struct flowi6 *fl6) protocol 48 net/ipv6/fou6.c err = __fou_build_header(skb, e, protocol, &sport, type); protocol 52 net/ipv6/fou6.c fou6_build_udp(skb, e, fl6, protocol, sport); protocol 58 net/ipv6/fou6.c u8 *protocol, struct flowi6 *fl6) protocol 65 net/ipv6/fou6.c err = __gue_build_header(skb, e, protocol, &sport, type); protocol 69 net/ipv6/fou6.c fou6_build_udp(skb, e, fl6, protocol, sport); protocol 46 net/ipv6/ila/ila_lwt.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 106 net/ipv6/ila/ila_lwt.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 711 net/ipv6/ip6_gre.c __be16 protocol; protocol 725 net/ipv6/ip6_gre.c protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto; protocol 751 net/ipv6/ip6_gre.c flags, protocol, protocol 761 net/ipv6/ip6_gre.c protocol, tunnel->parms.o_key, protocol 789 net/ipv6/ip6_gre.c skb->protocol); protocol 822 net/ipv6/ip6_gre.c &mtu, skb->protocol); protocol 870 net/ipv6/ip6_gre.c err = __gre6_xmit(skb, dev, 0, &fl6, encap_limit, &mtu, skb->protocol); protocol 888 net/ipv6/ip6_gre.c switch (skb->protocol) { protocol 943 net/ipv6/ip6_gre.c if (skb->protocol == htons(ETH_P_IP) && protocol 948 net/ipv6/ip6_gre.c if (skb->protocol == htons(ETH_P_IPV6) && protocol 1003 net/ipv6/ip6_gre.c switch (skb->protocol) { protocol 1050 net/ipv6/ip6_gre.c if (skb->protocol == htons(ETH_P_IP)) protocol 166 net/ipv6/ip6_output.c skb->protocol = htons(ETH_P_IPV6); protocol 260 net/ipv6/ip6_output.c skb->protocol = htons(ETH_P_IPV6); protocol 583 net/ipv6/ip6_output.c to->protocol = from->protocol; protocol 1528 net/ipv6/ip6_output.c skb->protocol = htons(ETH_P_IPV6); protocol 802 net/ipv6/ip6_tunnel.c skb->protocol = tpi->proto; protocol 813 net/ipv6/ip6_tunnel.c skb->protocol = eth_type_trans(skb, tunnel->dev); protocol 1060 net/ipv6/ip6_tunnel.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 1132 net/ipv6/ip6_tunnel.c mtu = max(mtu, skb->protocol == htons(ETH_P_IPV6) ? protocol 1184 net/ipv6/ip6_tunnel.c if (skb->protocol == htons(ETH_P_IP)) protocol 1186 net/ipv6/ip6_tunnel.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 1397 net/ipv6/ip6_tunnel.c switch (skb->protocol) { protocol 363 net/ipv6/ip6_vti.c inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); protocol 453 net/ipv6/ip6_vti.c switch (skb->protocol) { protocol 511 net/ipv6/ip6_vti.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 556 net/ipv6/ip6_vti.c switch (skb->protocol) { protocol 601 net/ipv6/ip6_vti.c int protocol = iph->nexthdr; protocol 609 net/ipv6/ip6_vti.c switch (protocol) { protocol 631 net/ipv6/ip6_vti.c spi, protocol, AF_INET6); protocol 568 net/ipv6/ip6mr.c skb->protocol = htons(ETH_P_IPV6); protocol 1572 net/ipv6/mcast.c skb->protocol = htons(ETH_P_IPV6); protocol 111 net/ipv6/ndisc.c .protocol = cpu_to_be16(ETH_P_IPV6), protocol 424 net/ipv6/ndisc.c skb->protocol = htons(ETH_P_IPV6); protocol 42 net/ipv6/netfilter/nf_dup_ipv6.c skb->protocol = htons(ETH_P_IPV6); protocol 65 net/ipv6/netfilter/nf_reject_ipv6.c __u8 protocol, int hoplimit) protocol 77 net/ipv6/netfilter/nf_reject_ipv6.c ip6h->nexthdr = protocol; protocol 81 net/ipv6/netfilter/nf_reject_ipv6.c nskb->protocol = htons(ETH_P_IPV6); protocol 203 net/ipv6/netfilter/nf_reject_ipv6.c nskb->protocol = htons(ETH_P_IPV6); protocol 205 net/ipv6/netfilter/nf_reject_ipv6.c if (dev_hard_header(nskb, nskb->dev, ntohs(nskb->protocol), protocol 23 net/ipv6/netfilter/nf_socket_ipv6.c int *protocol, protocol 68 net/ipv6/netfilter/nf_socket_ipv6.c *protocol = inside_nexthdr; protocol 79 net/ipv6/netfilter/nf_socket_ipv6.c const u8 protocol, protocol 84 net/ipv6/netfilter/nf_socket_ipv6.c switch (protocol) { protocol 77 net/ipv6/netfilter/nf_tproxy_ipv6.c const u8 protocol, protocol 85 net/ipv6/netfilter/nf_tproxy_ipv6.c switch (protocol) { protocol 145 net/ipv6/netfilter/nf_tproxy_ipv6.c protocol, saddr, ntohs(sport), daddr, ntohs(dport), lookup_type, sk); protocol 165 net/ipv6/output_core.c skb->protocol = htons(ETH_P_IPV6); protocol 185 net/ipv6/ping.c .protocol = IPPROTO_ICMPV6, protocol 28 net/ipv6/protocol.c int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) protocol 30 net/ipv6/protocol.c return !cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], protocol 35 net/ipv6/protocol.c int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) protocol 39 net/ipv6/protocol.c ret = (cmpxchg((const struct inet6_protocol **)&inet6_protos[protocol], protocol 52 net/ipv6/protocol.c int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) protocol 54 net/ipv6/protocol.c return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], protocol 59 net/ipv6/protocol.c int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) protocol 63 net/ipv6/protocol.c ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], protocol 647 net/ipv6/raw.c skb->protocol = htons(ETH_P_IPV6); protocol 1387 net/ipv6/raw.c .protocol = IPPROTO_IP, /* wild card */ protocol 5681 net/ipv6/route.c (filter->protocol && rt->fib6_protocol != filter->protocol))) { protocol 101 net/ipv6/seg6_iptunnel.c } else if (!do_flowlabel && skb->protocol == htons(ETH_P_IPV6)) { protocol 137 net/ipv6/seg6_iptunnel.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 234 net/ipv6/seg6_iptunnel.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 246 net/ipv6/seg6_iptunnel.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 248 net/ipv6/seg6_iptunnel.c else if (skb->protocol == htons(ETH_P_IP)) protocol 258 net/ipv6/seg6_iptunnel.c skb_set_inner_protocol(skb, skb->protocol); protocol 259 net/ipv6/seg6_iptunnel.c skb->protocol = htons(ETH_P_IPV6); protocol 275 net/ipv6/seg6_iptunnel.c skb->protocol = htons(ETH_P_IPV6); protocol 311 net/ipv6/seg6_local.c skb->protocol = eth->h_proto; protocol 369 net/ipv6/seg6_local.c skb->protocol = htons(ETH_P_IP); protocol 623 net/ipv6/seg6_local.c if (skb->protocol != htons(ETH_P_IPV6)) { protocol 533 net/ipv6/sit.c t->parms.link, iph->protocol); protocol 539 net/ipv6/sit.c iph->protocol); protocol 650 net/ipv6/sit.c if (tunnel->parms.iph.protocol != IPPROTO_IPV6 && protocol 651 net/ipv6/sit.c tunnel->parms.iph.protocol != 0) protocol 728 net/ipv6/sit.c if (tunnel->parms.iph.protocol != ipproto && protocol 729 net/ipv6/sit.c tunnel->parms.iph.protocol != 0) protocol 833 net/ipv6/sit.c u8 protocol = IPPROTO_IPV6; protocol 990 net/ipv6/sit.c if (ip_tunnel_encap(skb, tunnel, &protocol, &fl4) < 0) { protocol 997 net/ipv6/sit.c iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, protocol, tos, ttl, protocol 1034 net/ipv6/sit.c switch (skb->protocol) { protocol 1225 net/ipv6/sit.c if (!ipip6_valid_ip_proto(p.iph.protocol)) protocol 1425 net/ipv6/sit.c iph->protocol = IPPROTO_IPV6; protocol 1455 net/ipv6/sit.c parms->iph.protocol = IPPROTO_IPV6; protocol 1487 net/ipv6/sit.c parms->iph.protocol = nla_get_u8(data[IFLA_IPTUN_PROTO]); protocol 1711 net/ipv6/sit.c nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->iph.protocol) || protocol 606 net/ipv6/tcp_ipv6.c bp->protocol = cpu_to_be32(IPPROTO_TCP); protocol 1090 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) protocol 1132 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) { protocol 1341 net/ipv6/tcp_ipv6.c if (skb->protocol == htons(ETH_P_IP)) protocol 2066 net/ipv6/tcp_ipv6.c .protocol = IPPROTO_TCP, protocol 299 net/ipv6/udp.c is_udp4 = (skb->protocol == htons(ETH_P_IP)); protocol 1688 net/ipv6/udp.c .protocol = IPPROTO_UDP, protocol 63 net/ipv6/udplite.c .protocol = IPPROTO_UDPLITE, protocol 49 net/ipv6/xfrm6_input.c XFRM_MODE_SKB_CB(skb)->protocol; protocol 83 net/ipv6/xfrm6_output.c skb->protocol = htons(ETH_P_IPV6); protocol 105 net/ipv6/xfrm6_output.c XFRM_MODE_SKB_CB(skb)->protocol = ipv6_hdr(skb)->nexthdr; protocol 160 net/ipv6/xfrm6_output.c if (skb->protocol == htons(ETH_P_IPV6)) protocol 26 net/ipv6/xfrm6_protocol.c static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) protocol 28 net/ipv6/xfrm6_protocol.c switch (protocol) { protocol 45 net/ipv6/xfrm6_protocol.c static int xfrm6_rcv_cb(struct sk_buff *skb, u8 protocol, int err) protocol 49 net/ipv6/xfrm6_protocol.c struct xfrm6_protocol __rcu **head = proto_handlers(protocol); protocol 54 net/ipv6/xfrm6_protocol.c for_each_protocol_rcu(*proto_handlers(protocol), handler) protocol 171 net/ipv6/xfrm6_protocol.c static inline const struct inet6_protocol *netproto(unsigned char protocol) protocol 173 net/ipv6/xfrm6_protocol.c switch (protocol) { protocol 186 net/ipv6/xfrm6_protocol.c unsigned char protocol) protocol 194 net/ipv6/xfrm6_protocol.c if (!proto_handlers(protocol) || !netproto(protocol)) protocol 199 net/ipv6/xfrm6_protocol.c if (!rcu_dereference_protected(*proto_handlers(protocol), protocol 203 net/ipv6/xfrm6_protocol.c for (pprev = proto_handlers(protocol); protocol 222 net/ipv6/xfrm6_protocol.c if (inet6_add_protocol(netproto(protocol), protocol)) { protocol 233 net/ipv6/xfrm6_protocol.c unsigned char protocol) protocol 239 net/ipv6/xfrm6_protocol.c if (!proto_handlers(protocol) || !netproto(protocol)) protocol 244 net/ipv6/xfrm6_protocol.c for (pprev = proto_handlers(protocol); protocol 255 net/ipv6/xfrm6_protocol.c if (!rcu_dereference_protected(*proto_handlers(protocol), protocol 257 net/ipv6/xfrm6_protocol.c if (inet6_del_protocol(netproto(protocol), protocol) < 0) { protocol 370 net/iucv/af_iucv.c skb->protocol = cpu_to_be16(ETH_P_AF_IUCV); protocol 611 net/iucv/af_iucv.c static int iucv_sock_create(struct net *net, struct socket *sock, int protocol, protocol 616 net/iucv/af_iucv.c if (protocol && protocol != PF_IUCV) protocol 633 net/iucv/af_iucv.c sk = iucv_sock_alloc(sock, protocol, GFP_KERNEL, kern); protocol 1943 net/kcm/kcmsock.c int protocol, int kern) protocol 1960 net/kcm/kcmsock.c if (protocol != KCMPROTO_CONNECTED) protocol 138 net/key/af_key.c static int pfkey_create(struct net *net, struct socket *sock, int protocol, protocol 150 net/key/af_key.c if (protocol != PF_KEY_V2) protocol 649 net/l2tp/l2tp_ip.c .protocol = IPPROTO_L2TP, protocol 782 net/l2tp/l2tp_ip6.c .protocol = IPPROTO_L2TP, protocol 163 net/llc/af_llc.c static int llc_ui_create(struct net *net, struct socket *sock, int protocol, protocol 942 net/llc/af_llc.c skb->protocol = llc_proto_type(addr->sllc_arphrd); protocol 129 net/llc/llc_input.c if (skb->protocol == htons(ETH_P_802_2)) { protocol 61 net/llc/llc_sap.c skb->protocol = htons(ETH_P_802_2); protocol 872 net/mac80211/rc80211_minstrel_ht.c if (unlikely(skb->protocol == cpu_to_be16(ETH_P_PAE))) protocol 749 net/mac80211/rx.c skb->protocol = htons(ETH_P_802_2); protocol 2444 net/mac80211/rx.c if (unlikely((skb->protocol == sdata->control_port_protocol || protocol 2445 net/mac80211/rx.c skb->protocol == cpu_to_be16(ETH_P_PREAUTH)) && protocol 2548 net/mac80211/rx.c skb->protocol = eth_type_trans(skb, dev); protocol 2559 net/mac80211/rx.c xmit_skb->protocol = htons(ETH_P_802_3); protocol 3546 net/mac80211/rx.c skb->protocol = htons(ETH_P_802_2); protocol 4315 net/mac80211/rx.c xmit_skb->protocol = htons(ETH_P_802_3); protocol 4326 net/mac80211/rx.c skb->protocol = eth_type_trans(skb, fast_rx->dev); protocol 829 net/mac80211/status.c skb->protocol = htons(ETH_P_802_2); protocol 576 net/mac80211/tx.c if (unlikely(tx->sdata->control_port_protocol == tx->skb->protocol)) { protocol 1194 net/mac80211/tx.c tx->sdata->control_port_protocol == tx->skb->protocol) { protocol 2268 net/mac80211/tx.c skb->protocol = cpu_to_be16((payload[6] << 8) | protocol 5121 net/mac80211/tx.c skb->protocol = htons(ETH_P_802_3); protocol 5149 net/mac80211/tx.c skb->protocol = htons(ETH_P_802_3); protocol 161 net/mac80211/wme.c if (skb->protocol == sdata->control_port_protocol) { protocol 27 net/mac802154/rx.c skb->protocol = htons(ETH_P_IEEE802154); protocol 229 net/mac802154/rx.c skb->protocol = htons(ETH_P_IEEE802154); protocol 136 net/mpls/af_mpls.c if (skb->protocol == htons(ETH_P_MPLS_UC)) { protocol 142 net/mpls/af_mpls.c } else if (skb->protocol == htons(ETH_P_IP)) { protocol 145 net/mpls/af_mpls.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 204 net/mpls/af_mpls.c v4hdr->protocol, hash); protocol 296 net/mpls/af_mpls.c skb->protocol = htons(ETH_P_IP); protocol 318 net/mpls/af_mpls.c skb->protocol = htons(ETH_P_IPV6); protocol 430 net/mpls/af_mpls.c skb->protocol = htons(ETH_P_MPLS_UC); protocol 2104 net/mpls/af_mpls.c filter->protocol = rtm->rtm_protocol; protocol 2201 net/mpls/af_mpls.c (filter.protocol && rt->rt_protocol != filter.protocol)) protocol 2416 net/mpls/af_mpls.c skb->protocol = htons(ETH_P_MPLS_UC); protocol 34 net/mpls/mpls_gso.c mpls_protocol = skb->protocol; protocol 35 net/mpls/mpls_gso.c skb->protocol = skb->inner_protocol; protocol 55 net/mpls/mpls_gso.c skb->protocol = mpls_protocol; protocol 114 net/mpls/mpls_iptunnel.c skb_set_inner_protocol(skb, skb->protocol); protocol 122 net/mpls/mpls_iptunnel.c skb->protocol = htons(ETH_P_MPLS_UC); protocol 305 net/ncsi/ncsi-cmd.c skb->protocol = htons(ETH_P_NCSI); protocol 329 net/netfilter/ipset/ip_set_bitmap_ip.c .protocol = IPSET_PROTOCOL, protocol 378 net/netfilter/ipset/ip_set_bitmap_ipmac.c .protocol = IPSET_PROTOCOL, protocol 262 net/netfilter/ipset/ip_set_bitmap_port.c .protocol = IPSET_PROTOCOL, protocol 200 net/netfilter/ipset/ip_set_core.c if (type->protocol != IPSET_PROTOCOL) { protocol 204 net/netfilter/ipset/ip_set_core.c type->protocol, IPSET_PROTOCOL); protocol 793 net/netfilter/ipset/ip_set_core.c return !tb[IPSET_ATTR_PROTOCOL] || protocol(tb) != IPSET_PROTOCOL; protocol 799 net/netfilter/ipset/ip_set_core.c return !tb[IPSET_ATTR_PROTOCOL] || protocol(tb) < IPSET_PROTOCOL_MIN; protocol 1731 net/netfilter/ipset/ip_set_core.c if (nla_put_u8(skb2, IPSET_ATTR_PROTOCOL, protocol(attr)) || protocol 1791 net/netfilter/ipset/ip_set_core.c if (nla_put_u8(skb2, IPSET_ATTR_PROTOCOL, protocol(attr)) || protocol 1889 net/netfilter/ipset/ip_set_core.c if (nla_put_u8(skb2, IPSET_ATTR_PROTOCOL, protocol(attr)) || protocol 1944 net/netfilter/ipset/ip_set_core.c if (nla_put_u8(skb2, IPSET_ATTR_PROTOCOL, protocol(attr)) || protocol 25 net/netfilter/ipset/ip_set_getport.c get_port(const struct sk_buff *skb, int protocol, unsigned int protooff, protocol 28 net/netfilter/ipset/ip_set_getport.c switch (protocol) { protocol 92 net/netfilter/ipset/ip_set_getport.c *proto = protocol; protocol 103 net/netfilter/ipset/ip_set_getport.c int protocol = iph->protocol; protocol 106 net/netfilter/ipset/ip_set_getport.c if (protocol <= 0) protocol 110 net/netfilter/ipset/ip_set_getport.c switch (protocol) { protocol 122 net/netfilter/ipset/ip_set_getport.c *proto = protocol; protocol 126 net/netfilter/ipset/ip_set_getport.c return get_port(skb, protocol, protooff, src, port, proto); protocol 274 net/netfilter/ipset/ip_set_hash_ip.c .protocol = IPSET_PROTOCOL, protocol 265 net/netfilter/ipset/ip_set_hash_ipmac.c .protocol = IPSET_PROTOCOL, protocol 271 net/netfilter/ipset/ip_set_hash_ipmark.c .protocol = IPSET_PROTOCOL, protocol 338 net/netfilter/ipset/ip_set_hash_ipport.c .protocol = IPSET_PROTOCOL, protocol 353 net/netfilter/ipset/ip_set_hash_ipportip.c .protocol = IPSET_PROTOCOL, protocol 509 net/netfilter/ipset/ip_set_hash_ipportnet.c .protocol = IPSET_PROTOCOL, protocol 122 net/netfilter/ipset/ip_set_hash_mac.c .protocol = IPSET_PROTOCOL, protocol 351 net/netfilter/ipset/ip_set_hash_net.c .protocol = IPSET_PROTOCOL, protocol 453 net/netfilter/ipset/ip_set_hash_netiface.c .protocol = IPSET_PROTOCOL, protocol 456 net/netfilter/ipset/ip_set_hash_netnet.c .protocol = IPSET_PROTOCOL, protocol 457 net/netfilter/ipset/ip_set_hash_netport.c .protocol = IPSET_PROTOCOL, protocol 554 net/netfilter/ipset/ip_set_hash_netportnet.c .protocol = IPSET_PROTOCOL, protocol 636 net/netfilter/ipset/ip_set_list_set.c .protocol = IPSET_PROTOCOL, protocol 129 net/netfilter/ipvs/ip_vs_app.c if (!(pp = ip_vs_proto_get(inc->protocol))) protocol 424 net/netfilter/ipvs/ip_vs_app.c if (cp->protocol == IPPROTO_TCP) protocol 501 net/netfilter/ipvs/ip_vs_app.c if (cp->protocol == IPPROTO_TCP) protocol 583 net/netfilter/ipvs/ip_vs_app.c ip_vs_proto_name(inc->protocol), protocol 140 net/netfilter/ipvs/ip_vs_conn.c return ip_vs_conn_hashkey(p->ipvs, p->af, p->protocol, addr, port); protocol 147 net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_fill_param(cp->ipvs, cp->af, cp->protocol, protocol 278 net/netfilter/ipvs/ip_vs_conn.c p->protocol == cp->protocol && protocol 305 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(p->protocol), protocol 326 net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_fill_param(ipvs, af, iph->protocol, &iph->saddr, protocol 329 net/netfilter/ipvs/ip_vs_conn.c ip_vs_conn_fill_param(ipvs, af, iph->protocol, &iph->daddr, protocol 373 net/netfilter/ipvs/ip_vs_conn.c ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : protocol 377 net/netfilter/ipvs/ip_vs_conn.c p->protocol == cp->protocol && protocol 389 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(p->protocol), protocol 418 net/netfilter/ipvs/ip_vs_conn.c p->protocol == cp->protocol && protocol 431 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(p->protocol), protocol 585 net/netfilter/ipvs/ip_vs_conn.c if (cp->protocol != IPPROTO_UDP) protocol 605 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 652 net/netfilter/ipvs/ip_vs_conn.c cp->protocol, cp->fwmark, cp->flags); protocol 680 net/netfilter/ipvs/ip_vs_conn.c pd = ip_vs_proto_data_get(cp->ipvs, cp->protocol); protocol 702 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 770 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(ct->protocol), protocol 908 net/netfilter/ipvs/ip_vs_conn.c p->protocol); protocol 921 net/netfilter/ipvs/ip_vs_conn.c cp->protocol = p->protocol; protocol 925 net/netfilter/ipvs/ip_vs_conn.c ip_vs_addr_set(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, protocol 1116 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 1129 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 1182 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 1195 net/netfilter/ipvs/ip_vs_conn.c ip_vs_proto_name(cp->protocol), protocol 1286 net/netfilter/ipvs/ip_vs_conn.c if (cp->protocol == IPPROTO_TCP) { protocol 1300 net/netfilter/ipvs/ip_vs_conn.c } else if (cp->protocol == IPPROTO_SCTP) { protocol 243 net/netfilter/ipvs/ip_vs_core.c struct sk_buff *skb, int protocol, protocol 248 net/netfilter/ipvs/ip_vs_core.c ip_vs_conn_fill_param(svc->ipvs, svc->af, protocol, caddr, cport, vaddr, protocol 318 net/netfilter/ipvs/ip_vs_core.c int protocol = iph->protocol; protocol 339 net/netfilter/ipvs/ip_vs_core.c protocol = IPPROTO_IP; protocol 344 net/netfilter/ipvs/ip_vs_core.c if (ip_vs_conn_fill_param_persist(svc, skb, protocol, &snet, 0, protocol 403 net/netfilter/ipvs/ip_vs_core.c && iph->protocol == IPPROTO_UDP) ? protocol 409 net/netfilter/ipvs/ip_vs_core.c ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, src_addr, protocol 550 net/netfilter/ipvs/ip_vs_core.c && iph->protocol == IPPROTO_UDP) ? protocol 559 net/netfilter/ipvs/ip_vs_core.c ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, protocol 618 net/netfilter/ipvs/ip_vs_core.c iph->protocol == IPPROTO_UDP) ? protocol 626 net/netfilter/ipvs/ip_vs_core.c ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, protocol 788 net/netfilter/ipvs/ip_vs_core.c if (IPPROTO_TCP == ciph->protocol || IPPROTO_UDP == ciph->protocol || protocol 789 net/netfilter/ipvs/ip_vs_core.c IPPROTO_SCTP == ciph->protocol) { protocol 818 net/netfilter/ipvs/ip_vs_core.c int protocol; protocol 828 net/netfilter/ipvs/ip_vs_core.c protocol = ipv6_find_hdr(skb, &offs, -1, &fragoffs, NULL); protocol 839 net/netfilter/ipvs/ip_vs_core.c if (!fragoffs && (IPPROTO_TCP == protocol || IPPROTO_UDP == protocol || protocol 840 net/netfilter/ipvs/ip_vs_core.c IPPROTO_SCTP == protocol)) { protocol 876 net/netfilter/ipvs/ip_vs_core.c __u8 protocol, struct ip_vs_conn *cp, protocol 894 net/netfilter/ipvs/ip_vs_core.c if (IPPROTO_TCP == protocol || IPPROTO_UDP == protocol || protocol 895 net/netfilter/ipvs/ip_vs_core.c IPPROTO_SCTP == protocol) protocol 983 net/netfilter/ipvs/ip_vs_core.c pp = ip_vs_proto_get(cih->protocol); protocol 1004 net/netfilter/ipvs/ip_vs_core.c return handle_response_icmp(AF_INET, skb, &snet, cih->protocol, cp, protocol 1050 net/netfilter/ipvs/ip_vs_core.c pp = ip_vs_proto_get(ciph.protocol); protocol 1062 net/netfilter/ipvs/ip_vs_core.c return handle_response_icmp(AF_INET6, skb, &snet, ciph.protocol, cp, protocol 1096 net/netfilter/ipvs/ip_vs_core.c switch (iph->protocol) { protocol 1126 net/netfilter/ipvs/ip_vs_core.c switch (cp->protocol) { protocol 1185 net/netfilter/ipvs/ip_vs_core.c if (ip_vs_conn_fill_param_persist(svc, skb, iph->protocol, protocol 1206 net/netfilter/ipvs/ip_vs_core.c iph->protocol == IPPROTO_UDP) ? IP_VS_CONN_F_ONE_PACKET : 0; protocol 1208 net/netfilter/ipvs/ip_vs_core.c ip_vs_conn_fill_param(svc->ipvs, svc->af, iph->protocol, protocol 1258 net/netfilter/ipvs/ip_vs_core.c dest = ip_vs_find_real_service(ipvs, af, iph->protocol, protocol 1380 net/netfilter/ipvs/ip_vs_core.c if (unlikely(iph.protocol == IPPROTO_ICMPV6)) { protocol 1390 net/netfilter/ipvs/ip_vs_core.c if (unlikely(iph.protocol == IPPROTO_ICMP)) { protocol 1398 net/netfilter/ipvs/ip_vs_core.c pd = ip_vs_proto_data_get(ipvs, iph.protocol); protocol 1434 net/netfilter/ipvs/ip_vs_core.c if (pp->protocol == IPPROTO_UDP) { protocol 1443 net/netfilter/ipvs/ip_vs_core.c (pp->protocol == IPPROTO_TCP || protocol 1444 net/netfilter/ipvs/ip_vs_core.c pp->protocol == IPPROTO_UDP || protocol 1445 net/netfilter/ipvs/ip_vs_core.c pp->protocol == IPPROTO_SCTP)) { protocol 1452 net/netfilter/ipvs/ip_vs_core.c if (ip_vs_has_real_service(ipvs, af, iph.protocol, &iph.saddr, protocol 1459 net/netfilter/ipvs/ip_vs_core.c if ((iph.protocol != IPPROTO_TCP && protocol 1460 net/netfilter/ipvs/ip_vs_core.c iph.protocol != IPPROTO_SCTP) protocol 1461 net/netfilter/ipvs/ip_vs_core.c || ((iph.protocol == IPPROTO_TCP protocol 1463 net/netfilter/ipvs/ip_vs_core.c || (iph.protocol == IPPROTO_SCTP protocol 1634 net/netfilter/ipvs/ip_vs_core.c type = greh->protocol; protocol 1708 net/netfilter/ipvs/ip_vs_core.c if (cih->protocol == IPPROTO_IPIP) { protocol 1725 net/netfilter/ipvs/ip_vs_core.c } else if ((cih->protocol == IPPROTO_UDP || /* Can be UDP encap */ protocol 1726 net/netfilter/ipvs/ip_vs_core.c cih->protocol == IPPROTO_GRE) && /* Can be GRE encap */ protocol 1736 net/netfilter/ipvs/ip_vs_core.c if (cih->protocol == IPPROTO_UDP) protocol 1756 net/netfilter/ipvs/ip_vs_core.c pd = ip_vs_proto_data_get(ipvs, cih->protocol); protocol 1856 net/netfilter/ipvs/ip_vs_core.c if (IPPROTO_TCP == cih->protocol || IPPROTO_UDP == cih->protocol || protocol 1857 net/netfilter/ipvs/ip_vs_core.c IPPROTO_SCTP == cih->protocol) protocol 1914 net/netfilter/ipvs/ip_vs_core.c pd = ip_vs_proto_data_get(ipvs, ciph.protocol); protocol 1956 net/netfilter/ipvs/ip_vs_core.c if (IPPROTO_TCP == ciph.protocol || IPPROTO_UDP == ciph.protocol || protocol 1957 net/netfilter/ipvs/ip_vs_core.c IPPROTO_SCTP == ciph.protocol) protocol 2003 net/netfilter/ipvs/ip_vs_core.c skb->pkt_type, iph.protocol, protocol 2024 net/netfilter/ipvs/ip_vs_core.c if (unlikely(iph.protocol == IPPROTO_ICMPV6)) { protocol 2034 net/netfilter/ipvs/ip_vs_core.c if (unlikely(iph.protocol == IPPROTO_ICMP)) { protocol 2044 net/netfilter/ipvs/ip_vs_core.c pd = ip_vs_proto_data_get(ipvs, iph.protocol); protocol 2222 net/netfilter/ipvs/ip_vs_core.c if (ip_hdr(skb)->protocol != IPPROTO_ICMP) protocol 2242 net/netfilter/ipvs/ip_vs_core.c if (iphdr.protocol != IPPROTO_ICMPV6) protocol 307 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol, protocol 355 net/netfilter/ipvs/ip_vs_ctl.c __ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u16 protocol, protocol 362 net/netfilter/ipvs/ip_vs_ctl.c hash = ip_vs_svc_hashkey(ipvs, af, protocol, vaddr, vport); protocol 368 net/netfilter/ipvs/ip_vs_ctl.c && (svc->protocol == protocol) protocol 404 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_service_find(struct netns_ipvs *ipvs, int af, __u32 fwmark, __u16 protocol, protocol 422 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, af, protocol, vaddr, vport); protocol 424 net/netfilter/ipvs/ip_vs_ctl.c if (!svc && protocol == IPPROTO_TCP && protocol 431 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, af, protocol, vaddr, FTPPORT); protocol 439 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, af, protocol, vaddr, 0); protocol 444 net/netfilter/ipvs/ip_vs_ctl.c fwmark, ip_vs_proto_name(protocol), protocol 561 net/netfilter/ipvs/ip_vs_ctl.c bool ip_vs_has_real_service(struct netns_ipvs *ipvs, int af, __u16 protocol, protocol 574 net/netfilter/ipvs/ip_vs_ctl.c (dest->protocol == protocol || dest->vfwmark) && protocol 591 net/netfilter/ipvs/ip_vs_ctl.c __u16 protocol, protocol 605 net/netfilter/ipvs/ip_vs_ctl.c (dest->protocol == protocol || dest->vfwmark) && protocol 680 net/netfilter/ipvs/ip_vs_ctl.c __be16 vport, __u16 protocol, __u32 fwmark, protocol 687 net/netfilter/ipvs/ip_vs_ctl.c svc = ip_vs_service_find(ipvs, svc_af, fwmark, protocol, vaddr, vport); protocol 752 net/netfilter/ipvs/ip_vs_ctl.c dest->protocol == svc->protocol && protocol 994 net/netfilter/ipvs/ip_vs_ctl.c dest->protocol = svc->protocol; protocol 1339 net/netfilter/ipvs/ip_vs_ctl.c svc->protocol = u->protocol; protocol 2141 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_proto_name(svc->protocol), protocol 2148 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_proto_name(svc->protocol), protocol 2382 net/netfilter/ipvs/ip_vs_ctl.c usvc->protocol = usvc_compat->protocol; protocol 2494 net/netfilter/ipvs/ip_vs_ctl.c if (usvc.protocol != IPPROTO_TCP && usvc.protocol != IPPROTO_UDP && protocol 2495 net/netfilter/ipvs/ip_vs_ctl.c usvc.protocol != IPPROTO_SCTP) { protocol 2497 net/netfilter/ipvs/ip_vs_ctl.c usvc.protocol, &usvc.addr.ip, protocol 2506 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, usvc.af, usvc.protocol, protocol 2513 net/netfilter/ipvs/ip_vs_ctl.c && (svc == NULL || svc->protocol != usvc.protocol)) { protocol 2564 net/netfilter/ipvs/ip_vs_ctl.c dst->protocol = src->protocol; protocol 2640 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, AF_INET, get->protocol, &addr, protocol 2834 net/netfilter/ipvs/ip_vs_ctl.c entry->protocol, &addr, protocol 3050 net/netfilter/ipvs/ip_vs_ctl.c if (nla_put_u16(skb, IPVS_SVC_ATTR_PROTOCOL, svc->protocol) || protocol 3183 net/netfilter/ipvs/ip_vs_ctl.c usvc->protocol = IPPROTO_TCP; protocol 3186 net/netfilter/ipvs/ip_vs_ctl.c usvc->protocol = nla_get_u16(nla_protocol); protocol 3196 net/netfilter/ipvs/ip_vs_ctl.c svc = __ip_vs_service_find(ipvs, usvc->af, usvc->protocol, protocol 321 net/netfilter/ipvs/ip_vs_ftp.c ipvsh->protocol, &from, port, protocol 329 net/netfilter/ipvs/ip_vs_ftp.c cp->af, ipvsh->protocol, &cp->caddr, protocol 381 net/netfilter/ipvs/ip_vs_ftp.c ipvsh->protocol, 0, 0); protocol 503 net/netfilter/ipvs/ip_vs_ftp.c ip_vs_proto_name(ipvsh->protocol), protocol 518 net/netfilter/ipvs/ip_vs_ftp.c ip_vs_proto_name(ipvsh->protocol), protocol 532 net/netfilter/ipvs/ip_vs_ftp.c ipvsh->protocol, &to, port, &cp->vaddr, protocol 561 net/netfilter/ipvs/ip_vs_ftp.c .protocol = IPPROTO_TCP, protocol 591 net/netfilter/ipvs/ip_vs_ftp.c ret = register_ip_vs_app_inc(ipvs, app, app->protocol, ports[i]); protocol 455 net/netfilter/ipvs/ip_vs_mh.c switch (iph->protocol) { protocol 68 net/netfilter/ipvs/ip_vs_nfct.c (C)->protocol, (C)->state protocol 252 net/netfilter/ipvs/ip_vs_nfct.c .dst = { .protonum = cp->protocol, .dir = IP_CT_DIR_ORIGINAL } }; protocol 77 net/netfilter/ipvs/ip_vs_pe_sip.c if (!retc || iph.protocol != IPPROTO_UDP) protocol 117 net/netfilter/ipvs/ip_vs_pe_sip.c ip_vs_addr_equal(p->protocol == IPPROTO_IP ? AF_UNSPEC : p->af, protocol 121 net/netfilter/ipvs/ip_vs_pe_sip.c ct->protocol == p->protocol && protocol 127 net/netfilter/ipvs/ip_vs_pe_sip.c ip_vs_proto_name(p->protocol), protocol 155 net/netfilter/ipvs/ip_vs_pe_sip.c if (likely(iph->protocol == IPPROTO_UDP)) protocol 51 net/netfilter/ipvs/ip_vs_proto.c unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); protocol 68 net/netfilter/ipvs/ip_vs_proto.c unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); protocol 99 net/netfilter/ipvs/ip_vs_proto.c unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); protocol 121 net/netfilter/ipvs/ip_vs_proto.c unsigned int hash = IP_VS_PROTO_HASH(pd->pp->protocol); protocol 146 net/netfilter/ipvs/ip_vs_proto.c if (pp->protocol == proto) protocol 164 net/netfilter/ipvs/ip_vs_proto.c if (pd->pp->protocol == proto) protocol 207 net/netfilter/ipvs/ip_vs_proto.c pp = ip_vs_proto_get(cp->protocol); protocol 209 net/netfilter/ipvs/ip_vs_proto.c return (cp->protocol == IPPROTO_IP) ? "NONE" : "ERR!"; protocol 71 net/netfilter/ipvs/ip_vs_proto_ah_esp.c ip_vs_proto_get(iph->protocol)->name, protocol 93 net/netfilter/ipvs/ip_vs_proto_ah_esp.c ip_vs_proto_get(iph->protocol)->name, protocol 118 net/netfilter/ipvs/ip_vs_proto_ah_esp.c .protocol = IPPROTO_AH, protocol 140 net/netfilter/ipvs/ip_vs_proto_ah_esp.c .protocol = IPPROTO_ESP, protocol 50 net/netfilter/ipvs/ip_vs_proto_sctp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 53 net/netfilter/ipvs/ip_vs_proto_sctp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 576 net/netfilter/ipvs/ip_vs_proto_sctp.c .protocol = IPPROTO_SCTP, protocol 68 net/netfilter/ipvs/ip_vs_proto_tcp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 71 net/netfilter/ipvs/ip_vs_proto_tcp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 206 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->protocol, skb->csum); protocol 212 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->protocol, protocol 289 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->protocol, skb->csum); protocol 295 net/netfilter/ipvs/ip_vs_proto_tcp.c cp->protocol, protocol 336 net/netfilter/ipvs/ip_vs_proto_tcp.c ip_hdr(skb)->protocol, protocol 725 net/netfilter/ipvs/ip_vs_proto_tcp.c .protocol = IPPROTO_TCP, protocol 56 net/netfilter/ipvs/ip_vs_proto_udp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 59 net/netfilter/ipvs/ip_vs_proto_udp.c svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, protocol 199 net/netfilter/ipvs/ip_vs_proto_udp.c cp->protocol, skb->csum); protocol 205 net/netfilter/ipvs/ip_vs_proto_udp.c cp->protocol, protocol 283 net/netfilter/ipvs/ip_vs_proto_udp.c cp->protocol, skb->csum); protocol 289 net/netfilter/ipvs/ip_vs_proto_udp.c cp->protocol, protocol 339 net/netfilter/ipvs/ip_vs_proto_udp.c ip_hdr(skb)->protocol, protocol 484 net/netfilter/ipvs/ip_vs_proto_udp.c .protocol = IPPROTO_UDP, protocol 154 net/netfilter/ipvs/ip_vs_sched.c sched_name, ip_vs_proto_name(svc->protocol), protocol 159 net/netfilter/ipvs/ip_vs_sched.c sched_name, ip_vs_proto_name(svc->protocol), protocol 286 net/netfilter/ipvs/ip_vs_sh.c switch (iph->protocol) { protocol 75 net/netfilter/ipvs/ip_vs_sync.c __u8 protocol; /* Which protocol (TCP/UDP) */ protocol 135 net/netfilter/ipvs/ip_vs_sync.c __u8 protocol; /* Which protocol (TCP/UDP) */ protocol 157 net/netfilter/ipvs/ip_vs_sync.c __u8 protocol; /* Which protocol (TCP/UDP) */ protocol 478 net/netfilter/ipvs/ip_vs_sync.c else if (likely(cp->protocol == IPPROTO_TCP)) { protocol 489 net/netfilter/ipvs/ip_vs_sync.c } else if (unlikely(cp->protocol == IPPROTO_SCTP)) { protocol 597 net/netfilter/ipvs/ip_vs_sync.c s->protocol = cp->protocol; protocol 729 net/netfilter/ipvs/ip_vs_sync.c s->v4.protocol = cp->protocol; protocol 799 net/netfilter/ipvs/ip_vs_sync.c ip_vs_conn_fill_param(ipvs, af, sc->v6.protocol, protocol 806 net/netfilter/ipvs/ip_vs_sync.c ip_vs_conn_fill_param(ipvs, af, sc->v4.protocol, protocol 847 net/netfilter/ipvs/ip_vs_sync.c unsigned int protocol, unsigned int type, protocol 912 net/netfilter/ipvs/ip_vs_sync.c param->vaddr, param->vport, protocol, protocol 950 net/netfilter/ipvs/ip_vs_sync.c pd = ip_vs_proto_data_get(ipvs, protocol); protocol 998 net/netfilter/ipvs/ip_vs_sync.c pp = ip_vs_proto_get(s->protocol); protocol 1001 net/netfilter/ipvs/ip_vs_sync.c s->protocol); protocol 1015 net/netfilter/ipvs/ip_vs_sync.c ip_vs_conn_fill_param(ipvs, AF_INET, s->protocol, protocol 1022 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->protocol, AF_INET, protocol 1156 net/netfilter/ipvs/ip_vs_sync.c pp = ip_vs_proto_get(s->v4.protocol); protocol 1159 net/netfilter/ipvs/ip_vs_sync.c s->v4.protocol); protocol 1181 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->v4.protocol, af, protocol 1188 net/netfilter/ipvs/ip_vs_sync.c ip_vs_proc_conn(ipvs, ¶m, flags, state, s->v6.protocol, af, protocol 1254 net/netfilter/ipvs/ip_vs_xmit.c iph->protocol = next_protocol; protocol 337 net/netfilter/nf_conntrack_core.c *protonum = iph->protocol; protocol 187 net/netfilter/nf_conntrack_proto_gre.c if (grehdr->protocol != GRE_PROTO_PPP) { protocol 188 net/netfilter/nf_conntrack_proto_gre.c pr_debug("Unsupported GRE proto(0x%x)\n", ntohs(grehdr->protocol)); protocol 383 net/netfilter/nf_flow_table_core.c u8 protocol, __be16 port, __be16 new_port) protocol 385 net/netfilter/nf_flow_table_core.c switch (protocol) { protocol 401 net/netfilter/nf_flow_table_core.c u8 protocol, enum flow_offload_tuple_dir dir) protocol 427 net/netfilter/nf_flow_table_core.c return nf_flow_nat_port(skb, thoff, protocol, port, new_port); protocol 433 net/netfilter/nf_flow_table_core.c u8 protocol, enum flow_offload_tuple_dir dir) protocol 459 net/netfilter/nf_flow_table_core.c return nf_flow_nat_port(skb, thoff, protocol, port, new_port); protocol 14 net/netfilter/nf_flow_table_inet.c switch (skb->protocol) { protocol 78 net/netfilter/nf_flow_table_ip.c switch (iph->protocol) { protocol 148 net/netfilter/nf_flow_table_ip.c (nf_flow_snat_port(flow, skb, thoff, iph->protocol, dir) < 0 || protocol 152 net/netfilter/nf_flow_table_ip.c (nf_flow_dnat_port(flow, skb, thoff, iph->protocol, dir) < 0 || protocol 181 net/netfilter/nf_flow_table_ip.c if (iph->protocol != IPPROTO_TCP && protocol 182 net/netfilter/nf_flow_table_ip.c iph->protocol != IPPROTO_UDP) protocol 200 net/netfilter/nf_flow_table_ip.c tuple->l4proto = iph->protocol; protocol 251 net/netfilter/nf_flow_table_ip.c if (skb->protocol != htons(ETH_P_IP)) protocol 273 net/netfilter/nf_flow_table_ip.c if (nf_flow_state_check(flow, ip_hdr(skb)->protocol, skb, thoff)) protocol 481 net/netfilter/nf_flow_table_ip.c if (skb->protocol != htons(ETH_P_IPV6)) protocol 176 net/netfilter/nf_log_common.c __be16 protocol, protocol 184 net/netfilter/nf_log_common.c switch (protocol) { protocol 23 net/netfilter/nf_log_netdev.c nf_log_l2packet(net, pf, skb->protocol, hooknum, skb, in, out, protocol 636 net/netfilter/nf_nat_proto.c if (ip_hdr(skb)->protocol == IPPROTO_ICMP) { protocol 427 net/netfilter/nf_synproxy_core.c iph->protocol = IPPROTO_TCP; protocol 448 net/netfilter/nf_synproxy_core.c nskb->protocol = htons(ETH_P_IP); protocol 679 net/netfilter/nf_synproxy_core.c ip_hdr(skb)->protocol != IPPROTO_TCP) protocol 133 net/netfilter/nf_tables_offload.c common->protocol = proto; protocol 77 net/netfilter/nf_tables_trace.c veth.h_vlan_encapsulated_proto = skb->protocol; protocol 472 net/netfilter/nfnetlink_log.c pmsg.hw_protocol = skb->protocol; protocol 824 net/netfilter/nfnetlink_log.c if (event == NETLINK_URELEASE && n->protocol == NETLINK_NETFILTER) { protocol 487 net/netfilter/nfnetlink_queue.c pmsg->hw_protocol = entskb->protocol; protocol 798 net/netfilter/nfnetlink_queue.c skb->protocol = htons(ETH_P_IP); protocol 801 net/netfilter/nfnetlink_queue.c skb->protocol = htons(ETH_P_IPV6); protocol 980 net/netfilter/nfnetlink_queue.c if (event == NETLINK_URELEASE && n->protocol == NETLINK_NETFILTER) { protocol 261 net/netfilter/nft_chain_filter.c switch (skb->protocol) { protocol 139 net/netfilter/nft_exthdr.c if (skb->protocol != htons(ETH_P_IP)) protocol 27 net/netfilter/nft_fib_netdev.c switch (ntohs(pkt->skb->protocol)) { protocol 102 net/netfilter/nft_fwd_netdev.c if (skb->protocol != htons(ETH_P_IP)) { protocol 118 net/netfilter/nft_fwd_netdev.c if (skb->protocol != htons(ETH_P_IPV6)) { protocol 39 net/netfilter/nft_log.c &ih->saddr, &ih->daddr, ih->protocol); protocol 74 net/netfilter/nft_meta.c nft_reg_store16(dest, (__force u16)skb->protocol); protocol 177 net/netfilter/nft_meta.c switch (skb->protocol) { protocol 57 net/netfilter/nft_payload.c veth.h_vlan_encapsulated_proto = skb->protocol; protocol 206 net/netfilter/nft_payload.c case offsetof(struct iphdr, protocol): protocol 139 net/netfilter/nft_synproxy.c switch (skb->protocol) { protocol 43 net/netfilter/nft_tproxy.c sk = nf_tproxy_get_sock_v4(nft_net(pkt), skb, iph->protocol, protocol 65 net/netfilter/nft_tproxy.c sk = nf_tproxy_get_sock_v4(nft_net(pkt), skb, iph->protocol, protocol 11 net/netfilter/utils.c unsigned int dataoff, u8 protocol) protocol 20 net/netfilter/utils.c if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && protocol 23 net/netfilter/utils.c skb->len - dataoff, protocol, protocol 30 net/netfilter/utils.c if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) protocol 35 net/netfilter/utils.c protocol, 0); protocol 45 net/netfilter/utils.c u8 protocol) protocol 53 net/netfilter/utils.c return nf_ip_checksum(skb, hook, dataoff, protocol); protocol 56 net/netfilter/utils.c skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, protocol, protocol 65 net/netfilter/utils.c unsigned int dataoff, u8 protocol) protocol 75 net/netfilter/utils.c skb->len - dataoff, protocol, protocol 87 net/netfilter/utils.c protocol, protocol 99 net/netfilter/utils.c u8 protocol) protocol 108 net/netfilter/utils.c return nf_ip6_checksum(skb, hook, dataoff, protocol); protocol 115 net/netfilter/utils.c protocol, protocol 124 net/netfilter/utils.c unsigned int dataoff, u8 protocol, protocol 131 net/netfilter/utils.c csum = nf_ip_checksum(skb, hook, dataoff, protocol); protocol 134 net/netfilter/utils.c csum = nf_ip6_checksum(skb, hook, dataoff, protocol); protocol 144 net/netfilter/utils.c u8 protocol, unsigned short family) protocol 151 net/netfilter/utils.c protocol); protocol 155 net/netfilter/utils.c protocol); protocol 41 net/netfilter/xt_AUDIT.c &ih->saddr, &ih->daddr, ih->protocol); protocol 261 net/netfilter/xt_HMARK.c if (ip->protocol == IPPROTO_ICMP) { protocol 276 net/netfilter/xt_HMARK.c t->proto = ip->protocol; protocol 51 net/netfilter/xt_TPROXY.c sk = nf_tproxy_get_sock_v4(net, skb, iph->protocol, protocol 67 net/netfilter/xt_TPROXY.c sk = nf_tproxy_get_sock_v4(net, skb, iph->protocol, protocol 79 net/netfilter/xt_TPROXY.c iph->protocol, &iph->daddr, ntohs(hp->dest), protocol 87 net/netfilter/xt_TPROXY.c iph->protocol, &iph->saddr, ntohs(hp->source), protocol 659 net/netfilter/xt_hashlimit.c nexthdr = ip_hdr(skb)->protocol; protocol 75 net/netfilter/xt_ipvs.c if ((iph.protocol == data->l4proto) ^ protocol 81 net/netfilter/xt_ipvs.c pp = ip_vs_proto_get(iph.protocol); protocol 173 net/netfilter/xt_l2tp.c u8 ipproto = iph->protocol; protocol 651 net/netlabel/netlabel_mgmt.c u32 protocol) protocol 662 net/netlabel/netlabel_mgmt.c ret_val = nla_put_u32(skb, NLBL_MGMT_A_PROTOCOL, protocol); protocol 290 net/netlink/af_netlink.c nskb->protocol = htons((u16) sk->sk_protocol); protocol 517 net/netlink/af_netlink.c static struct sock *netlink_lookup(struct net *net, int protocol, u32 portid) protocol 519 net/netlink/af_netlink.c struct netlink_table *table = &nl_table[protocol]; protocol 621 net/netlink/af_netlink.c struct mutex *cb_mutex, int protocol, protocol 642 net/netlink/af_netlink.c nlk_cb_mutex_keys + protocol, protocol 643 net/netlink/af_netlink.c nlk_cb_mutex_key_strings[protocol]); protocol 648 net/netlink/af_netlink.c sk->sk_protocol = protocol; protocol 652 net/netlink/af_netlink.c static int netlink_create(struct net *net, struct socket *sock, int protocol, protocol 667 net/netlink/af_netlink.c if (protocol < 0 || protocol >= MAX_LINKS) protocol 669 net/netlink/af_netlink.c protocol = array_index_nospec(protocol, MAX_LINKS); protocol 673 net/netlink/af_netlink.c if (!nl_table[protocol].registered) { protocol 675 net/netlink/af_netlink.c request_module("net-pf-%d-proto-%d", PF_NETLINK, protocol); protocol 679 net/netlink/af_netlink.c if (nl_table[protocol].registered && protocol 680 net/netlink/af_netlink.c try_module_get(nl_table[protocol].module)) protocol 681 net/netlink/af_netlink.c module = nl_table[protocol].module; protocol 684 net/netlink/af_netlink.c cb_mutex = nl_table[protocol].cb_mutex; protocol 685 net/netlink/af_netlink.c bind = nl_table[protocol].bind; protocol 686 net/netlink/af_netlink.c unbind = nl_table[protocol].unbind; protocol 692 net/netlink/af_netlink.c err = __netlink_create(net, sock, cb_mutex, protocol, kern); protocol 771 net/netlink/af_netlink.c .protocol = sk->sk_protocol, protocol 90 net/netlink/diag.c int protocol, int s_num) protocol 93 net/netlink/diag.c struct netlink_table *tbl = &nl_table[protocol]; protocol 399 net/netrom/af_netrom.c static int nr_create(struct net *net, struct socket *sock, int protocol, protocol 408 net/netrom/af_netrom.c if (sock->type != SOCK_SEQPACKET || protocol != 0) protocol 420 net/netrom/af_netrom.c sk->sk_protocol = protocol; protocol 52 net/netrom/nr_dev.c skb->protocol = htons(ETH_P_IP); protocol 393 net/nfc/core.c int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol) protocol 399 net/nfc/core.c dev_name(&dev->dev), target_idx, protocol); protocol 419 net/nfc/core.c rc = dev->ops->activate_target(dev, target, protocol); protocol 665 net/nfc/core.c int nfc_tm_activated(struct nfc_dev *dev, u32 protocol, u8 comm_mode, protocol 682 net/nfc/core.c if (protocol == NFC_PROTO_NFC_DEP_MASK) protocol 685 net/nfc/core.c rc = nfc_genl_tm_activated(dev, protocol); protocol 76 net/nfc/digital.h struct nfc_target *target, u8 protocol); protocol 305 net/nfc/digital_core.c struct nfc_target *target, u8 protocol) protocol 316 net/nfc/digital_core.c switch (protocol) { protocol 366 net/nfc/digital_core.c pr_err("Invalid protocol %d\n", protocol); protocol 370 net/nfc/digital_core.c pr_debug("rf_tech=%d, protocol=%d\n", rf_tech, protocol); protocol 386 net/nfc/digital_core.c target->supported_protocols = (1 << protocol); protocol 614 net/nfc/digital_core.c struct nfc_target *target, __u32 protocol) protocol 628 net/nfc/digital_core.c ddev->curr_protocol = protocol; protocol 686 net/nfc/hci/core.c struct nfc_target *target, u32 protocol) protocol 66 net/nfc/nci/core.c params->protocol == conn_info->dest_params->protocol) protocol 848 net/nfc/nci/core.c struct nfc_target *target, __u32 protocol) protocol 856 net/nfc/nci/core.c pr_debug("target_idx %d, protocol 0x%x\n", target->idx, protocol); protocol 881 net/nfc/nci/core.c if (!(nci_target->supported_protocols & (1 << protocol))) { protocol 883 net/nfc/nci/core.c protocol); protocol 890 net/nfc/nci/core.c if (protocol == NFC_PROTO_JEWEL) protocol 892 net/nfc/nci/core.c else if (protocol == NFC_PROTO_MIFARE) protocol 894 net/nfc/nci/core.c else if (protocol == NFC_PROTO_FELICA) protocol 896 net/nfc/nci/core.c else if (protocol == NFC_PROTO_ISO14443 || protocol 897 net/nfc/nci/core.c protocol == NFC_PROTO_ISO14443_B) protocol 908 net/nfc/nci/core.c ndev->target_active_prot = protocol; protocol 190 net/nfc/nci/ntf.c __u32 protocol; protocol 193 net/nfc/nci/ntf.c protocol = NFC_PROTO_JEWEL_MASK; protocol 195 net/nfc/nci/ntf.c protocol = NFC_PROTO_MIFARE_MASK; protocol 198 net/nfc/nci/ntf.c protocol = NFC_PROTO_ISO14443_MASK; protocol 200 net/nfc/nci/ntf.c protocol = NFC_PROTO_ISO14443_B_MASK; protocol 202 net/nfc/nci/ntf.c protocol = NFC_PROTO_FELICA_MASK; protocol 204 net/nfc/nci/ntf.c protocol = NFC_PROTO_NFC_DEP_MASK; protocol 206 net/nfc/nci/ntf.c protocol = NFC_PROTO_ISO15693_MASK; protocol 208 net/nfc/nci/ntf.c protocol = nci_get_prop_rf_protocol(ndev, rf_protocol); protocol 210 net/nfc/nci/ntf.c if (!(protocol & ndev->poll_prots)) { protocol 252 net/nfc/nci/ntf.c target->supported_protocols |= protocol; protocol 254 net/nfc/nci/ntf.c pr_debug("protocol 0x%x\n", protocol); protocol 242 net/nfc/nci/rsp.c conn_info->dest_params->protocol = ndev->cur_params.protocol; protocol 237 net/nfc/netlink.c int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol) protocol 253 net/nfc/netlink.c if (nla_put_u32(msg, NFC_ATTR_TM_PROTOCOLS, protocol)) protocol 887 net/nfc/netlink.c u32 device_idx, target_idx, protocol; protocol 902 net/nfc/netlink.c protocol = nla_get_u32(info->attrs[NFC_ATTR_PROTOCOLS]); protocol 905 net/nfc/netlink.c rc = nfc_activate_target(dev, target_idx, protocol); protocol 1822 net/nfc/netlink.c if (event != NETLINK_URELEASE || n->protocol != NETLINK_GENERIC) protocol 87 net/nfc/nfc.h int nfc_genl_tm_activated(struct nfc_dev *dev, u32 protocol); protocol 140 net/nfc/nfc.h int nfc_activate_target(struct nfc_dev *dev, u32 target_idx, u32 protocol); protocol 23 net/nsh/nsh.c next_proto = tun_p_from_eth_p(skb->protocol); protocol 38 net/nsh/nsh.c skb->protocol = htons(ETH_P_NSH); protocol 70 net/nsh/nsh.c skb->protocol = inner_proto; protocol 105 net/nsh/nsh.c skb->protocol = proto; protocol 117 net/nsh/nsh.c skb->protocol = htons(ETH_P_NSH); protocol 303 net/openvswitch/actions.c hdr->h_proto = skb->protocol; protocol 337 net/openvswitch/actions.c if (skb->protocol == htons(ETH_P_TEB)) protocol 353 net/openvswitch/actions.c if (nh->protocol == IPPROTO_TCP) { protocol 357 net/openvswitch/actions.c } else if (nh->protocol == IPPROTO_UDP) { protocol 765 net/openvswitch/actions.c if (eth_p_mpls(skb->protocol)) { protocol 820 net/openvswitch/actions.c if (eth_p_mpls(skb->protocol)) { protocol 755 net/openvswitch/conntrack.c skb->protocol == htons(ETH_P_IP) && protocol 756 net/openvswitch/conntrack.c ip_hdr(skb)->protocol == IPPROTO_ICMP) { protocol 762 net/openvswitch/conntrack.c skb->protocol == htons(ETH_P_IPV6)) { protocol 1256 net/openvswitch/conntrack.c switch (skb->protocol) { protocol 556 net/openvswitch/flow.c key->ip.proto = nh->protocol; protocol 768 net/openvswitch/flow.c if (unlikely(eth_type_vlan(skb->protocol))) protocol 772 net/openvswitch/flow.c key->eth.type = skb->protocol; protocol 795 net/openvswitch/flow.c skb->protocol = key->eth.cvlan.tpid; protocol 797 net/openvswitch/flow.c skb->protocol = key->eth.type; protocol 834 net/openvswitch/flow.c if (skb->protocol == htons(ETH_P_TEB)) protocol 924 net/openvswitch/flow.c skb->protocol = key->eth.type; protocol 241 net/openvswitch/vport-internal_dev.c skb->protocol = eth_type_trans(skb, netdev); protocol 458 net/openvswitch/vport.c eth_type_vlan(skb->protocol)) protocol 478 net/openvswitch/vport.c skb->protocol = htons(ETH_P_TEB); protocol 1843 net/packet/af_packet.c spkt->spkt_protocol = skb->protocol; protocol 1861 net/packet/af_packet.c if ((!skb->protocol || skb->protocol == htons(ETH_P_ALL)) && protocol 1864 net/packet/af_packet.c skb->protocol = dev_parse_header_protocol(skb); protocol 1978 net/packet/af_packet.c skb->protocol = proto; protocol 2367 net/packet/af_packet.c sll->sll_protocol = skb->protocol; protocol 2484 net/packet/af_packet.c skb->protocol = proto; protocol 2959 net/packet/af_packet.c skb->protocol = proto; protocol 3232 net/packet/af_packet.c static int packet_create(struct net *net, struct socket *sock, int protocol, protocol 3237 net/packet/af_packet.c __be16 proto = (__force __be16)protocol; /* weird, but documented */ protocol 3387 net/packet/af_packet.c sll->sll_protocol = skb->protocol; protocol 27 net/phonet/af_phonet.c static const struct phonet_protocol *phonet_proto_get(unsigned int protocol) protocol 31 net/phonet/af_phonet.c if (protocol >= PHONET_NPROTO) protocol 35 net/phonet/af_phonet.c pp = rcu_dereference(proto_tab[protocol]); protocol 50 net/phonet/af_phonet.c static int pn_socket_create(struct net *net, struct socket *sock, int protocol, protocol 61 net/phonet/af_phonet.c if (protocol == 0) { protocol 65 net/phonet/af_phonet.c protocol = PN_PROTO_PHONET; protocol 68 net/phonet/af_phonet.c protocol = PN_PROTO_PIPE; protocol 75 net/phonet/af_phonet.c pnp = phonet_proto_get(protocol); protocol 77 net/phonet/af_phonet.c request_module("net-pf-%d-proto-%d", PF_PHONET, protocol) == 0) protocol 78 net/phonet/af_phonet.c pnp = phonet_proto_get(protocol); protocol 97 net/phonet/af_phonet.c sk->sk_protocol = protocol; protocol 178 net/phonet/af_phonet.c skb->protocol = htons(ETH_P_PHONET); protocol 187 net/phonet/af_phonet.c err = dev_hard_header(skb, dev, ntohs(skb->protocol), protocol 459 net/phonet/af_phonet.c int __init_or_module phonet_proto_register(unsigned int protocol, protocol 464 net/phonet/af_phonet.c if (protocol >= PHONET_NPROTO) protocol 472 net/phonet/af_phonet.c if (proto_tab[protocol]) protocol 475 net/phonet/af_phonet.c rcu_assign_pointer(proto_tab[protocol], pp); protocol 482 net/phonet/af_phonet.c void phonet_proto_unregister(unsigned int protocol, protocol 486 net/phonet/af_phonet.c BUG_ON(proto_tab[protocol] != pp); protocol 487 net/phonet/af_phonet.c RCU_INIT_POINTER(proto_tab[protocol], NULL); protocol 79 net/phonet/pep-gprs.c __be16 protocol = gprs_type_trans(skb); protocol 81 net/phonet/pep-gprs.c if (!protocol) { protocol 116 net/phonet/pep-gprs.c skb->protocol = protocol; protocol 179 net/phonet/pep-gprs.c switch (skb->protocol) { protocol 1045 net/qrtr/qrtr.c int protocol, int kern) protocol 669 net/rds/af_rds.c static int __rds_create(struct socket *sock, struct sock *sk, int protocol) protocol 675 net/rds/af_rds.c sk->sk_protocol = protocol; protocol 700 net/rds/af_rds.c static int rds_create(struct net *net, struct socket *sock, int protocol, protocol 705 net/rds/af_rds.c if (sock->type != SOCK_SEQPACKET || protocol) protocol 712 net/rds/af_rds.c return __rds_create(sock, sk, protocol); protocol 488 net/rose/af_rose.c static int rose_create(struct net *net, struct socket *sock, int protocol, protocol 497 net/rose/af_rose.c if (sock->type != SOCK_SEQPACKET || protocol != 0) protocol 515 net/rose/af_rose.c sk->sk_protocol = protocol; protocol 731 net/rxrpc/af_rxrpc.c static int rxrpc_create(struct net *net, struct socket *sock, int protocol, protocol 738 net/rxrpc/af_rxrpc.c _enter("%p,%d", sock, protocol); protocol 741 net/rxrpc/af_rxrpc.c if (protocol != PF_INET && protocol 742 net/rxrpc/af_rxrpc.c IS_ENABLED(CONFIG_AF_RXRPC_IPV6) && protocol != PF_INET6) protocol 763 net/rxrpc/af_rxrpc.c rx->family = protocol; protocol 20 net/rxrpc/utils.c switch (ntohs(skb->protocol)) { protocol 41 net/rxrpc/utils.c ntohs(skb->protocol)); protocol 46 net/sched/act_connmark.c if (skb->protocol == htons(ETH_P_IP)) { protocol 51 net/sched/act_connmark.c } else if (skb->protocol == htons(ETH_P_IPV6)) { protocol 299 net/sched/act_csum.c ul, iph->protocol, protocol 399 net/sched/act_csum.c switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { protocol 577 net/sched/act_csum.c __be16 protocol; protocol 590 net/sched/act_csum.c protocol = tc_skb_protocol(skb); protocol 592 net/sched/act_csum.c switch (protocol) { protocol 604 net/sched/act_csum.c protocol = skb->protocol; protocol 609 net/sched/act_csum.c protocol = vlan->h_vlan_encapsulated_proto; protocol 103 net/sched/act_ct.c switch (skb->protocol) { protocol 236 net/sched/act_ct.c if (skb->protocol == htons(ETH_P_IP) && protocol 237 net/sched/act_ct.c ip_hdr(skb)->protocol == IPPROTO_ICMP) { protocol 243 net/sched/act_ct.c skb->protocol == htons(ETH_P_IPV6)) { protocol 738 net/sched/act_ife.c skb->protocol = eth_type_trans(skb, skb->dev); protocol 85 net/sched/act_mpls.c new_lse = tcf_mpls_get_lse(NULL, p, !eth_p_mpls(skb->protocol)); protocol 162 net/sched/act_nat.c iph->protocol != IPPROTO_ICMP) { protocol 169 net/sched/act_nat.c switch (iph->frag_off & htons(IP_OFFSET) ? 0 : iph->protocol) { protocol 54 net/sched/cls_api.c (__force __u32)tp->protocol, 0); protocol 73 net/sched/cls_api.c tp1->protocol == tp2->protocol; protocol 250 net/sched/cls_api.c static struct tcf_proto *tcf_proto_create(const char *kind, u32 protocol, protocol 268 net/sched/cls_api.c tp->protocol = protocol; protocol 1574 net/sched/cls_api.c __be16 protocol = tc_skb_protocol(skb); protocol 1577 net/sched/cls_api.c if (tp->protocol != protocol && protocol 1578 net/sched/cls_api.c tp->protocol != htons(ETH_P_ALL)) protocol 1614 net/sched/cls_api.c ntohs(tp->protocol)); protocol 1665 net/sched/cls_api.c u32 protocol, u32 prio, protocol 1675 net/sched/cls_api.c u32 protocol, u32 prio, protocol 1691 net/sched/cls_api.c protocol, prio, false); protocol 1750 net/sched/cls_api.c u32 protocol, u32 prio, protocol 1763 net/sched/cls_api.c (tp->protocol != protocol && protocol)) protocol 1805 net/sched/cls_api.c tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); protocol 1926 net/sched/cls_api.c u32 protocol; protocol 1954 net/sched/cls_api.c protocol = TC_H_MIN(t->tcm_info); protocol 2024 net/sched/cls_api.c tp = tcf_chain_tp_find(chain, &chain_info, protocol, protocol 2042 net/sched/cls_api.c if (tca[TCA_KIND] == NULL || !protocol) { protocol 2059 net/sched/cls_api.c tp_new = tcf_proto_create(name, protocol, prio, chain, protocol 2067 net/sched/cls_api.c tp = tcf_chain_tp_insert_unique(chain, tp_new, protocol, prio, protocol 2153 net/sched/cls_api.c u32 protocol; protocol 2176 net/sched/cls_api.c protocol = TC_H_MIN(t->tcm_info); protocol 2180 net/sched/cls_api.c if (prio == 0 && (protocol || t->tcm_handle || tca[TCA_KIND])) { protocol 2247 net/sched/cls_api.c tp = tcf_chain_tp_find(chain, &chain_info, protocol, protocol 2313 net/sched/cls_api.c u32 protocol; protocol 2333 net/sched/cls_api.c protocol = TC_H_MIN(t->tcm_info); protocol 2388 net/sched/cls_api.c tp = tcf_chain_tp_find(chain, &chain_info, protocol, protocol 2470 net/sched/cls_api.c TC_H_MIN(tcm->tcm_info) != tp->protocol) protocol 313 net/sched/cls_flower.c skb_key.basic.n_proto = skb->protocol; protocol 77 net/sched/cls_rsvp.h u8 protocol; protocol 99 net/sched/cls_rsvp.h static inline unsigned int hash_dst(__be32 *dst, u8 protocol, u8 tunnelid) protocol 105 net/sched/cls_rsvp.h return (h ^ protocol ^ tunnelid) & 0xFF; protocol 135 net/sched/cls_rsvp.h u8 protocol; protocol 156 net/sched/cls_rsvp.h protocol = nhptr->nexthdr; protocol 161 net/sched/cls_rsvp.h protocol = nhptr->protocol; protocol 167 net/sched/cls_rsvp.h h1 = hash_dst(dst, protocol, tunnelid); protocol 173 net/sched/cls_rsvp.h protocol == s->protocol && protocol 567 net/sched/cls_rsvp.h h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); protocol 588 net/sched/cls_rsvp.h pinfo && pinfo->protocol == s->protocol && protocol 634 net/sched/cls_rsvp.h s->protocol = pinfo->protocol; protocol 712 net/sched/cls_rsvp.h pinfo.protocol = s->protocol; protocol 851 net/sched/sch_cake.c if (iph->version == 4 && iph->protocol == IPPROTO_IPV6) protocol 887 net/sched/sch_cake.c if (iph->protocol == IPPROTO_IPV6) { protocol 896 net/sched/sch_cake.c } else if (iph->protocol != IPPROTO_TCP) { protocol 160 net/sched/sch_choke.c if (skb1->protocol != skb2->protocol) protocol 311 net/sched/sch_taprio.c if (iph->protocol == IPPROTO_IPV6) { protocol 317 net/sched/sch_taprio.c } else if (iph->protocol != IPPROTO_TCP) { protocol 1042 net/sctp/ipv6.c .protocol = IPPROTO_SCTP, protocol 1049 net/sctp/ipv6.c .protocol = IPPROTO_SCTP, protocol 1047 net/sctp/protocol.c .protocol = IPPROTO_SCTP, protocol 1054 net/sctp/protocol.c .protocol = IPPROTO_SCTP, protocol 215 net/smc/af_smc.c int protocol) protocol 221 net/smc/af_smc.c prot = (protocol == SMCPROTO_SMC6) ? &smc_proto6 : &smc_proto; protocol 229 net/smc/af_smc.c sk->sk_protocol = protocol; protocol 1966 net/smc/af_smc.c static int smc_create(struct net *net, struct socket *sock, int protocol, protocol 1969 net/smc/af_smc.c int family = (protocol == SMCPROTO_SMC6) ? PF_INET6 : PF_INET; protocol 1979 net/smc/af_smc.c if (protocol != SMCPROTO_SMC && protocol != SMCPROTO_SMC6) protocol 1984 net/smc/af_smc.c sk = smc_sock_alloc(net, sock, protocol); protocol 1208 net/socket.c int sock_create_lite(int family, int type, int protocol, struct socket **res) protocol 1213 net/socket.c err = security_socket_create(family, type, protocol, 1); protocol 1224 net/socket.c err = security_socket_post_create(sock, family, type, protocol, 1); protocol 1347 net/socket.c int __sock_create(struct net *net, int family, int type, int protocol, protocol 1373 net/socket.c err = security_socket_create(family, type, protocol, kern); protocol 1418 net/socket.c err = pf->create(net, sock, protocol, kern); protocol 1434 net/socket.c err = security_socket_post_create(sock, family, type, protocol, kern); protocol 1467 net/socket.c int sock_create(int family, int type, int protocol, struct socket **res) protocol 1469 net/socket.c return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); protocol 1485 net/socket.c int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res) protocol 1487 net/socket.c return __sock_create(net, family, type, protocol, res, 1); protocol 1491 net/socket.c int __sys_socket(int family, int type, int protocol) protocol 1511 net/socket.c retval = sock_create(family, type, protocol, &sock); protocol 1518 net/socket.c SYSCALL_DEFINE3(socket, int, family, int, type, int, protocol) protocol 1520 net/socket.c return __sys_socket(family, type, protocol); protocol 1527 net/socket.c int __sys_socketpair(int family, int type, int protocol, int __user *usockvec) protocol 1569 net/socket.c err = sock_create(family, type, protocol, &sock1); protocol 1573 net/socket.c err = sock_create(family, type, protocol, &sock2); protocol 1619 net/socket.c SYSCALL_DEFINE4(socketpair, int, family, int, type, int, protocol, protocol 1622 net/socket.c return __sys_socketpair(family, type, protocol, usockvec); protocol 87 net/sunrpc/auth_gss/gss_rpc_upcall.c .protocol = XPRT_TRANSPORT_LOCAL, protocol 463 net/sunrpc/clnt.c WARN_ON_ONCE(!(args->protocol & XPRT_TRANSPORT_BC)); protocol 523 net/sunrpc/clnt.c .ident = args->protocol, protocol 535 net/sunrpc/clnt.c WARN_ON_ONCE(!(args->protocol & XPRT_TRANSPORT_BC)); protocol 237 net/sunrpc/rpcb_clnt.c .protocol = XPRT_TRANSPORT_LOCAL, protocol 297 net/sunrpc/rpcb_clnt.c .protocol = XPRT_TRANSPORT_TCP, protocol 369 net/sunrpc/rpcb_clnt.c .protocol = proto, protocol 884 net/sunrpc/svc.c const unsigned short protocol, protocol 895 net/sunrpc/svc.c switch (protocol) { protocol 914 net/sunrpc/svc.c error = rpcb_register(net, program, version, protocol, port); protocol 932 net/sunrpc/svc.c const unsigned short protocol, protocol 943 net/sunrpc/svc.c switch (protocol) { protocol 977 net/sunrpc/svc.c const unsigned short protocol, protocol 985 net/sunrpc/svc.c protocol, port); protocol 990 net/sunrpc/svc.c protocol, port); protocol 1393 net/sunrpc/svcsock.c int protocol, protocol 1410 net/sunrpc/svcsock.c serv->sv_program->pg_name, protocol, protocol 1413 net/sunrpc/svcsock.c if (protocol != IPPROTO_UDP && protocol != IPPROTO_TCP) { protocol 1419 net/sunrpc/svcsock.c type = (protocol == IPPROTO_UDP)? SOCK_DGRAM : SOCK_STREAM; protocol 1431 net/sunrpc/svcsock.c error = __sock_create(net, family, type, protocol, &sock, 1); protocol 1458 net/sunrpc/svcsock.c if (protocol == IPPROTO_TCP) { protocol 295 net/sunrpc/xprtsock.c const char *protocol, protocol 298 net/sunrpc/xprtsock.c xprt->address_strings[RPC_DISPLAY_PROTO] = protocol; protocol 1898 net/sunrpc/xprtsock.c int protocol, bool reuseport) protocol 1904 net/sunrpc/xprtsock.c err = __sock_create(xprt->xprt_net, family, type, protocol, &sock, 1); protocol 1907 net/sunrpc/xprtsock.c protocol, -err); protocol 463 net/tipc/bearer.c skb->protocol = htons(ETH_P_TIPC); protocol 705 net/tipc/bearer.c skb->protocol = eth_type_trans(skb, dev); protocol 416 net/tipc/socket.c int protocol, int kern) protocol 424 net/tipc/socket.c if (unlikely(protocol != 0)) protocol 805 net/unix/af_unix.c static int unix_create(struct net *net, struct socket *sock, int protocol, protocol 808 net/unix/af_unix.c if (protocol && protocol != PF_UNIX) protocol 1847 net/vmw_vsock/af_vsock.c int protocol, int kern) protocol 1852 net/vmw_vsock/af_vsock.c if (protocol && protocol != PF_VSOCK) protocol 15912 net/wireless/nl80211.c u16 proto = be16_to_cpu(skb->protocol); protocol 16739 net/wireless/nl80211.c if (state != NETLINK_URELEASE || notify->protocol != NETLINK_GENERIC) protocol 1042 net/wireless/rdev-ops.h enum nl80211_crit_proto_id protocol, protocol 1047 net/wireless/rdev-ops.h trace_rdev_crit_proto_start(&rdev->wiphy, wdev, protocol, duration); protocol 1049 net/wireless/rdev-ops.h protocol, duration); protocol 2139 net/wireless/trace.h enum nl80211_crit_proto_id protocol, u16 duration), protocol 2140 net/wireless/trace.h TP_ARGS(wiphy, wdev, protocol, duration), protocol 2150 net/wireless/trace.h __entry->proto = protocol; protocol 2851 net/wireless/trace.h __entry->proto = be16_to_cpu(skb->protocol); protocol 763 net/wireless/util.c switch (skb->protocol) { protocol 2020 net/wireless/util.c skb->protocol = eth_type_trans(skb, dev); protocol 531 net/x25/af_x25.c static int x25_create(struct net *net, struct socket *sock, int protocol, protocol 546 net/x25/af_x25.c if (protocol) protocol 560 net/x25/af_x25.c sk->sk_protocol = protocol; protocol 171 net/x25/x25_dev.c skb->protocol = htons(ETH_P_X25); protocol 198 net/x25/x25_dev.c skb->protocol = htons(ETH_P_X25); protocol 225 net/x25/x25_dev.c skb->protocol = htons(ETH_P_X25); protocol 1078 net/xdp/xsk.c static int xsk_create(struct net *net, struct socket *sock, int protocol, protocol 1089 net/xdp/xsk.c if (protocol) protocol 17 net/xfrm/xfrm_inout.h iph->nexthdr = XFRM_MODE_SKB_CB(skb)->protocol; protocol 30 net/xfrm/xfrm_inout.h iph->protocol = XFRM_MODE_SKB_CB(skb)->protocol; protocol 99 net/xfrm/xfrm_input.c static int xfrm_rcv_cb(struct sk_buff *skb, unsigned int family, u8 protocol, protocol 108 net/xfrm/xfrm_input.c ret = afinfo->callback(skb, protocol, err); protocol 177 net/xfrm/xfrm_input.c if (unlikely(XFRM_MODE_SKB_CB(skb)->protocol == IPPROTO_BEETPH)) { protocol 191 net/xfrm/xfrm_input.c XFRM_MODE_SKB_CB(skb)->protocol = ph->nexthdr; protocol 229 net/xfrm/xfrm_input.c if (XFRM_MODE_SKB_CB(skb)->protocol != IPPROTO_IPIP) protocol 247 net/xfrm/xfrm_input.c eth_hdr(skb)->h_proto = skb->protocol; protocol 267 net/xfrm/xfrm_input.c if (XFRM_MODE_SKB_CB(skb)->protocol != IPPROTO_IPV6) protocol 285 net/xfrm/xfrm_input.c eth_hdr(skb)->h_proto = skb->protocol; protocol 368 net/xfrm/xfrm_input.c inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); protocol 375 net/xfrm/xfrm_input.c skb->protocol = htons(ETH_P_IP); protocol 378 net/xfrm/xfrm_input.c skb->protocol = htons(ETH_P_IPV6); protocol 671 net/xfrm/xfrm_input.c XFRM_MODE_SKB_CB(skb)->protocol = nexthdr; protocol 676 net/xfrm/xfrm_input.c inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); protocol 234 net/xfrm/xfrm_interface.c inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); protocol 299 net/xfrm/xfrm_interface.c if (skb->protocol == htons(ETH_P_IPV6)) { protocol 349 net/xfrm/xfrm_interface.c switch (skb->protocol) { protocol 404 net/xfrm/xfrm_interface.c int protocol = iph->protocol; protocol 412 net/xfrm/xfrm_interface.c switch (protocol) { protocol 440 net/xfrm/xfrm_interface.c spi, protocol, AF_INET); protocol 451 net/xfrm/xfrm_interface.c ipv4_update_pmtu(skb, net, info, 0, protocol); protocol 453 net/xfrm/xfrm_interface.c ipv4_redirect(skb, net, 0, protocol); protocol 464 net/xfrm/xfrm_interface.c int protocol = iph->nexthdr; protocol 472 net/xfrm/xfrm_interface.c switch (protocol) { protocol 494 net/xfrm/xfrm_interface.c spi, protocol, AF_INET6); protocol 67 net/xfrm/xfrm_output.c offsetof(struct iphdr, protocol); protocol 158 net/xfrm/xfrm_output.c offsetof(struct iphdr, protocol); protocol 173 net/xfrm/xfrm_output.c ph->nexthdr = top_iph->protocol; protocol 177 net/xfrm/xfrm_output.c top_iph->protocol = IPPROTO_BEETPH; protocol 202 net/xfrm/xfrm_output.c offsetof(struct iphdr, protocol); protocol 209 net/xfrm/xfrm_output.c top_iph->protocol = xfrm_af2proto(skb_dst(skb)->ops->family); protocol 331 net/xfrm/xfrm_output.c skb->protocol = htons(ETH_P_IP); protocol 354 net/xfrm/xfrm_output.c skb->protocol = htons(ETH_P_IPV6); protocol 646 net/xfrm/xfrm_output.c if (skb->protocol == htons(ETH_P_IP)) protocol 648 net/xfrm/xfrm_output.c else if (skb->protocol == htons(ETH_P_IPV6) && protocol 3278 net/xfrm/xfrm_policy.c fl4->flowi4_proto = iph->protocol; protocol 3284 net/xfrm/xfrm_policy.c switch (iph->protocol) { protocol 96 samples/bpf/hbm_kern.h if (sk->protocol == IPPROTO_TCP) { protocol 129 samples/bpf/hbm_kern.h pkti->is_tcp = (iph.protocol == 6); protocol 33 samples/bpf/parse_ldabs.c if (load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)) != IPPROTO_UDP || protocol 41 samples/bpf/parse_simple.c if (iph->protocol != IPPROTO_UDP || iph->ihl != 5) protocol 64 samples/bpf/parse_varlen.c if (iph->protocol == IPPROTO_IPIP) { protocol 71 samples/bpf/parse_varlen.c if (iph->protocol == IPPROTO_TCP) protocol 73 samples/bpf/parse_varlen.c else if (iph->protocol == IPPROTO_UDP) protocol 96 samples/bpf/parse_varlen.c nexthdr = iph->protocol; protocol 49 samples/bpf/sock_example.c BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol) /* R0 = ip->proto */), protocol 17 samples/bpf/sock_flags_kern.c bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); protocol 25 samples/bpf/sock_flags_kern.c sk->protocol == IPPROTO_ICMPV6) protocol 36 samples/bpf/sock_flags_kern.c bpf_trace_printk(fmt, sizeof(fmt), sk->family, sk->type, sk->protocol); protocol 43 samples/bpf/sock_flags_kern.c sk->protocol == IPPROTO_ICMP) protocol 17 samples/bpf/sockex1_kern.c int index = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); protocol 69 samples/bpf/sockex2_kern.c *ip_proto = load_byte(skb, nhoff + offsetof(struct iphdr, protocol)); protocol 202 samples/bpf/sockex3_kern.c ip_proto = load_byte(skb, nhoff + offsetof(struct iphdr, protocol)); protocol 83 samples/bpf/tc_l2_redirect_kern.c if (iph->protocol != IPPROTO_IPIP) protocol 57 samples/bpf/tcbpf1_kern.c __u8 proto = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); protocol 48 samples/bpf/test_lwt_bpf.c skb->protocol); protocol 87 samples/bpf/test_lwt_bpf.c #define IP_PROTO_OFF offsetof(struct iphdr, protocol) protocol 30 samples/bpf/xdp1_kern.c return iph->protocol; protocol 46 samples/bpf/xdp2_kern.c return iph->protocol; protocol 104 samples/bpf/xdp_adjust_tail_kern.c iph->protocol = IPPROTO_ICMP; protocol 73 samples/bpf/xdp_fwd_kern.c fib_params.l4_protocol = iph->protocol; protocol 165 samples/bpf/xdp_redirect_cpu_kern.c if (!(iph->protocol == IPPROTO_UDP)) protocol 185 samples/bpf/xdp_redirect_cpu_kern.c return iph->protocol; protocol 480 samples/bpf/xdp_redirect_cpu_kern.c cpu_hash = SuperFastHash((char *)&cpu_hash, 4, INITVAL + iph->protocol); protocol 105 samples/bpf/xdp_router_ipv4_kern.c return iph->protocol; protocol 18 samples/bpf/xdp_tx_iptunnel_common.h __u8 protocol; protocol 36 samples/bpf/xdp_tx_iptunnel_kern.c static __always_inline void count_tx(u32 protocol) protocol 40 samples/bpf/xdp_tx_iptunnel_kern.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); protocol 46 samples/bpf/xdp_tx_iptunnel_kern.c u8 protocol) protocol 51 samples/bpf/xdp_tx_iptunnel_kern.c switch (protocol) { protocol 95 samples/bpf/xdp_tx_iptunnel_kern.c dport = get_dport(iph + 1, data_end, iph->protocol); protocol 99 samples/bpf/xdp_tx_iptunnel_kern.c vip.protocol = iph->protocol; protocol 132 samples/bpf/xdp_tx_iptunnel_kern.c iph->protocol = IPPROTO_IPIP; protocol 147 samples/bpf/xdp_tx_iptunnel_kern.c count_tx(vip.protocol); protocol 171 samples/bpf/xdp_tx_iptunnel_kern.c vip.protocol = ip6h->nexthdr; protocol 210 samples/bpf/xdp_tx_iptunnel_kern.c count_tx(vip.protocol); protocol 173 samples/bpf/xdp_tx_iptunnel_user.c vip.protocol = IPPROTO_TCP; protocol 199 samples/bpf/xdp_tx_iptunnel_user.c vip.protocol = atoi(optarg); protocol 134 security/apparmor/include/audit.h int type, protocol; protocol 65 security/apparmor/include/net.h aad(&NAME)->net.protocol = (P) protocol 95 security/apparmor/include/net.h int type, int protocol); protocol 801 security/apparmor/lsm.c static int apparmor_socket_create(int family, int type, int protocol, int kern) protocol 811 security/apparmor/lsm.c create_perm(label, family, type, protocol), protocol 813 security/apparmor/lsm.c family, type, protocol)); protocol 830 security/apparmor/lsm.c int type, int protocol, int kern) protocol 85 security/apparmor/net.c audit_log_format(ab, " protocol=%d", aad(sa)->net.protocol); protocol 133 security/apparmor/net.c int type, int protocol) protocol 136 security/apparmor/net.c DEFINE_AUDIT_NET(sa, op, NULL, family, type, protocol); protocol 53 security/lsm_audit.c *proto = ih->protocol; protocol 58 security/lsm_audit.c switch (ih->protocol) { protocol 1973 security/security.c int security_socket_create(int family, int type, int protocol, int kern) protocol 1975 security/security.c return call_int_hook(socket_create, 0, family, type, protocol, kern); protocol 1979 security/security.c int type, int protocol, int kern) protocol 1982 security/security.c protocol, kern); protocol 1169 security/selinux/hooks.c static inline int default_protocol_stream(int protocol) protocol 1171 security/selinux/hooks.c return (protocol == IPPROTO_IP || protocol == IPPROTO_TCP); protocol 1174 security/selinux/hooks.c static inline int default_protocol_dgram(int protocol) protocol 1176 security/selinux/hooks.c return (protocol == IPPROTO_IP || protocol == IPPROTO_UDP); protocol 1179 security/selinux/hooks.c static inline u16 socket_type_to_security_class(int family, int type, int protocol) protocol 1199 security/selinux/hooks.c if (default_protocol_stream(protocol)) protocol 1201 security/selinux/hooks.c else if (extsockclass && protocol == IPPROTO_SCTP) protocol 1206 security/selinux/hooks.c if (default_protocol_dgram(protocol)) protocol 1208 security/selinux/hooks.c else if (extsockclass && (protocol == IPPROTO_ICMP || protocol 1209 security/selinux/hooks.c protocol == IPPROTO_ICMPV6)) protocol 1220 security/selinux/hooks.c switch (protocol) { protocol 4195 security/selinux/hooks.c *proto = ih->protocol; protocol 4197 security/selinux/hooks.c switch (ih->protocol) { protocol 4499 security/selinux/hooks.c int protocol, int kern) protocol 4509 security/selinux/hooks.c secclass = socket_type_to_security_class(family, type, protocol); protocol 4519 security/selinux/hooks.c int type, int protocol, int kern) protocol 4524 security/selinux/hooks.c u16 sclass = socket_type_to_security_class(family, type, protocol); protocol 5008 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) protocol 5105 security/selinux/hooks.c if (skb && skb->protocol == htons(ETH_P_IP)) protocol 5107 security/selinux/hooks.c else if (skb && skb->protocol == htons(ETH_P_IPV6)) protocol 5405 security/selinux/hooks.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) protocol 21 security/selinux/include/netport.h int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid); protocol 102 security/selinux/include/objsec.h u8 protocol; /* transport protocol */ protocol 282 security/selinux/include/security.h u8 protocol, u16 port, u32 *out_sid); protocol 84 security/selinux/netport.c static struct sel_netport *sel_netport_find(u8 protocol, u16 pnum) protocol 91 security/selinux/netport.c if (port->psec.port == pnum && port->psec.protocol == protocol) protocol 138 security/selinux/netport.c static int sel_netport_sid_slow(u8 protocol, u16 pnum, u32 *sid) protocol 145 security/selinux/netport.c port = sel_netport_find(protocol, pnum); protocol 152 security/selinux/netport.c ret = security_port_sid(&selinux_state, protocol, pnum, sid); protocol 158 security/selinux/netport.c new->psec.protocol = protocol; protocol 184 security/selinux/netport.c int sel_netport_sid(u8 protocol, u16 pnum, u32 *sid) protocol 189 security/selinux/netport.c port = sel_netport_find(protocol, pnum); protocol 197 security/selinux/netport.c return sel_netport_sid_slow(protocol, pnum, sid); protocol 2129 security/selinux/ss/policydb.c c->u.port.protocol = le32_to_cpu(buf[0]); protocol 3121 security/selinux/ss/policydb.c buf[0] = cpu_to_le32(c->u.port.protocol); protocol 174 security/selinux/ss/policydb.h u8 protocol; protocol 2260 security/selinux/ss/services.c u8 protocol, u16 port, u32 *out_sid) protocol 2274 security/selinux/ss/services.c if (c->u.port.protocol == protocol && protocol 2746 security/smack/smack_lsm.c int type, int protocol, int kern) protocol 3848 security/smack/smack_lsm.c if (family == PF_INET6 && skb->protocol == htons(ETH_P_IP)) protocol 3995 security/smack/smack_lsm.c if (skb->protocol == htons(ETH_P_IP)) protocol 3998 security/smack/smack_lsm.c else if (skb->protocol == htons(ETH_P_IPV6)) protocol 4096 security/smack/smack_lsm.c if (skb->protocol == htons(ETH_P_IP)) protocol 1512 security/tomoyo/common.c [ptr->protocol]); protocol 1545 security/tomoyo/common.c [ptr->protocol]); protocol 471 security/tomoyo/common.h u8 protocol; protocol 479 security/tomoyo/common.h u8 protocol; protocol 765 security/tomoyo/common.h u8 protocol; protocol 774 security/tomoyo/common.h u8 protocol; protocol 26 security/tomoyo/network.c u8 protocol; protocol 198 security/tomoyo/network.c return p1->protocol == p2->protocol && protocol 217 security/tomoyo/network.c return p1->protocol == p2->protocol && protocol 287 security/tomoyo/network.c const char *protocol = tomoyo_read_token(param); protocol 290 security/tomoyo/network.c for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) protocol 291 security/tomoyo/network.c if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) protocol 296 security/tomoyo/network.c if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) protocol 332 security/tomoyo/network.c const char *protocol = tomoyo_read_token(param); protocol 335 security/tomoyo/network.c for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) protocol 336 security/tomoyo/network.c if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) protocol 341 security/tomoyo/network.c if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) protocol 364 security/tomoyo/network.c const char *family, const u8 protocol, protocol 368 security/tomoyo/network.c tomoyo_proto_keyword[protocol], protocol 393 security/tomoyo/network.c return tomoyo_audit_net_log(r, "inet", r->param.inet_network.protocol, protocol 406 security/tomoyo/network.c return tomoyo_audit_net_log(r, "unix", r->param.unix_network.protocol, protocol 472 security/tomoyo/network.c const u8 type = tomoyo_inet2mac[address->protocol][address->operation]; protocol 477 security/tomoyo/network.c r.param.inet_network.protocol = address->protocol; protocol 530 security/tomoyo/network.c if (address->protocol == SOCK_RAW) protocol 549 security/tomoyo/network.c const u8 type = tomoyo_unix2mac[address->protocol][address->operation]; protocol 569 security/tomoyo/network.c r.param.unix_network.protocol = address->protocol; protocol 668 security/tomoyo/network.c address.protocol = type; protocol 695 security/tomoyo/network.c address.protocol = type; protocol 737 security/tomoyo/network.c address.protocol = type; protocol 768 security/tomoyo/network.c address.protocol = type; protocol 60 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 127 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 143 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 153 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 184 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 213 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 256 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 275 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 291 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 299 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 327 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 353 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 383 sound/firewire/amdtp-am824.c struct amdtp_am824 *p = s->protocol; protocol 89 sound/firewire/amdtp-stream.c s->protocol = kzalloc(protocol_size, GFP_KERNEL); protocol 90 sound/firewire/amdtp-stream.c if (!s->protocol) protocol 121 sound/firewire/amdtp-stream.c if (s->protocol == NULL) protocol 125 sound/firewire/amdtp-stream.c kfree(s->protocol); protocol 171 sound/firewire/amdtp-stream.h void *protocol; protocol 116 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 149 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 181 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 211 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 226 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 243 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 251 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 295 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 338 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 416 sound/firewire/digi00x/amdtp-dot.c struct amdtp_dot *p = s->protocol; protocol 18 sound/firewire/fireface/amdtp-ff.c struct amdtp_ff *p = s->protocol; protocol 34 sound/firewire/fireface/amdtp-ff.c struct amdtp_ff *p = s->protocol; protocol 64 sound/firewire/fireface/amdtp-ff.c struct amdtp_ff *p = s->protocol; protocol 93 sound/firewire/fireface/amdtp-ff.c struct amdtp_ff *p = s->protocol; protocol 154 sound/firewire/fireface/ff-pcm.c err = ff->spec->protocol->get_clock(ff, &rate, &src); protocol 32 sound/firewire/fireface/ff-proc.c ff->spec->protocol->dump_status(ff, buffer); protocol 35 sound/firewire/fireface/ff-stream.c ff->spec->protocol->finish_session(ff); protocol 36 sound/firewire/fireface/ff-stream.c ff->spec->protocol->switch_fetching_mode(ff, false); protocol 115 sound/firewire/fireface/ff-stream.c err = ff->spec->protocol->get_clock(ff, &curr_rate, &src); protocol 150 sound/firewire/fireface/ff-stream.c err = ff->spec->protocol->allocate_resources(ff, rate); protocol 178 sound/firewire/fireface/ff-stream.c err = ff->spec->protocol->begin_session(ff, rate); protocol 204 sound/firewire/fireface/ff-stream.c err = ff->spec->protocol->switch_fetching_mode(ff, true); protocol 77 sound/firewire/fireface/ff-transaction.c quad_count = ff->spec->protocol->fill_midi_msg(ff, substream, port); protocol 139 sound/firewire/fireface/ff-transaction.c ff->spec->protocol->handle_midi_msg(ff, (unsigned int)offset, buf, protocol 153 sound/firewire/fireface/ff.c .protocol = &snd_ff_protocol_ff800, protocol 165 sound/firewire/fireface/ff.c .protocol = &snd_ff_protocol_ff400, protocol 177 sound/firewire/fireface/ff.c .protocol = &snd_ff_protocol_latter, protocol 54 sound/firewire/fireface/ff.h const struct snd_ff_protocol *protocol; protocol 61 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 124 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 160 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 196 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 232 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 241 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 267 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 334 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 387 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 408 sound/firewire/motu/amdtp-motu.c struct amdtp_motu *p = s->protocol; protocol 443 sound/firewire/motu/amdtp-motu.c const struct snd_motu_protocol *const protocol) protocol 457 sound/firewire/motu/amdtp-motu.c if (protocol == &snd_motu_protocol_v3) { protocol 464 sound/firewire/motu/amdtp-motu.c if (protocol == &snd_motu_protocol_v2) { protocol 136 sound/firewire/motu/motu-pcm.c const struct snd_motu_protocol *const protocol = motu->spec->protocol; protocol 159 sound/firewire/motu/motu-pcm.c err = protocol->get_clock_source(motu, &src); protocol 165 sound/firewire/motu/motu-pcm.c err = protocol->get_clock_rate(motu, &rate); protocol 29 sound/firewire/motu/motu-proc.c const struct snd_motu_protocol *const protocol = motu->spec->protocol; protocol 33 sound/firewire/motu/motu-proc.c if (protocol->get_clock_rate(motu, &rate) < 0) protocol 35 sound/firewire/motu/motu-proc.c if (protocol->get_clock_source(motu, &source) < 0) protocol 46 sound/firewire/motu/motu-proc.c const struct snd_motu_protocol *const protocol = motu->spec->protocol; protocol 51 sound/firewire/motu/motu-proc.c if (protocol->cache_packet_formats(motu) < 0) protocol 91 sound/firewire/motu/motu-stream.c err = motu->spec->protocol->switch_fetching_mode(motu, false); protocol 113 sound/firewire/motu/motu-stream.c err = motu->spec->protocol->cache_packet_formats(motu); protocol 141 sound/firewire/motu/motu-stream.c err = motu->spec->protocol->get_clock_rate(motu, &curr_rate); protocol 154 sound/firewire/motu/motu-stream.c err = motu->spec->protocol->set_clock_rate(motu, rate); protocol 265 sound/firewire/motu/motu-stream.c err = motu->spec->protocol->switch_fetching_mode(motu, true); protocol 310 sound/firewire/motu/motu-stream.c err = amdtp_motu_init(s, motu->unit, dir, motu->spec->protocol); protocol 177 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v2, protocol 192 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v2, protocol 207 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v2, protocol 221 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v3, protocol 239 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v3, protocol 252 sound/firewire/motu/motu.c .protocol = &snd_motu_protocol_v3, protocol 126 sound/firewire/motu/motu.h const struct snd_motu_protocol *const protocol; protocol 137 sound/firewire/motu/motu.h const struct snd_motu_protocol *const protocol); protocol 20 sound/firewire/tascam/amdtp-tascam.c struct amdtp_tscm *p = s->protocol; protocol 39 sound/firewire/tascam/amdtp-tascam.c struct amdtp_tscm *p = s->protocol; protocol 69 sound/firewire/tascam/amdtp-tascam.c struct amdtp_tscm *p = s->protocol; protocol 101 sound/firewire/tascam/amdtp-tascam.c struct amdtp_tscm *p = s->protocol; protocol 257 sound/firewire/tascam/amdtp-tascam.c p = s->protocol; protocol 563 sound/isa/cs423x/cs4236.c list_for_each_entry(cdev, &(pdev->protocol->devices), protocol_list) { protocol 336 sound/soc/ux500/ux500_msp_dai.c msp_config->protocol = MSP_I2S_PROTOCOL; protocol 343 sound/soc/ux500/ux500_msp_dai.c msp_config->protocol = MSP_I2S_PROTOCOL; protocol 358 sound/soc/ux500/ux500_msp_dai.c msp_config->protocol = MSP_PCM_PROTOCOL; protocol 182 sound/soc/ux500/ux500_msp_i2s.c if (config->protocol >= MSP_INVALID_PROTOCOL) { protocol 188 sound/soc/ux500/ux500_msp_i2s.c (struct msp_protdesc *)&prot_descs[config->protocol]; protocol 230 sound/soc/ux500/ux500_msp_i2s.c (struct msp_protdesc *)&prot_descs[config->protocol]; protocol 234 sound/soc/ux500/ux500_msp_i2s.c switch (config->protocol) { protocol 251 sound/soc/ux500/ux500_msp_i2s.c config->protocol); protocol 279 sound/soc/ux500/ux500_msp_i2s.c if (config->protocol >= MSP_INVALID_PROTOCOL) { protocol 282 sound/soc/ux500/ux500_msp_i2s.c __func__, config->protocol); protocol 286 sound/soc/ux500/ux500_msp_i2s.c &prot_descs[config->protocol]; protocol 461 sound/soc/ux500/ux500_msp_i2s.h unsigned int protocol; protocol 215 sound/usb/card.c int i, protocol; protocol 220 sound/usb/card.c protocol = altsd->bInterfaceProtocol; protocol 222 sound/usb/card.c switch (protocol) { protocol 226 sound/usb/card.c protocol); protocol 301 sound/usb/card.c if (protocol == UAC_VERSION_3) { protocol 26 sound/usb/card.h unsigned char protocol; /* UAC_VERSION_1/2/3 */ protocol 164 sound/usb/clock.c if (fmt->protocol == UAC_VERSION_2) { protocol 189 sound/usb/clock.c if (fmt->protocol == UAC_VERSION_3) { protocol 435 sound/usb/clock.c switch (fmt->protocol) { protocol 558 sound/usb/clock.c if (fmt->protocol == UAC_VERSION_3) { protocol 624 sound/usb/clock.c switch (fmt->protocol) { protocol 39 sound/usb/format.c switch (fp->protocol) { protocol 479 sound/usb/format.c switch (fp->protocol) { protocol 524 sound/usb/format.c switch (fp->protocol) { protocol 579 sound/usb/format.c switch (fp->protocol) { protocol 35 sound/usb/helper.h bool snd_usb_validate_audio_desc(void *p, int protocol); protocol 401 sound/usb/mixer.c return (cval->head.mixer->protocol == UAC_VERSION_1) ? protocol 457 sound/usb/mixer.c if (cval->head.mixer->protocol == UAC_VERSION_1) { protocol 743 sound/usb/mixer.c switch (state->mixer->protocol) { protocol 837 sound/usb/mixer.c int protocol = state->mixer->protocol; protocol 846 sound/usb/mixer.c if (protocol != UAC_VERSION_3) { protocol 847 sound/usb/mixer.c term->chconfig = uac_mixer_unit_wChannelConfig(d, protocol); protocol 866 sound/usb/mixer.c if (state->mixer->protocol != UAC_VERSION_3) protocol 876 sound/usb/mixer.c int protocol = state->mixer->protocol; protocol 889 sound/usb/mixer.c if (protocol == UAC_VERSION_3) protocol 894 sound/usb/mixer.c term->chconfig = uac_processing_unit_wChannelConfig(d, protocol); protocol 896 sound/usb/mixer.c term->name = uac_processing_unit_iProcessing(d, protocol); protocol 942 sound/usb/mixer.c int protocol = state->mixer->protocol; protocol 954 sound/usb/mixer.c if (!snd_usb_validate_audio_desc(p1, protocol)) protocol 960 sound/usb/mixer.c switch (PTYPE(protocol, hdr[2])) { protocol 1434 sound/usb/mixer.c if (cval->head.mixer->protocol == UAC_VERSION_2) { protocol 1592 sound/usb/mixer.c if (mixer->protocol == UAC_VERSION_1) protocol 1786 sound/usb/mixer.c if (mixer->protocol == UAC_VERSION_2) protocol 1820 sound/usb/mixer.c if (state->mixer->protocol != UAC_VERSION_2) protocol 1880 sound/usb/mixer.c if (state->mixer->protocol == UAC_VERSION_1) { protocol 1884 sound/usb/mixer.c } else if (state->mixer->protocol == UAC_VERSION_2) { protocol 1925 sound/usb/mixer.c if (state->mixer->protocol == UAC_VERSION_1) { protocol 2003 sound/usb/mixer.c int protocol, int num_ins, int num_outs) protocol 2006 sound/usb/mixer.c u8 *c = uac_mixer_unit_bmControls(desc, protocol); protocol 2009 sound/usb/mixer.c switch (protocol) { protocol 2054 sound/usb/mixer.c __u8 *c = uac_mixer_unit_bmControls(desc, state->mixer->protocol); protocol 2092 sound/usb/mixer.c if (state->mixer->protocol == UAC_VERSION_2) { protocol 2097 sound/usb/mixer.c } else if (state->mixer->protocol == UAC_VERSION_3) { protocol 2151 sound/usb/mixer.c if (mixer_bitmap_overflow(desc, state->mixer->protocol, protocol 2159 sound/usb/mixer.c state->mixer->protocol); protocol 2376 sound/usb/mixer.c __u8 *controls = uac_processing_unit_bmControls(desc, state->mixer->protocol); protocol 2378 sound/usb/mixer.c if (state->mixer->protocol == UAC_VERSION_1) { protocol 2399 sound/usb/mixer.c if (state->mixer->protocol > UAC_VERSION_1 && protocol 2409 sound/usb/mixer.c switch (state->mixer->protocol) { protocol 2424 sound/usb/mixer.c state->mixer->protocol); protocol 2463 sound/usb/mixer.c nameid = uac_extension_unit_iExtension(desc, state->mixer->protocol); protocol 2465 sound/usb/mixer.c nameid = uac_processing_unit_iProcessing(desc, state->mixer->protocol); protocol 2493 sound/usb/mixer.c switch (state->mixer->protocol) { protocol 2640 sound/usb/mixer.c switch (state->mixer->protocol) { protocol 2691 sound/usb/mixer.c switch (state->mixer->protocol) { protocol 2745 sound/usb/mixer.c int protocol = state->mixer->protocol; protocol 2756 sound/usb/mixer.c if (!snd_usb_validate_audio_desc(p1, protocol)) { protocol 2761 sound/usb/mixer.c switch (PTYPE(protocol, p1[2])) { protocol 3117 sound/usb/mixer.c if (!snd_usb_validate_audio_desc(p, mixer->protocol)) protocol 3120 sound/usb/mixer.c if (mixer->protocol == UAC_VERSION_1) { protocol 3131 sound/usb/mixer.c } else if (mixer->protocol == UAC_VERSION_2) { protocol 3340 sound/usb/mixer.c if (mixer->protocol == UAC_VERSION_1) { protocol 3488 sound/usb/mixer.c mixer->protocol = UAC_VERSION_1; protocol 3491 sound/usb/mixer.c mixer->protocol = UAC_VERSION_2; protocol 3494 sound/usb/mixer.c mixer->protocol = UAC_VERSION_3; protocol 3498 sound/usb/mixer.c if (mixer->protocol == UAC_VERSION_3 && protocol 26 sound/usb/mixer.h int protocol; protocol 904 sound/usb/mixer_scarlett.c if (!mixer->protocol) protocol 2007 sound/usb/mixer_scarlett_gen2.c if (!mixer->protocol) protocol 201 sound/usb/pcm.c switch (fmt->protocol) { protocol 2805 sound/usb/quirks-table.h .protocol = UAC_VERSION_2, protocol 2836 sound/usb/quirks-table.h .protocol = UAC_VERSION_2, protocol 173 sound/usb/quirks.c fp->protocol = altsd->bInterfaceProtocol; protocol 240 sound/usb/stream.c int protocol) protocol 298 sound/usb/stream.c maps = protocol == UAC_VERSION_2 ? uac2_maps : uac1_maps; protocol 571 sound/usb/stream.c int protocol, int iface_no) protocol 597 sound/usb/stream.c if (protocol == UAC_VERSION_1) { protocol 599 sound/usb/stream.c } else if (protocol == UAC_VERSION_2) { protocol 635 sound/usb/stream.c int terminal_id, int protocol) protocol 642 sound/usb/stream.c if (!snd_usb_validate_audio_desc(term, protocol)) protocol 653 sound/usb/stream.c int terminal_id, int protocol) protocol 661 sound/usb/stream.c if (!snd_usb_validate_audio_desc(term, protocol)) protocol 673 sound/usb/stream.c int protocol, int iface_no, int altset_idx, protocol 688 sound/usb/stream.c fp->protocol = protocol; protocol 703 sound/usb/stream.c int protocol, int iface_no, int altset_idx, protocol 714 sound/usb/stream.c if (protocol == UAC_VERSION_1) { protocol 738 sound/usb/stream.c protocol); protocol 774 sound/usb/stream.c protocol); protocol 784 sound/usb/stream.c protocol); protocol 806 sound/usb/stream.c if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) protocol 807 sound/usb/stream.c || ((protocol == UAC_VERSION_2) && protocol 826 sound/usb/stream.c fp = audio_format_alloc_init(chip, alts, protocol, iface_no, protocol 831 sound/usb/stream.c fp->attributes = parse_uac_endpoint_attributes(chip, alts, protocol, protocol 848 sound/usb/stream.c fp->chmap = convert_chmap(fp->channels, chconfig, protocol); protocol 1092 sound/usb/stream.c int num, protocol; protocol 1111 sound/usb/stream.c protocol = altsd->bInterfaceProtocol; protocol 1138 sound/usb/stream.c protocol <= 2) protocol 1139 sound/usb/stream.c protocol = UAC_VERSION_1; protocol 1141 sound/usb/stream.c switch (protocol) { protocol 1144 sound/usb/stream.c iface_no, altno, protocol); protocol 1145 sound/usb/stream.c protocol = UAC_VERSION_1; protocol 1163 sound/usb/stream.c protocol == UAC_VERSION_1 && protocol 1168 sound/usb/stream.c fp = snd_usb_get_audioformat_uac12(chip, alts, protocol, protocol 1195 sound/usb/stream.c if (protocol == UAC_VERSION_3) protocol 16 sound/usb/validate.c unsigned char protocol; protocol 48 sound/usb/validate.c switch (v->protocol) { protocol 81 sound/usb/validate.c switch (v->protocol) { protocol 108 sound/usb/validate.c switch (v->protocol) { protocol 176 sound/usb/validate.c switch (v->protocol) { protocol 233 sound/usb/validate.c #define FIXED(p, t, s) { .protocol = (p), .type = (t), .size = sizeof(s) } protocol 234 sound/usb/validate.c #define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) } protocol 303 sound/usb/validate.c static bool validate_desc(unsigned char *hdr, int protocol, protocol 311 sound/usb/validate.c (v->protocol == UAC_VERSION_ALL || protocol 312 sound/usb/validate.c v->protocol == protocol)) { protocol 323 sound/usb/validate.c bool snd_usb_validate_audio_desc(void *p, int protocol) protocol 325 sound/usb/validate.c return validate_desc(p, protocol, audio_validators); protocol 89 tools/accounting/getdelays.c static int create_nl_socket(int protocol) protocol 94 tools/accounting/getdelays.c fd = socket(AF_NETLINK, SOCK_RAW, protocol); protocol 2977 tools/include/uapi/linux/bpf.h __u32 protocol; protocol 3064 tools/include/uapi/linux/bpf.h __u32 protocol; protocol 3297 tools/include/uapi/linux/bpf.h __u32 protocol; /* Allows 4-byte read, but no write */ protocol 232 tools/include/uapi/linux/pkt_cls.h __u8 protocol; protocol 12 tools/perf/trace/beauty/socket.c static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) protocol 17 tools/perf/trace/beauty/socket.c return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); protocol 249 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c switch (t_params->protocol) { protocol 253 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? protocol 590 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c switch (t_params->protocol) { protocol 594 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? protocol 41 tools/perf/util/cs-etm-decoder/cs-etm-decoder.h int protocol; protocol 385 tools/perf/util/cs-etm.c t_params[idx].protocol = cs_etm__get_v7_protocol_version(etmidr); protocol 395 tools/perf/util/cs-etm.c t_params[idx].protocol = CS_ETM_PROTO_ETMV4i; protocol 159 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_rc_keydown)(void *ctx, unsigned int protocol, protocol 109 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_TCP, protocol 151 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_TCP, protocol 195 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_TCP, protocol 221 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_TCP, protocol 335 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_IPIP, protocol 338 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph_inner.protocol = IPPROTO_TCP, protocol 363 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph.protocol = IPPROTO_IPIP, protocol 366 tools/testing/selftests/bpf/prog_tests/flow_dissector.c .iph_inner.protocol = IPPROTO_TCP, protocol 7 tools/testing/selftests/bpf/prog_tests/l4lb_all.c struct vip key = {.protocol = 6}; protocol 6 tools/testing/selftests/bpf/prog_tests/xdp.c struct vip key4 = {.protocol = 6, .family = AF_INET}; protocol 7 tools/testing/selftests/bpf/prog_tests/xdp.c struct vip key6 = {.protocol = 6, .family = AF_INET6}; protocol 32 tools/testing/selftests/bpf/prog_tests/xdp.c iph->protocol != IPPROTO_IPIP, "ipv4", protocol 8 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c struct vip key = {.protocol = 6}; protocol 280 tools/testing/selftests/bpf/progs/bpf_flow.c keys->ip_proto = iph->protocol; protocol 307 tools/testing/selftests/bpf/progs/bpf_flow.c return parse_ip_proto(skb, iph->protocol); protocol 276 tools/testing/selftests/bpf/progs/test_l4lb.c pckt->proto = iph->protocol; protocol 344 tools/testing/selftests/bpf/progs/test_l4lb.c __u8 protocol; protocol 355 tools/testing/selftests/bpf/progs/test_l4lb.c protocol = ip6h->nexthdr; protocol 356 tools/testing/selftests/bpf/progs/test_l4lb.c pckt.proto = protocol; protocol 359 tools/testing/selftests/bpf/progs/test_l4lb.c if (protocol == IPPROTO_FRAGMENT) { protocol 361 tools/testing/selftests/bpf/progs/test_l4lb.c } else if (protocol == IPPROTO_ICMPV6) { protocol 377 tools/testing/selftests/bpf/progs/test_l4lb.c protocol = iph->protocol; protocol 378 tools/testing/selftests/bpf/progs/test_l4lb.c pckt.proto = protocol; protocol 384 tools/testing/selftests/bpf/progs/test_l4lb.c if (protocol == IPPROTO_ICMP) { protocol 394 tools/testing/selftests/bpf/progs/test_l4lb.c protocol = pckt.proto; protocol 396 tools/testing/selftests/bpf/progs/test_l4lb.c if (protocol == IPPROTO_TCP) { protocol 399 tools/testing/selftests/bpf/progs/test_l4lb.c } else if (protocol == IPPROTO_UDP) { protocol 412 tools/testing/selftests/bpf/progs/test_l4lb.c vip.protocol = pckt.proto; protocol 276 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt->proto = iph->protocol; protocol 344 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c __u8 protocol; protocol 355 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c protocol = ip6h->nexthdr; protocol 356 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt.proto = protocol; protocol 359 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c if (protocol == IPPROTO_FRAGMENT) { protocol 361 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c } else if (protocol == IPPROTO_ICMPV6) { protocol 377 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c protocol = iph->protocol; protocol 378 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c pckt.proto = protocol; protocol 384 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c if (protocol == IPPROTO_ICMP) { protocol 394 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c protocol = pckt.proto; protocol 396 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c if (protocol == IPPROTO_TCP) { protocol 399 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c } else if (protocol == IPPROTO_UDP) { protocol 412 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c vip.protocol = pckt.proto; protocol 12 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c __be16 protocol; protocol 29 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.iph.protocol = 47; /* IPPROTO_GRE */ protocol 41 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.greh.protocol = skb->protocol; protocol 75 tools/testing/selftests/bpf/progs/test_lwt_ip_encap.c hdr.greh.protocol = skb->protocol; protocol 39 tools/testing/selftests/bpf/progs/test_pkt_access.c proto = iph->protocol; protocol 36 tools/testing/selftests/bpf/progs/test_pkt_md_access.c TEST_FIELD(__u16, protocol, 0xFFFF); protocol 37 tools/testing/selftests/bpf/progs/test_pkt_md_access.c TEST_FIELD(__u32, protocol, 0xFFFFFFFF); protocol 36 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c proto = iph->protocol; protocol 88 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c dst->protocol = src->protocol; protocol 157 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c if (!sk || sk->family != AF_INET6 || sk->protocol != IPPROTO_TCP || protocol 96 tools/testing/selftests/bpf/progs/test_tc_edt.c if (iph->protocol == IPPROTO_TCP) protocol 104 tools/testing/selftests/bpf/progs/test_tc_edt.c if (skb->protocol == bpf_htons(ETH_P_IP)) protocol 37 tools/testing/selftests/bpf/progs/test_tc_tunnel.c __be16 protocol; protocol 108 tools/testing/selftests/bpf/progs/test_tc_tunnel.c iph_inner.protocol = iph6_inner.nexthdr; protocol 122 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (iph_inner.ihl != 5 || iph_inner.protocol != IPPROTO_TCP) protocol 153 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); protocol 194 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.ip.protocol = encap_proto; protocol 261 tools/testing/selftests/bpf/progs/test_tc_tunnel.c h_outer.l4hdr.gre.protocol = bpf_htons(l2_proto); protocol 315 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 324 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 333 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 342 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 351 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 360 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 369 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IP)) protocol 378 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 387 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 396 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 405 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 414 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 423 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 432 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 441 tools/testing/selftests/bpf/progs/test_tc_tunnel.c if (skb->protocol == __bpf_constant_htons(ETH_P_IPV6)) protocol 462 tools/testing/selftests/bpf/progs/test_tc_tunnel.c switch (bpf_ntohs(greh.protocol)) { protocol 507 tools/testing/selftests/bpf/progs/test_tc_tunnel.c iph_outer.protocol); protocol 525 tools/testing/selftests/bpf/progs/test_tc_tunnel.c switch (skb->protocol) { protocol 542 tools/testing/selftests/bpf/progs/test_tunnel_kern.c if (iph->protocol == IPPROTO_ICMP) { protocol 545 tools/testing/selftests/bpf/progs/test_tunnel_kern.c if (iph->protocol != IPPROTO_TCP || iph->ihl != 5) protocol 39 tools/testing/selftests/bpf/progs/test_xdp.c static __always_inline void count_tx(__u32 protocol) protocol 43 tools/testing/selftests/bpf/progs/test_xdp.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); protocol 49 tools/testing/selftests/bpf/progs/test_xdp.c __u8 protocol) protocol 54 tools/testing/selftests/bpf/progs/test_xdp.c switch (protocol) { protocol 98 tools/testing/selftests/bpf/progs/test_xdp.c dport = get_dport(iph + 1, data_end, iph->protocol); protocol 102 tools/testing/selftests/bpf/progs/test_xdp.c vip.protocol = iph->protocol; protocol 133 tools/testing/selftests/bpf/progs/test_xdp.c iph->protocol = IPPROTO_IPIP; protocol 148 tools/testing/selftests/bpf/progs/test_xdp.c count_tx(vip.protocol); protocol 172 tools/testing/selftests/bpf/progs/test_xdp.c vip.protocol = ip6h->nexthdr; protocol 208 tools/testing/selftests/bpf/progs/test_xdp.c count_tx(vip.protocol); protocol 35 tools/testing/selftests/bpf/progs/test_xdp_loop.c static __always_inline void count_tx(__u32 protocol) protocol 39 tools/testing/selftests/bpf/progs/test_xdp_loop.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); protocol 45 tools/testing/selftests/bpf/progs/test_xdp_loop.c __u8 protocol) protocol 50 tools/testing/selftests/bpf/progs/test_xdp_loop.c switch (protocol) { protocol 94 tools/testing/selftests/bpf/progs/test_xdp_loop.c dport = get_dport(iph + 1, data_end, iph->protocol); protocol 98 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.protocol = iph->protocol; protocol 129 tools/testing/selftests/bpf/progs/test_xdp_loop.c iph->protocol = IPPROTO_IPIP; protocol 144 tools/testing/selftests/bpf/progs/test_xdp_loop.c count_tx(vip.protocol); protocol 168 tools/testing/selftests/bpf/progs/test_xdp_loop.c vip.protocol = ip6h->nexthdr; protocol 204 tools/testing/selftests/bpf/progs/test_xdp_loop.c count_tx(vip.protocol); protocol 353 tools/testing/selftests/bpf/progs/test_xdp_noinline.c iph->protocol = IPPROTO_IPIP; protocol 528 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.proto = iph->protocol; protocol 629 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u8 *protocol, __u64 off, protocol 641 tools/testing/selftests/bpf/progs/test_xdp_noinline.c *protocol = ip6h->nexthdr; protocol 642 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.proto = *protocol; protocol 645 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (*protocol == 45) { protocol 647 tools/testing/selftests/bpf/progs/test_xdp_noinline.c } else if (*protocol == 59) { protocol 660 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u8 *protocol, __u64 off, protocol 673 tools/testing/selftests/bpf/progs/test_xdp_noinline.c *protocol = iph->protocol; protocol 674 tools/testing/selftests/bpf/progs/test_xdp_noinline.c pckt->flow.proto = *protocol; protocol 679 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (*protocol == IPPROTO_ICMP) { protocol 708 tools/testing/selftests/bpf/progs/test_xdp_noinline.c __u8 protocol; protocol 713 tools/testing/selftests/bpf/progs/test_xdp_noinline.c action = process_l3_headers_v6(&pckt, &protocol, off, protocol 716 tools/testing/selftests/bpf/progs/test_xdp_noinline.c action = process_l3_headers_v4(&pckt, &protocol, off, protocol 720 tools/testing/selftests/bpf/progs/test_xdp_noinline.c protocol = pckt.flow.proto; protocol 721 tools/testing/selftests/bpf/progs/test_xdp_noinline.c if (protocol == IPPROTO_TCP) { protocol 724 tools/testing/selftests/bpf/progs/test_xdp_noinline.c } else if (protocol == IPPROTO_UDP) { protocol 75 tools/testing/selftests/bpf/progs/xdping_kern.c if (iph->protocol != IPPROTO_ICMP) protocol 41 tools/testing/selftests/bpf/test_flow_dissector.c uint16_t protocol; protocol 177 tools/testing/selftests/bpf/test_flow_dissector.c iph->protocol = proto; protocol 265 tools/testing/selftests/bpf/test_flow_dissector.c greh->protocol = htons(proto); protocol 18 tools/testing/selftests/bpf/test_iptunnel_common.h __u8 protocol; protocol 170 tools/testing/selftests/bpf/test_progs.c .iph.protocol = IPPROTO_TCP, protocol 95 tools/testing/selftests/bpf/test_sock_fields.c sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, protocol 186 tools/testing/selftests/bpf/test_sock_fields.c listen_sk.protocol != IPPROTO_TCP || protocol 200 tools/testing/selftests/bpf/test_sock_fields.c srv_sk.protocol != IPPROTO_TCP || protocol 213 tools/testing/selftests/bpf/test_sock_fields.c cli_sk.protocol != IPPROTO_TCP || protocol 19 tools/testing/selftests/bpf/verifier/cgroup_skb.c offsetof(struct __sk_buff, protocol)), protocol 17 tools/testing/selftests/bpf/verifier/ctx_skb.c offsetof(struct __sk_buff, protocol)), protocol 207 tools/testing/selftests/bpf/verifier/sock.c BPF_LDX_MEM(BPF_B, BPF_REG_0, BPF_REG_0, offsetof(struct bpf_sock, protocol)), protocol 270 tools/testing/selftests/net/msg_zerocopy.c iph->protocol = IPPROTO_EGP; protocol 323 tools/testing/selftests/net/msg_zerocopy.c static int do_setup_tx(int domain, int type, int protocol) protocol 327 tools/testing/selftests/net/msg_zerocopy.c fd = socket(domain, type, protocol); protocol 482 tools/testing/selftests/net/msg_zerocopy.c static void do_tx(int domain, int type, int protocol) protocol 495 tools/testing/selftests/net/msg_zerocopy.c fd = do_setup_tx(domain, type, protocol); protocol 524 tools/testing/selftests/net/msg_zerocopy.c if (domain == PF_PACKET || protocol == IPPROTO_RAW) { protocol 571 tools/testing/selftests/net/msg_zerocopy.c static int do_setup_rx(int domain, int type, int protocol) protocol 581 tools/testing/selftests/net/msg_zerocopy.c if (type == SOCK_RAW && protocol == IPPROTO_RAW) protocol 584 tools/testing/selftests/net/msg_zerocopy.c fd = socket(domain, type, protocol); protocol 652 tools/testing/selftests/net/msg_zerocopy.c static void do_rx(int domain, int type, int protocol) protocol 658 tools/testing/selftests/net/msg_zerocopy.c fd = do_setup_rx(domain, type, protocol); protocol 677 tools/testing/selftests/net/msg_zerocopy.c static void do_test(int domain, int type, int protocol) protocol 690 tools/testing/selftests/net/msg_zerocopy.c do_rx(domain, type, protocol); protocol 692 tools/testing/selftests/net/msg_zerocopy.c do_tx(domain, type, protocol); protocol 70 tools/testing/selftests/net/nettest.c int protocol; protocol 1117 tools/testing/selftests/net/nettest.c sd = socket(args->version, args->type, args->protocol); protocol 1289 tools/testing/selftests/net/nettest.c sd = socket(args->version, args->type, args->protocol); protocol 1627 tools/testing/selftests/net/nettest.c args.protocol = pe->p_proto; protocol 1633 tools/testing/selftests/net/nettest.c args.protocol = tmp; protocol 1726 tools/testing/selftests/net/nettest.c if (args.type == SOCK_STREAM && !args.protocol) protocol 1727 tools/testing/selftests/net/nettest.c args.protocol = IPPROTO_TCP; protocol 1728 tools/testing/selftests/net/nettest.c if (args.type == SOCK_DGRAM && !args.protocol) protocol 1729 tools/testing/selftests/net/nettest.c args.protocol = IPPROTO_UDP; protocol 126 tools/testing/selftests/net/psock_snd.c iph->protocol = IPPROTO_UDP; protocol 161 tools/testing/selftests/net/psock_tpacket.c ip->protocol = 0x11; protocol 34 tools/testing/selftests/net/reuseport_bpf.c int protocol; protocol 160 tools/testing/selftests/net/reuseport_bpf.c fd[i] = socket(p.recv_family, p.protocol, 0); protocol 175 tools/testing/selftests/net/reuseport_bpf.c if (p.protocol == SOCK_STREAM) { protocol 194 tools/testing/selftests/net/reuseport_bpf.c const int fd = socket(p.send_family, p.protocol, 0), one = 1; protocol 246 tools/testing/selftests/net/reuseport_bpf.c if (p.protocol == SOCK_STREAM) { protocol 314 tools/testing/selftests/net/reuseport_bpf.c fd1 = socket(p.recv_family, p.protocol, 0); protocol 317 tools/testing/selftests/net/reuseport_bpf.c fd2 = socket(p.recv_family, p.protocol, 0); protocol 370 tools/testing/selftests/net/reuseport_bpf.c fd = socket(p.recv_family, p.protocol, 0); protocol 469 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 476 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 483 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 490 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 496 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 500 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 507 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 514 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 521 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 528 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 534 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 538 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 545 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 552 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 559 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 566 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_DGRAM, protocol 577 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 584 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 590 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 594 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 601 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 608 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 614 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 618 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 625 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 632 tools/testing/selftests/net/reuseport_bpf.c .protocol = SOCK_STREAM, protocol 13 tools/testing/selftests/net/socket.c int protocol; protocol 48 tools/testing/selftests/net/socket.c fd = socket(s->domain, s->type, s->protocol); protocol 63 tools/testing/selftests/net/socket.c s->domain, s->type, s->protocol, protocol 76 tools/testing/selftests/net/socket.c s->domain, s->type, s->protocol, protocol 60 tools/testing/selftests/net/txring_overwrite.c iph->protocol = IPPROTO_UDP; protocol 39 tools/testing/selftests/networking/timestamping/rxtimestamp.c int protocol; protocol 281 tools/testing/selftests/networking/timestamping/rxtimestamp.c src = socket(AF_INET, s.type, s.protocol); protocol 285 tools/testing/selftests/networking/timestamping/rxtimestamp.c dst = socket(AF_INET, s.type, s.protocol); protocol 346 tools/testing/selftests/networking/timestamping/txtimestamp.c iph->protocol = IPPROTO_UDP; protocol 50 tools/usb/usbip/libsrc/names.c struct protocol *next; protocol 81 tools/usb/usbip/libsrc/names.c static struct protocol *protocols[HASHSZ] = { NULL, }; protocol 130 tools/usb/usbip/libsrc/names.c struct protocol *p; protocol 270 tools/usb/usbip/libsrc/names.c struct protocol *p; protocol 279 tools/usb/usbip/libsrc/names.c p = my_malloc(sizeof(struct protocol) + strlen(name)); protocol 296 tools/usb/usbip/libsrc/usbip_common.c uint8_t subclass, uint8_t protocol) protocol 300 tools/usb/usbip/libsrc/usbip_common.c if (class == 0 && subclass == 0 && protocol == 0) { protocol 301 tools/usb/usbip/libsrc/usbip_common.c snprintf(buff, size, "(Defined at Interface level) (%02x/%02x/%02x)", class, subclass, protocol); protocol 305 tools/usb/usbip/libsrc/usbip_common.c p = names_protocol(class, subclass, protocol); protocol 317 tools/usb/usbip/libsrc/usbip_common.c snprintf(buff, size, "%s / %s / %s (%02x/%02x/%02x)", c, s, p, class, subclass, protocol); protocol 150 tools/usb/usbip/libsrc/usbip_common.h uint8_t subclass, uint8_t protocol);