proto              18 arch/alpha/include/asm/checksum.h 			  __u32 len, __u8 proto, __wsum sum);
proto              21 arch/alpha/include/asm/checksum.h 			  __u32 len, __u8 proto, __wsum sum);
proto              71 arch/alpha/include/asm/checksum.h 			       __u32 len, __u8 proto, __wsum sum);
proto              46 arch/alpha/lib/checksum.c 			  __u32 len, __u8 proto, __wsum sum)
proto              50 arch/alpha/lib/checksum.c 		(__force u64)sum + ((len + proto) << 8));
proto              55 arch/alpha/lib/checksum.c 			  __u32 len, __u8 proto, __wsum sum)
proto              60 arch/alpha/lib/checksum.c 		 (__force u64)sum + ((len + proto) << 8);
proto              71 arch/arc/include/asm/checksum.h 		   __u8 proto, __wsum sum)
proto              86 arch/arc/include/asm/checksum.h 	  "r"(htons(proto))
proto              89 arch/arm/include/asm/checksum.h 		   __u8 proto, __wsum sum)
proto              91 arch/arm/include/asm/checksum.h 	u32 lenprot = len + proto;
proto             126 arch/arm/include/asm/checksum.h 		  __u8 proto, __wsum sum)
proto             128 arch/arm/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto             145 arch/arm/include/asm/checksum.h 		__be32 proto, __wsum sum);
proto             149 arch/arm/include/asm/checksum.h 		__u32 len, __u8 proto, __wsum sum)
proto             152 arch/arm/include/asm/checksum.h 					   htonl(proto), sum));
proto              11 arch/c6x/include/asm/checksum.h 		   __u8 proto, __wsum sum)
proto              24 arch/c6x/include/asm/checksum.h 	     : "a" (saddr), "a" (daddr), "a" (proto));
proto              27 arch/csky/include/asm/checksum.h 		unsigned short len, unsigned short proto, __wsum sum)
proto              38 arch/csky/include/asm/checksum.h 	"r"(proto + len),
proto              40 arch/csky/include/asm/checksum.h 	"r"((proto + len) << 8),
proto              29 arch/hexagon/include/asm/checksum.h 			  __u32 len, __u8 proto, __wsum sum);
proto              33 arch/hexagon/include/asm/checksum.h 			  __u32 len, __u8 proto, __wsum sum);
proto              51 arch/hexagon/lib/checksum.c 			  __u32 len, __u8 proto, __wsum sum)
proto              55 arch/hexagon/lib/checksum.c 		(__force u64)sum + ((len + proto) << 8));
proto              59 arch/hexagon/lib/checksum.c 			  __u32 len, __u8 proto, __wsum sum)
proto              64 arch/hexagon/lib/checksum.c 		 (__force u64)sum + ((len + proto) << 8);
proto              21 arch/ia64/include/asm/checksum.h 				 __u32 len, __u8 proto, __wsum sum);
proto              24 arch/ia64/include/asm/checksum.h 				 __u32 len, __u8 proto, __wsum sum);
proto              74 arch/ia64/include/asm/checksum.h 			       __u32 len, __u8 proto, __wsum csum);
proto              39 arch/ia64/lib/checksum.c 		  __u8 proto, __wsum sum)
proto              43 arch/ia64/lib/checksum.c 		(__force u64)sum + ((len + proto) << 8));
proto              50 arch/ia64/lib/checksum.c 		   __u8 proto, __wsum sum)
proto              55 arch/ia64/lib/checksum.c 		 (__force u64)sum + ((len + proto) << 8);
proto              83 arch/m68k/include/asm/checksum.h 		  unsigned short proto, __wsum sum)
proto              91 arch/m68k/include/asm/checksum.h 		 : "g" (daddr), "1" (saddr), "d" (len + proto),
proto             103 arch/m68k/include/asm/checksum.h 		  unsigned short proto, __wsum sum)
proto             105 arch/m68k/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             121 arch/m68k/include/asm/checksum.h 		__u32 len, __u8 proto, __wsum sum)
proto             143 arch/m68k/include/asm/checksum.h 		: "a" (saddr), "a" (daddr), "d" (len + proto),
proto              20 arch/microblaze/include/asm/checksum.h 		   __u8 proto, __wsum sum)
proto              29 arch/microblaze/include/asm/checksum.h 	"d" ((len + proto) << 8)
proto              31 arch/microblaze/include/asm/checksum.h 	"d" (len + proto)
proto             164 arch/mips/include/asm/checksum.h 					__u32 len, __u8 proto,
proto             198 arch/mips/include/asm/checksum.h 	  "r" ((proto + len) << 8),
proto             200 arch/mips/include/asm/checksum.h 	  "r" (proto + len),
proto             220 arch/mips/include/asm/checksum.h 					  __u32 len, __u8 proto,
proto             279 arch/mips/include/asm/checksum.h 	  "0" (htonl(len)), "r" (htonl(proto)), "r" (sum));
proto              48 arch/nios2/include/asm/checksum.h 					__u32 len, __u8 proto,
proto              62 arch/nios2/include/asm/checksum.h 		: "r" (daddr), "r" ((len + proto) << 8),
proto              71 arch/nios2/include/asm/checksum.h 					__u32 len, __u8 proto,
proto              74 arch/nios2/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto              89 arch/parisc/include/asm/checksum.h 					__u32 len, __u8 proto,
proto              98 arch/parisc/include/asm/checksum.h 		: "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum));
proto             107 arch/parisc/include/asm/checksum.h 					__u32 len, __u8 proto,
proto             110 arch/parisc/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             126 arch/parisc/include/asm/checksum.h 					  __u32 len, __u8 proto,
proto             183 arch/parisc/include/asm/checksum.h 	: "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto)
proto              58 arch/powerpc/include/asm/checksum.h 					__u8 proto, __wsum sum)
proto              66 arch/powerpc/include/asm/checksum.h 	s += proto + len;
proto              68 arch/powerpc/include/asm/checksum.h 	s += (proto + len) << 8;
proto              79 arch/powerpc/include/asm/checksum.h 	: "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum));
proto              89 arch/powerpc/include/asm/checksum.h 					__u8 proto, __wsum sum)
proto              91 arch/powerpc/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto             212 arch/powerpc/include/asm/checksum.h 			__u32 len, __u8 proto, __wsum sum);
proto              98 arch/powerpc/xmon/ansidecl.h #define	EXFUN(name, proto)		name proto
proto             122 arch/powerpc/xmon/ansidecl.h #define	EXFUN(name, proto)		name()
proto              95 arch/s390/include/asm/checksum.h csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto,
proto             108 arch/s390/include/asm/checksum.h 	csum += len + proto;
proto             109 arch/s390/include/asm/checksum.h 	if (csum < len + proto)
proto             121 arch/s390/include/asm/checksum.h csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto,
proto             124 arch/s390/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             115 arch/sh/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             119 arch/sh/include/asm/checksum_32.h 	unsigned long len_proto = (proto + len) << 8;
proto             121 arch/sh/include/asm/checksum_32.h 	unsigned long len_proto = proto + len;
proto             141 arch/sh/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             144 arch/sh/include/asm/checksum_32.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto             159 arch/sh/include/asm/checksum_32.h 				      __u32 len, __u8 proto, __wsum sum)
proto             185 arch/sh/include/asm/checksum_32.h 		  "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
proto             174 arch/sparc/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             182 arch/sparc/include/asm/checksum_32.h 			     : "r" (daddr), "r" (proto + len), "0" (sum),
proto             193 arch/sparc/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             196 arch/sparc/include/asm/checksum_32.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             203 arch/sparc/include/asm/checksum_32.h 				      __u32 len, __u8 proto, __wsum sum)
proto             227 arch/sparc/include/asm/checksum_32.h 		  "r"(htonl(len)), "r"(htonl(proto)), "r"(sum)
proto             100 arch/sparc/include/asm/checksum_64.h 					__u32 len, __u8 proto,
proto             109 arch/sparc/include/asm/checksum_64.h 	: "r" (daddr), "r" (proto + len), "0" (sum), "1" (saddr)
proto             119 arch/sparc/include/asm/checksum_64.h 					__u32 len, __u8 proto,
proto             122 arch/sparc/include/asm/checksum_64.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             129 arch/sparc/include/asm/checksum_64.h 				      __u32 len, __u8 proto, __wsum sum)
proto             153 arch/sparc/include/asm/checksum_64.h 	  "r"(htonl(proto)), "r"(sum)
proto             153 arch/um/drivers/vector_user.c static int create_raw_fd(char *iface, int flags, int proto)
proto             173 arch/um/drivers/vector_user.c 	sock.sll_protocol = htons(proto);
proto              21 arch/unicore32/include/asm/checksum.h 		   __u8 proto, __wsum sum)
proto              30 arch/unicore32/include/asm/checksum.h 	: "r" (sum), "r" (daddr), "r" (saddr), "r" (len), "Ir" (htons(proto))
proto             389 arch/x86/boot/compressed/eboot.c 	efi_guid_t proto = LOADED_IMAGE_PROTOCOL_GUID;
proto             410 arch/x86/boot/compressed/eboot.c 				&proto, (void *)&image);
proto             115 arch/x86/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             124 arch/x86/include/asm/checksum_32.h 	      "g" ((len + proto) << 8), "0" (sum));
proto             133 arch/x86/include/asm/checksum_32.h 					__u32 len, __u8 proto,
proto             136 arch/x86/include/asm/checksum_32.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto             152 arch/x86/include/asm/checksum_32.h 				      __u32 len, __u8 proto, __wsum sum)
proto             167 arch/x86/include/asm/checksum_32.h 	      "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
proto              89 arch/x86/include/asm/checksum_64.h 		   __u8 proto, __wsum sum)
proto              97 arch/x86/include/asm/checksum_64.h 	      "g" ((len + proto)<<8), "0" (sum));
proto             114 arch/x86/include/asm/checksum_64.h 					__u32 len, __u8 proto,
proto             117 arch/x86/include/asm/checksum_64.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto             181 arch/x86/include/asm/checksum_64.h 		__u32 len, __u8 proto, __wsum sum);
proto             139 arch/x86/lib/csum-wrappers_64.c 			__u32 len, __u8 proto, __wsum sum)
proto             143 arch/x86/lib/csum-wrappers_64.c 	rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) +
proto              92 arch/x86/um/asm/checksum.h 		  __u8 proto, __wsum sum)
proto              99 arch/x86/um/asm/checksum.h 	    : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum));
proto             108 arch/x86/um/asm/checksum.h 					__u32 len, __u8 proto,
proto             111 arch/x86/um/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto              16 arch/x86/um/asm/checksum_32.h 					  __u32 len, __u8 proto,
proto              33 arch/x86/um/asm/checksum_32.h 		  "r"(htonl(len)), "r"(htonl(proto)), "0"(sum));
proto             126 arch/xtensa/include/asm/checksum.h 					    __u32 len, __u8 proto,
proto             131 arch/xtensa/include/asm/checksum.h 	unsigned long len_proto = (len + proto) << 8;
proto             133 arch/xtensa/include/asm/checksum.h 	unsigned long len_proto = len + proto;
proto             159 arch/xtensa/include/asm/checksum.h 					    __u32 len, __u8 proto,
proto             162 arch/xtensa/include/asm/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum));
proto             178 arch/xtensa/include/asm/checksum.h 					  __u32 len, __u8 proto,
proto             232 arch/xtensa/include/asm/checksum.h 		  "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)
proto              29 crypto/af_alg.c static struct proto alg_proto = {
proto             206 drivers/auxdisplay/panel.c 	int proto;
proto             917 drivers/auxdisplay/panel.c 		lcd.proto = LCD_PROTO_PARALLEL;
proto             929 drivers/auxdisplay/panel.c 		lcd.proto = LCD_PROTO_SERIAL;
proto             942 drivers/auxdisplay/panel.c 		lcd.proto = LCD_PROTO_PARALLEL;
proto             955 drivers/auxdisplay/panel.c 		lcd.proto = DEFAULT_LCD_PROTO;
proto             962 drivers/auxdisplay/panel.c 		lcd.proto = LCD_PROTO_PARALLEL;
proto             986 drivers/auxdisplay/panel.c 		lcd.proto = lcd_proto;
proto            1010 drivers/auxdisplay/panel.c 	if (lcd.proto == LCD_PROTO_SERIAL) {	/* SERIAL */
proto            1018 drivers/auxdisplay/panel.c 	} else if (lcd.proto == LCD_PROTO_PARALLEL) {	/* PARALLEL */
proto            1738 drivers/auxdisplay/panel.c 		lcd.proto = lcd_proto;
proto            3517 drivers/block/drbd/drbd_receiver.c 		int proto, fflags;
proto            3519 drivers/block/drbd/drbd_receiver.c 		proto = hg & 0xff;
proto            3522 drivers/block/drbd/drbd_receiver.c 					proto, fflags);
proto              47 drivers/block/paride/paride.c 	pi->proto->write_regr(pi, cont, regr, val);
proto              54 drivers/block/paride/paride.c 	return pi->proto->read_regr(pi, cont, regr);
proto              61 drivers/block/paride/paride.c 	pi->proto->write_block(pi, buf, count);
proto              68 drivers/block/paride/paride.c 	pi->proto->read_block(pi, buf, count);
proto             139 drivers/block/paride/paride.c 	pi->proto->connect(pi);
proto             146 drivers/block/paride/paride.c 	pi->proto->disconnect(pi);
proto             163 drivers/block/paride/paride.c 	if (pi->proto->release_proto)
proto             164 drivers/block/paride/paride.c 		pi->proto->release_proto(pi);
proto             165 drivers/block/paride/paride.c 	module_put(pi->proto->owner);
proto             175 drivers/block/paride/paride.c 	pi->proto->connect(pi);
proto             186 drivers/block/paride/paride.c 	pi->proto->disconnect(pi);
proto             190 drivers/block/paride/paride.c 		       pi->device, pi->proto->name, pi->port,
proto             201 drivers/block/paride/paride.c 	if (pi->proto->test_proto)
proto             202 drivers/block/paride/paride.c 		res = pi->proto->test_proto(pi, scratch, verbose);
proto             283 drivers/block/paride/paride.c 		if (pi->mode >= pi->proto->epp_first)
proto             293 drivers/block/paride/paride.c 		if (pi->mode >= pi->proto->epp_first)
proto             314 drivers/block/paride/paride.c 		e = pi->proto->max_units;
proto             320 drivers/block/paride/paride.c 	if (pi->proto->test_port) {
proto             322 drivers/block/paride/paride.c 		max = pi->proto->test_port(pi);
proto             325 drivers/block/paride/paride.c 		max = pi->proto->max_mode;
proto             327 drivers/block/paride/paride.c 	if (pi->proto->probe_unit) {
proto             330 drivers/block/paride/paride.c 			if (pi->proto->probe_unit(pi)) {
proto             374 drivers/block/paride/paride.c 		struct pi_protocol *proto = protocols[p];
proto             375 drivers/block/paride/paride.c 		if (!proto)
proto             378 drivers/block/paride/paride.c 		if (!try_module_get(proto->owner))
proto             380 drivers/block/paride/paride.c 		pi->proto = proto;
proto             382 drivers/block/paride/paride.c 		if (proto->init_proto && proto->init_proto(pi) < 0) {
proto             383 drivers/block/paride/paride.c 			pi->proto = NULL;
proto             384 drivers/block/paride/paride.c 			module_put(proto->owner);
proto             388 drivers/block/paride/paride.c 			pi->delay = pi->proto->default_delay;
proto             415 drivers/block/paride/paride.c 		if (pi->proto->release_proto)
proto             416 drivers/block/paride/paride.c 			pi->proto->release_proto(pi);
proto             417 drivers/block/paride/paride.c 		module_put(proto->owner);
proto             432 drivers/block/paride/paride.c 	pi->proto->log_adapter(pi, scratch, verbose);
proto              38 drivers/block/paride/paride.h 	struct pi_protocol *proto;   /* adapter protocol */
proto             446 drivers/block/paride/pd.c 				pi_current->proto->connect(pi_current);
proto              54 drivers/block/ps3disk.c 	u32	proto;
proto             365 drivers/block/ps3disk.c 	ata_cmnd.proto = PIO_DATA_IN_PROTO;
proto             555 drivers/bluetooth/hci_bcm.c 	else if (hu->proto->init_speed)
proto             556 drivers/bluetooth/hci_bcm.c 		speed = hu->proto->init_speed;
proto             566 drivers/bluetooth/hci_bcm.c 	else if (hu->proto->oper_speed)
proto             567 drivers/bluetooth/hci_bcm.c 		speed = hu->proto->oper_speed;
proto             562 drivers/bluetooth/hci_intel.c 		init_speed = hu->proto->init_speed;
proto             567 drivers/bluetooth/hci_intel.c 		oper_speed = hu->proto->oper_speed;
proto             106 drivers/bluetooth/hci_ldisc.c 			skb = hu->proto->dequeue(hu);
proto             197 drivers/bluetooth/hci_ldisc.c 		hu->proto->close(hu);
proto             244 drivers/bluetooth/hci_ldisc.c 		hu->proto->flush(hu);
proto             287 drivers/bluetooth/hci_ldisc.c 	hu->proto->enqueue(hu, skb);
proto             401 drivers/bluetooth/hci_ldisc.c 	else if (hu->proto->init_speed)
proto             402 drivers/bluetooth/hci_ldisc.c 		speed = hu->proto->init_speed;
proto             412 drivers/bluetooth/hci_ldisc.c 	else if (hu->proto->oper_speed)
proto             413 drivers/bluetooth/hci_ldisc.c 		speed = hu->proto->oper_speed;
proto             417 drivers/bluetooth/hci_ldisc.c 	if (hu->proto->set_baudrate && speed) {
proto             418 drivers/bluetooth/hci_ldisc.c 		err = hu->proto->set_baudrate(hu, speed);
proto             423 drivers/bluetooth/hci_ldisc.c 	if (hu->proto->setup)
proto             424 drivers/bluetooth/hci_ldisc.c 		return hu->proto->setup(hu);
proto             548 drivers/bluetooth/hci_ldisc.c 		hu->proto->close(hu);
proto             613 drivers/bluetooth/hci_ldisc.c 	hu->proto->recv(hu, data, count);
proto             645 drivers/bluetooth/hci_ldisc.c 	if (hu->proto->setup)
proto             646 drivers/bluetooth/hci_ldisc.c 		hdev->manufacturer = hu->proto->manufacturer;
proto             672 drivers/bluetooth/hci_ldisc.c 	err = hu->proto->open(hu);
proto             684 drivers/bluetooth/hci_ldisc.c 		hu->proto->close(hu);
proto             704 drivers/bluetooth/hci_ldisc.c 	hu->proto = p;
proto             769 drivers/bluetooth/hci_ldisc.c 			err = hu->proto->id;
proto             661 drivers/bluetooth/hci_ll.c 	else if (hu->proto->oper_speed)
proto             662 drivers/bluetooth/hci_ll.c 		speed = hu->proto->oper_speed;
proto              87 drivers/bluetooth/hci_nokia.c 	u8	proto;
proto             108 drivers/bluetooth/hci_nokia.c 	u8	proto;
proto             286 drivers/bluetooth/hci_nokia.c 	neg_cmd->proto = NOKIA_PROTO_BYTE;
proto            1095 drivers/bluetooth/hci_qca.c 		else if (hu->proto->init_speed)
proto            1096 drivers/bluetooth/hci_qca.c 			speed = hu->proto->init_speed;
proto            1100 drivers/bluetooth/hci_qca.c 		else if (hu->proto->oper_speed)
proto            1101 drivers/bluetooth/hci_qca.c 			speed = hu->proto->oper_speed;
proto              52 drivers/bluetooth/hci_serdev.c 			skb = hu->proto->dequeue(hu);
proto             110 drivers/bluetooth/hci_serdev.c 		hu->proto->flush(hu);
proto             145 drivers/bluetooth/hci_serdev.c 	hu->proto->enqueue(hu, skb);
proto             163 drivers/bluetooth/hci_serdev.c 	else if (hu->proto->init_speed)
proto             164 drivers/bluetooth/hci_serdev.c 		speed = hu->proto->init_speed;
proto             174 drivers/bluetooth/hci_serdev.c 	else if (hu->proto->oper_speed)
proto             175 drivers/bluetooth/hci_serdev.c 		speed = hu->proto->oper_speed;
proto             179 drivers/bluetooth/hci_serdev.c 	if (hu->proto->set_baudrate && speed) {
proto             180 drivers/bluetooth/hci_serdev.c 		err = hu->proto->set_baudrate(hu, speed);
proto             187 drivers/bluetooth/hci_serdev.c 	if (hu->proto->setup)
proto             188 drivers/bluetooth/hci_serdev.c 		return hu->proto->setup(hu);
proto             255 drivers/bluetooth/hci_serdev.c 	hu->proto->recv(hu, data, count);
proto             286 drivers/bluetooth/hci_serdev.c 	hu->proto = p;
proto             310 drivers/bluetooth/hci_serdev.c 	if (hu->proto->setup)
proto             311 drivers/bluetooth/hci_serdev.c 		hdev->manufacturer = hu->proto->manufacturer;
proto             365 drivers/bluetooth/hci_serdev.c 	hu->proto->close(hu);
proto              74 drivers/bluetooth/hci_uart.h 	const struct hci_uart_proto *proto;
proto             135 drivers/char/pcmcia/cm4000_cs.c 	unsigned char proto;	/* T=0, T=1, ... */
proto             339 drivers/char/pcmcia/cm4000_cs.c 	dev->proto = 0;		/* XXX PROTO */
proto             393 drivers/char/pcmcia/cm4000_cs.c 			dev->proto = 1;	/* XXX PROTO */
proto             473 drivers/char/pcmcia/cm4000_cs.c 	dev->proto = dev->pts[1];	/* Set new protocol */
proto             833 drivers/char/pcmcia/cm4000_cs.c 				ptsreq.protocol = (0x01 << dev->proto);
proto            1008 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 0 && count > dev->rlen - dev->rpos && i) {
proto            1064 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 0 && count < 4) {
proto            1072 drivers/char/pcmcia/cm4000_cs.c 	sendT0 = dev->proto ? 0 : nr > 5 ? 0x08 : 0;
proto            1186 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 0) {
proto            1229 drivers/char/pcmcia/cm4000_cs.c 	      |(dev->proto ? 0x10 : 0x08)	/* T=1/T=0 */
proto            1233 drivers/char/pcmcia/cm4000_cs.c 	      |(dev->proto ? 0x10 : 0x08)	/* T=1/T=0 */
proto            1238 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto == 1) {
proto            1255 drivers/char/pcmcia/cm4000_cs.c 	if (dev->proto) {
proto            1277 drivers/char/pcmcia/cm4000_cs.c 		if (dev->proto) {
proto            1296 drivers/char/pcmcia/cm4000_cs.c 		else if (dev->proto == 0) {
proto            1315 drivers/char/pcmcia/cm4000_cs.c 		if (dev->proto)
proto            1323 drivers/char/pcmcia/cm4000_cs.c 		if (dev->proto == 0) {
proto            1346 drivers/char/pcmcia/cm4000_cs.c 	dev->rpos = dev->proto ? 0 : nr == 4 ? 5 : nr > dev->rlen ? 5 : nr;
proto             319 drivers/crypto/bcm/spu2.c 	u8 proto;
proto             340 drivers/crypto/bcm/spu2.c 	proto = (ctrl0 & SPU2_PROTO_SEL) >> SPU2_PROTO_SEL_SHIFT;
proto             341 drivers/crypto/bcm/spu2.c 	packet_log("  protocol %#x\n", proto);
proto             955 drivers/crypto/bcm/spu2.c 	enum spu2_proto_sel proto = SPU2_PROTO_RESV;
proto            1068 drivers/crypto/bcm/spu2.c 			     proto, spu2_ciph_type, spu2_ciph_mode,
proto             218 drivers/crypto/chelsio/chcr_ipsec.c 	if (x->id.proto != IPPROTO_ESP) {
proto             123 drivers/crypto/chelsio/chtls/chtls_cm.h static inline void chtls_init_rsk_ops(struct proto *chtls_tcp_prot,
proto             125 drivers/crypto/chelsio/chtls/chtls_cm.h 				      struct proto *tcp_prot, int family)
proto              33 drivers/crypto/chelsio/chtls/chtls_main.c static struct proto chtls_cpl_prot;
proto             123 drivers/crypto/qat/qat_common/icp_qat_fw_la.h #define ICP_QAT_FW_LA_FLAGS_BUILD(zuc_proto, gcm_iv_len, auth_rslt, proto, \
proto             132 drivers/crypto/qat/qat_common/icp_qat_fw_la.h 	((proto & QAT_LA_PROTO_MASK) << \
proto            1240 drivers/firewire/net.c 	__be16 proto;
proto            1271 drivers/firewire/net.c 	proto = hdr_buf.h_proto;
proto            1273 drivers/firewire/net.c 	switch (proto) {
proto            1326 drivers/firewire/net.c 		fwnet_make_uf_hdr(&ptask->hdr, ntohs(proto));
proto            1334 drivers/firewire/net.c 		fwnet_make_ff_hdr(&ptask->hdr, ntohs(proto), dg_size,
proto              88 drivers/firmware/efi/libstub/gop.c             efi_guid_t *proto, unsigned long size, void **gop_handle)
proto             116 drivers/firmware/efi/libstub/gop.c 					proto, (void **)&gop32);
proto             185 drivers/firmware/efi/libstub/gop.c 	    efi_guid_t *proto, unsigned long size, void **gop_handle)
proto             213 drivers/firmware/efi/libstub/gop.c 					proto, (void **)&gop64);
proto             284 drivers/firmware/efi/libstub/gop.c 			   struct screen_info *si, efi_guid_t *proto,
proto             297 drivers/firmware/efi/libstub/gop.c 				proto, NULL, &size, gop_handle);
proto             302 drivers/firmware/efi/libstub/gop.c 		status = setup_gop64(sys_table_arg, si, proto, size,
proto             305 drivers/firmware/efi/libstub/gop.c 		status = setup_gop32(sys_table_arg, si, proto, size,
proto             843 drivers/gpu/drm/nouveau/dispnv50/disp.c 	u8 proto;
proto             868 drivers/gpu/drm/nouveau/dispnv50/disp.c 		proto = 0x8;
proto             870 drivers/gpu/drm/nouveau/dispnv50/disp.c 		proto = 0x9;
proto             872 drivers/gpu/drm/nouveau/dispnv50/disp.c 	mstm->outp->update(mstm->outp, head->base.index, armh, proto,
proto            1408 drivers/gpu/drm/nouveau/dispnv50/disp.c 		struct nv50_head_atom *asyh, u8 proto, u8 depth)
proto            1418 drivers/gpu/drm/nouveau/dispnv50/disp.c 		nv_encoder->ctrl |= proto << 8;
proto            1475 drivers/gpu/drm/nouveau/dispnv50/disp.c 	u8 proto = 0xf;
proto            1485 drivers/gpu/drm/nouveau/dispnv50/disp.c 			proto = 0x1;
proto            1495 drivers/gpu/drm/nouveau/dispnv50/disp.c 				proto |= 0x4;
proto            1497 drivers/gpu/drm/nouveau/dispnv50/disp.c 			proto = 0x2;
proto            1503 drivers/gpu/drm/nouveau/dispnv50/disp.c 		proto = 0x0;
proto            1537 drivers/gpu/drm/nouveau/dispnv50/disp.c 			proto = 0x8;
proto            1539 drivers/gpu/drm/nouveau/dispnv50/disp.c 			proto = 0x9;
proto            1548 drivers/gpu/drm/nouveau/dispnv50/disp.c 	nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth);
proto            1680 drivers/gpu/drm/nouveau/dispnv50/disp.c 	u8 proto;
proto            1695 drivers/gpu/drm/nouveau/dispnv50/disp.c 		proto = 0x0;
proto            1702 drivers/gpu/drm/nouveau/dispnv50/disp.c 	core->func->pior->ctrl(core, nv_encoder->or, (proto << 8) | owner, asyh);
proto              29 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h 	u8  proto;
proto              38 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h u16 nvbios_ocfg_match(struct nvkm_bios *, u16 outp, u8 proto, u8 flags,
proto              72 drivers/gpu/drm/nouveau/nouveau_encoder.h 		       struct nv50_head_atom *, u8 proto, u8 depth);
proto              41 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c 	case 0: state->proto = CRT; break;
proto              43 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c 		state->proto = UNKNOWN;
proto              92 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 	case 0: state->proto = CRT; break;
proto              94 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c 		state->proto = UNKNOWN;
proto              32 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h 		} proto:3;
proto             220 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 		if (ior->asy.proto == LVDS) {
proto             452 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	if (ior->type == SOR && ior->asy.proto == LVDS) {
proto             468 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	if (ior->type == SOR && ior->asy.proto == DP)
proto             118 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	enum nvkm_ior_proto proto;
proto             128 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	proto = nvkm_outp_xlat(outp, &type);
proto             129 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	if (proto == UNKNOWN)
proto             179 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	enum nvkm_ior_proto proto;
proto             185 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	proto = nvkm_outp_xlat(outp, &type);
proto             186 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	if (proto == UNKNOWN)
proto             216 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	if (!ior->arm.head || ior->arm.proto != proto) {
proto             218 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 			 ior->arm.proto, proto);
proto             251 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	enum nvkm_ior_proto proto;
proto             268 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	proto = nvkm_outp_xlat(outp, &type);
proto             269 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c 	if (proto == UNKNOWN)
proto             107 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 	case 0: state->proto = TMDS; break;
proto             109 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c 		state->proto = UNKNOWN;
proto             127 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	if (sor->asy.proto == TMDS) {
proto             245 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 0: state->proto = LVDS; state->link = 1; break;
proto             246 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 1: state->proto = TMDS; state->link = 1; break;
proto             247 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 2: state->proto = TMDS; state->link = 2; break;
proto             248 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 5: state->proto = TMDS; state->link = 3; break;
proto             249 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 8: state->proto =   DP; state->link = 1; break;
proto             250 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 	case 9: state->proto =   DP; state->link = 2; break;
proto             252 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c 		state->proto = UNKNOWN;
proto             126 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	if (sor->asy.proto == TMDS) {
proto             144 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 0: state->proto = LVDS; state->link = 1; break;
proto             145 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 1: state->proto = TMDS; state->link = 1; break;
proto             146 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 2: state->proto = TMDS; state->link = 2; break;
proto             147 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 5: state->proto = TMDS; state->link = 3; break;
proto             148 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 8: state->proto =   DP; state->link = 1; break;
proto             149 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 	case 9: state->proto =   DP; state->link = 2; break;
proto             151 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c 		state->proto = UNKNOWN;
proto              66 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 0: state->proto = LVDS; state->link = 1; break;
proto              67 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 1: state->proto = TMDS; state->link = 1; break;
proto              68 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 2: state->proto = TMDS; state->link = 2; break;
proto              69 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 5: state->proto = TMDS; state->link = 3; break;
proto              70 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 8: state->proto =   DP; state->link = 1; break;
proto              71 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 	case 9: state->proto =   DP; state->link = 2; break;
proto              73 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c 		state->proto = UNKNOWN;
proto              75 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	case 0: state->proto = LVDS; state->link = 1; break;
proto              76 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	case 1: state->proto = TMDS; state->link = 1; break;
proto              77 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	case 2: state->proto = TMDS; state->link = 2; break;
proto              78 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 	case 5: state->proto = TMDS; state->link = 3; break;
proto              80 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c 		state->proto = UNKNOWN;
proto             144 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 		info->proto     = nvbios_rd08(bios, data + 0x00);
proto             153 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c nvbios_ocfg_match(struct nvkm_bios *bios, u16 outp, u8 proto, u8 flags,
proto             158 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 		if ((info->proto == proto || info->proto == 0xff) &&
proto             392 drivers/hwtracing/stm/policy.c 	char *devname, *proto, *p;
proto             421 drivers/hwtracing/stm/policy.c 	proto = strrchr(devname, ':');
proto             422 drivers/hwtracing/stm/policy.c 	if (proto)
proto             423 drivers/hwtracing/stm/policy.c 		*proto++ = '\0';
proto             431 drivers/hwtracing/stm/policy.c 	err = stm_lookup_protocol(proto, &pdrv, &pdrv_node_type);
proto             503 drivers/i2c/busses/i2c-qcom-geni.c 	u32 proto, tx_depth;
proto             571 drivers/i2c/busses/i2c-qcom-geni.c 	proto = geni_se_read_proto(&gi2c->se);
proto             573 drivers/i2c/busses/i2c-qcom-geni.c 	if (proto != GENI_SE_I2C) {
proto             574 drivers/i2c/busses/i2c-qcom-geni.c 		dev_err(&pdev->dev, "Invalid proto %d\n", proto);
proto             288 drivers/i2c/busses/i2c-taos-evm.c 		.proto	= SERIO_TAOSEVM,
proto              70 drivers/i2c/busses/i2c-xgene-slimpro.c #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \
proto              77 drivers/i2c/busses/i2c-xgene-slimpro.c 	((proto << SLIMPRO_IIC_PROTO_SHIFT) & SLIMPRO_IIC_PROTO_MASK) | \
proto             117 drivers/infiniband/core/uverbs_std_types_flow_action.c static int parse_esp_ip(enum ib_flow_spec_type proto,
proto             125 drivers/infiniband/core/uverbs_std_types_flow_action.c 		.proto = 0xff,
proto             155 drivers/infiniband/core/uverbs_std_types_flow_action.c 	switch (proto) {
proto             188 drivers/infiniband/core/uverbs_std_types_flow_action.c 	return ib_uverbs_kern_spec_to_ib_spec_filter(proto, user_pmask,
proto            2801 drivers/infiniband/hw/mlx5/main.c 			      ib_spec->ipv4.mask.proto,
proto            2802 drivers/infiniband/hw/mlx5/main.c 			      ib_spec->ipv4.val.proto))
proto            2934 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 	u16 proto;
proto            2968 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 		proto = app_param->valid_proto_app &
proto            2972 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 			valid && proto == ETH_P_IBOE &&
proto            2992 drivers/infiniband/hw/ocrdma/ocrdma_hw.c 					dev->id, proto);
proto             276 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 	int proto;
proto             286 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 	err = usnic_transport_sock_get_addr(sock, &proto, &addr, &port_num);
proto             290 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c 	if (proto != IPPROTO_UDP) {
proto              70 drivers/infiniband/hw/usnic/usnic_transport.c 	int proto;
proto              73 drivers/infiniband/hw/usnic/usnic_transport.c 	err = usnic_transport_sock_get_addr(sock, &proto, &addr, &port);
proto              78 drivers/infiniband/hw/usnic/usnic_transport.c 			proto, &addr, port);
proto             174 drivers/infiniband/hw/usnic/usnic_transport.c int usnic_transport_sock_get_addr(struct socket *sock, int *proto,
proto             189 drivers/infiniband/hw/usnic/usnic_transport.c 	if (proto)
proto             190 drivers/infiniband/hw/usnic/usnic_transport.c 		*proto = sock->sk->sk_protocol;
proto              62 drivers/infiniband/hw/usnic/usnic_transport.h int usnic_transport_sock_get_addr(struct socket *sock, int *proto,
proto             290 drivers/infiniband/sw/rxe/rxe_net.c 			     __be32 saddr, __be32 daddr, __u8 proto,
proto             309 drivers/infiniband/sw/rxe/rxe_net.c 	iph->protocol	=	proto;
proto             322 drivers/infiniband/sw/rxe/rxe_net.c 			     __u8 proto, __u8 prio, __u8 ttl)
proto             336 drivers/infiniband/sw/rxe/rxe_net.c 	ip6h->nexthdr     = proto;
proto             132 drivers/infiniband/ulp/ipoib/ipoib.h 	__be16	proto;
proto             668 drivers/infiniband/ulp/ipoib/ipoib_cm.c 	skb->protocol = ((struct ipoib_header *) skb->data)->proto;
proto             254 drivers/infiniband/ulp/ipoib/ipoib_ib.c 	skb->protocol = ((struct ipoib_header *) skb->data)->proto;
proto            1109 drivers/infiniband/ulp/ipoib/ipoib_main.c 		if ((header->proto != htons(ETH_P_IP)) &&
proto            1110 drivers/infiniband/ulp/ipoib/ipoib_main.c 		    (header->proto != htons(ETH_P_IPV6)) &&
proto            1111 drivers/infiniband/ulp/ipoib/ipoib_main.c 		    (header->proto != htons(ETH_P_ARP)) &&
proto            1112 drivers/infiniband/ulp/ipoib/ipoib_main.c 		    (header->proto != htons(ETH_P_RARP)) &&
proto            1113 drivers/infiniband/ulp/ipoib/ipoib_main.c 		    (header->proto != htons(ETH_P_TIPC))) {
proto            1131 drivers/infiniband/ulp/ipoib/ipoib_main.c 	switch (header->proto) {
proto            1210 drivers/infiniband/ulp/ipoib/ipoib_main.c 	header->proto = htons(type);
proto             414 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 	u8 proto, rout_ctrl;
proto             418 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		proto = ipv6_hdr(skb)->nexthdr;
proto             419 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		if (proto == IPPROTO_TCP)
proto             422 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		else if (proto == IPPROTO_UDP)
proto             429 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		proto = ip_hdr(skb)->protocol;
proto             430 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		if (proto == IPPROTO_TCP)
proto             433 drivers/infiniband/ulp/opa_vnic/opa_vnic_encap.c 		else if (proto == IPPROTO_UDP)
proto             211 drivers/input/joystick/fsia6b.c 		.proto	= SERIO_FSIA6B,
proto             232 drivers/input/joystick/iforce/iforce-serio.c 		.proto	= SERIO_IFORCE,
proto             188 drivers/input/joystick/magellan.c 		.proto	= SERIO_MAGELLAN,
proto             266 drivers/input/joystick/spaceball.c 		.proto	= SERIO_SPACEBALL,
proto             203 drivers/input/joystick/spaceorb.c 		.proto	= SERIO_SPACEORB,
proto             174 drivers/input/joystick/stinger.c 		.proto	= SERIO_STINGER,
proto             227 drivers/input/joystick/twidjoy.c 		.proto	= SERIO_TWIDJOY,
proto             183 drivers/input/joystick/warrior.c 		.proto	= SERIO_WARRIOR,
proto             185 drivers/input/joystick/zhenhua.c 		.proto	= SERIO_ZHENHUA,
proto            1274 drivers/input/keyboard/atkbd.c 		.proto	= SERIO_ANY,
proto            1280 drivers/input/keyboard/atkbd.c 		.proto	= SERIO_ANY,
proto            1286 drivers/input/keyboard/atkbd.c 		.proto	= SERIO_PS2SER,
proto             565 drivers/input/keyboard/hil_kbd.c 		.proto = SERIO_HIL,
proto             701 drivers/input/keyboard/lkkbd.c 		.proto	= SERIO_LKKBD,
proto             132 drivers/input/keyboard/newtonkbd.c 		.proto	= SERIO_NEWTON,
proto             136 drivers/input/keyboard/stowaway.c 		.proto	= SERIO_STOWAWAY,
proto             329 drivers/input/keyboard/sunkbd.c 		.proto	= SERIO_SUNKBD,
proto             335 drivers/input/keyboard/sunkbd.c 		.proto	= SERIO_UNKNOWN, /* sunkbd does probe */
proto             135 drivers/input/keyboard/xtkbd.c 		.proto	= SERIO_ANY,
proto              54 drivers/input/mouse/psmouse-base.c module_param_named(proto, psmouse_max_proto, proto_abbrev, 0644);
proto              55 drivers/input/mouse/psmouse-base.c MODULE_PARM_DESC(proto, "Highest protocol extension to probe (bare, imps, exps, any). Useful for KVM switches.");
proto             933 drivers/input/mouse/psmouse-base.c 	const struct psmouse_protocol *proto;
proto             935 drivers/input/mouse/psmouse-base.c 	proto = __psmouse_protocol_by_type(type);
proto             936 drivers/input/mouse/psmouse-base.c 	if (proto)
proto             937 drivers/input/mouse/psmouse-base.c 		return proto;
proto            1017 drivers/input/mouse/psmouse-base.c 	const struct psmouse_protocol *proto;
proto            1019 drivers/input/mouse/psmouse-base.c 	proto = __psmouse_protocol_by_type(type);
proto            1020 drivers/input/mouse/psmouse-base.c 	if (!proto)
proto            1023 drivers/input/mouse/psmouse-base.c 	if (!psmouse_do_detect(proto->detect, psmouse, proto->try_passthru,
proto            1027 drivers/input/mouse/psmouse-base.c 	if (set_properties && proto->init && init_allowed) {
proto            1028 drivers/input/mouse/psmouse-base.c 		if (proto->init(psmouse) != 0) {
proto            1523 drivers/input/mouse/psmouse-base.c 				   const struct psmouse_protocol *proto)
proto            1531 drivers/input/mouse/psmouse-base.c 	if (proto && (proto->detect || proto->init)) {
proto            1534 drivers/input/mouse/psmouse-base.c 		if (proto->detect && proto->detect(psmouse, true) < 0)
proto            1537 drivers/input/mouse/psmouse-base.c 		if (proto->init && proto->init(psmouse) < 0)
proto            1540 drivers/input/mouse/psmouse-base.c 		selected_proto = proto;
proto            1777 drivers/input/mouse/psmouse-base.c 		.proto	= SERIO_ANY,
proto            1783 drivers/input/mouse/psmouse-base.c 		.proto	= SERIO_ANY,
proto            1903 drivers/input/mouse/psmouse-base.c 	const struct psmouse_protocol *proto, *old_proto;
proto            1907 drivers/input/mouse/psmouse-base.c 	proto = psmouse_protocol_by_name(buf, count);
proto            1908 drivers/input/mouse/psmouse-base.c 	if (!proto)
proto            1911 drivers/input/mouse/psmouse-base.c 	if (psmouse->protocol == proto)
proto            1935 drivers/input/mouse/psmouse-base.c 		if (psmouse->protocol == proto) {
proto            1958 drivers/input/mouse/psmouse-base.c 	if (psmouse_switch_protocol(psmouse, proto) < 0) {
proto            2026 drivers/input/mouse/psmouse-base.c 	const struct psmouse_protocol *proto;
proto            2031 drivers/input/mouse/psmouse-base.c 	proto = psmouse_protocol_by_name(val, strlen(val));
proto            2033 drivers/input/mouse/psmouse-base.c 	if (!proto || !proto->maxproto)
proto            2036 drivers/input/mouse/psmouse-base.c 	*((unsigned int *)kp->arg) = proto->type;
proto             244 drivers/input/mouse/sermouse.c 	sermouse->type = serio->id.proto;
proto             287 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MSC,
proto             293 drivers/input/mouse/sermouse.c 		.proto	= SERIO_SUN,
proto             299 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MS,
proto             305 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MP,
proto             311 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MZ,
proto             317 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MZP,
proto             323 drivers/input/mouse/sermouse.c 		.proto	= SERIO_MZPP,
proto             518 drivers/input/mouse/vsxxxaa.c 		.proto	= SERIO_VSXXXAA,
proto             895 drivers/input/serio/hil_mlc.c 	.proto = SERIO_HIL,
proto              55 drivers/input/serio/ps2mult.c 		.proto	= SERIO_PS2MULT,
proto              75 drivers/input/serio/serio.c 	while (ids->type || ids->proto) {
proto              77 drivers/input/serio/serio.c 		    (ids->proto == SERIO_ANY || ids->proto == serio->id.proto) &&
proto             355 drivers/input/serio/serio.c 			serio->id.type, serio->id.proto, serio->id.id, serio->id.extra);
proto             367 drivers/input/serio/serio.c 	return sprintf(buf, "%02x\n", serio->id.proto);
proto             444 drivers/input/serio/serio.c static DEVICE_ATTR_RO(proto);
proto             912 drivers/input/serio/serio.c 	SERIO_ADD_UEVENT_VAR("SERIO_PROTO=%02x", serio->id.proto);
proto             917 drivers/input/serio/serio.c 				serio->id.type, serio->id.proto, serio->id.id, serio->id.extra);
proto             413 drivers/input/serio/serio_raw.c 		.proto	= SERIO_ANY,
proto             419 drivers/input/serio/serio_raw.c 		.proto	= SERIO_ANY,
proto             198 drivers/input/serio/serport.c 	serport->id.proto = type & 0x000000ff;
proto             597 drivers/input/tablet/wacom_serial4.c 		.proto	= SERIO_WACOM_IV,
proto             165 drivers/input/touchscreen/dynapro.c 		.proto	= SERIO_DYNAPRO,
proto             167 drivers/input/touchscreen/egalax_ts_serial.c 		.proto	= SERIO_EGALAX,
proto             384 drivers/input/touchscreen/elo.c 		.proto	= SERIO_ELO,
proto             153 drivers/input/touchscreen/fujitsu_ts.c 		.proto	= SERIO_FUJITSU,
proto             152 drivers/input/touchscreen/gunze.c 		.proto	= SERIO_GUNZE,
proto             164 drivers/input/touchscreen/hampshire.c 		.proto	= SERIO_HAMPSHIRE,
proto             166 drivers/input/touchscreen/inexio.c 		.proto	= SERIO_INEXIO,
proto             180 drivers/input/touchscreen/mtouch.c 		.proto	= SERIO_MICROTOUCH,
proto             295 drivers/input/touchscreen/penmount.c 		.proto	= SERIO_PENMOUNT,
proto             194 drivers/input/touchscreen/touchit213.c 		.proto	= SERIO_TOUCHIT213,
proto             154 drivers/input/touchscreen/touchright.c 		.proto	= SERIO_TOUCHRIGHT,
proto             161 drivers/input/touchscreen/touchwin.c 		.proto	= SERIO_TOUCHWIN,
proto             147 drivers/input/touchscreen/tsc40.c 		.proto  = SERIO_TSC40,
proto             689 drivers/input/touchscreen/wacom_w8001.c 		.proto	= SERIO_W8001,
proto              16 drivers/isdn/mISDN/socket.c static struct proto mISDN_proto = {
proto             776 drivers/isdn/mISDN/socket.c mISDN_sock_create(struct net *net, struct socket *sock, int proto, int kern)
proto             780 drivers/isdn/mISDN/socket.c 	switch (proto) {
proto             782 drivers/isdn/mISDN/socket.c 		err = base_sock_create(net, sock, proto, kern);
proto             796 drivers/isdn/mISDN/socket.c 		err = data_sock_create(net, sock, proto, kern);
proto              24 drivers/media/pci/ttpci/av7110_ir.c 	enum rc_proto proto;
proto              37 drivers/media/pci/ttpci/av7110_ir.c 			proto = RC_PROTO_RC5;
proto              43 drivers/media/pci/ttpci/av7110_ir.c 			proto = RC_PROTO_RCMM32;
proto              59 drivers/media/pci/ttpci/av7110_ir.c 			proto = RC_PROTO_RC5;
proto              67 drivers/media/pci/ttpci/av7110_ir.c 		rc_keydown(rcdev, proto, scancode, toggle != 0);
proto             541 drivers/media/rc/img-ir/img-ir-hw.c 			       u64 proto)
proto             603 drivers/media/rc/img-ir/img-ir-hw.c 	if (!proto)
proto             604 drivers/media/rc/img-ir/img-ir-hw.c 		proto = decoder->type;
proto             605 drivers/media/rc/img-ir/img-ir-hw.c 	hw->enabled_protocols = proto;
proto             697 drivers/media/rc/img-ir/img-ir-hw.c static void img_ir_set_protocol(struct img_ir_priv *priv, u64 proto)
proto             702 drivers/media/rc/img-ir/img-ir-hw.c 	rdev->enabled_protocols = proto;
proto             703 drivers/media/rc/img-ir/img-ir-hw.c 	rdev->allowed_wakeup_protocols = proto;
proto            1632 drivers/media/rc/imon.c 			enum rc_proto proto;
proto            1635 drivers/media/rc/imon.c 				proto = RC_PROTO_RC6_MCE;
proto            1637 drivers/media/rc/imon.c 				proto = RC_PROTO_IMON;
proto            1641 drivers/media/rc/imon.c 			rc_keydown(ictx->rdev, proto, ictx->rc_scancode,
proto             178 drivers/media/rc/rc-core-priv.h bool rc_validate_scancode(enum rc_proto proto, u32 scancode);
proto             860 drivers/media/rc/rc-main.c bool rc_validate_scancode(enum rc_proto proto, u32 scancode)
proto             862 drivers/media/rc/rc-main.c 	switch (proto) {
proto              58 drivers/media/rc/tango-ir.c 	enum rc_proto proto;
proto              66 drivers/media/rc/tango-ir.c 	code = ir_nec_bytes_to_scancode(v, v >> 8, v >> 16, v >> 24, &proto);
proto              67 drivers/media/rc/tango-ir.c 	rc_keydown(ir->rc, proto, code, 0);
proto             677 drivers/media/rc/winbond-cir.c 	u8 proto;
proto             705 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_RC5;
proto             719 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_NEC;
proto             733 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_NEC;
proto             747 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_NEC;
proto             770 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_RC6;
proto             817 drivers/media/rc/winbond-cir.c 		proto = IR_PROTOCOL_RC6;
proto             847 drivers/media/rc/winbond-cir.c 			       (proto << 4) | 0x01, 0x31);
proto            1181 drivers/media/usb/dvb-usb-v2/af9015.c 		enum rc_proto proto;
proto            1197 drivers/media/usb/dvb-usb-v2/af9015.c 				proto = RC_PROTO_NEC;
proto            1203 drivers/media/usb/dvb-usb-v2/af9015.c 				proto = RC_PROTO_NECX;
proto            1211 drivers/media/usb/dvb-usb-v2/af9015.c 			proto = RC_PROTO_NEC32;
proto            1213 drivers/media/usb/dvb-usb-v2/af9015.c 		rc_keydown(d->rc_dev, proto, state->rc_keycode, 0);
proto            1824 drivers/media/usb/dvb-usb-v2/af9035.c 	enum rc_proto proto;
proto            1839 drivers/media/usb/dvb-usb-v2/af9035.c 			proto = RC_PROTO_NEC;
proto            1843 drivers/media/usb/dvb-usb-v2/af9035.c 			proto = RC_PROTO_NECX;
proto            1849 drivers/media/usb/dvb-usb-v2/af9035.c 		proto = RC_PROTO_NEC32;
proto            1854 drivers/media/usb/dvb-usb-v2/af9035.c 	rc_keydown(d->rc_dev, proto, key, 0);
proto             203 drivers/media/usb/dvb-usb-v2/az6007.c 	enum rc_proto proto;
proto             213 drivers/media/usb/dvb-usb-v2/az6007.c 			proto = RC_PROTO_NEC;
proto             217 drivers/media/usb/dvb-usb-v2/az6007.c 			proto = RC_PROTO_NECX;
proto             224 drivers/media/usb/dvb-usb-v2/az6007.c 		proto = RC_PROTO_NEC32;
proto             227 drivers/media/usb/dvb-usb-v2/az6007.c 	rc_keydown(d->rc_dev, proto, code, st->data[5]);
proto            1657 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		enum rc_proto proto;
proto            1663 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				proto = RC_PROTO_NEC;
proto            1668 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 				proto = RC_PROTO_NECX;
proto            1674 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 			proto = RC_PROTO_NEC32;
proto            1677 drivers/media/usb/dvb-usb-v2/rtl28xxu.c 		rc_keydown(d->rc_dev, proto, rc_code, 0);
proto             100 drivers/media/usb/dvb-usb/dtt200u.c 		enum rc_proto proto = RC_PROTO_NEC;
proto             107 drivers/media/usb/dvb-usb/dtt200u.c 			proto = RC_PROTO_NECX;
proto             114 drivers/media/usb/dvb-usb/dtt200u.c 			rc_keydown(d->rc_dev, proto, scancode, 0);
proto             742 drivers/media/usb/pulse8-cec/pulse8-cec.c 		.proto	= SERIO_PULSE8_CEC,
proto             360 drivers/media/usb/rainshadow-cec/rainshadow-cec.c 		.proto	= SERIO_RAINSHADOW_CEC,
proto              38 drivers/misc/ti-st/st_core.c 		struct st_proto_s *proto)
proto              40 drivers/misc/ti-st/st_core.c 	pr_info("%s: id %d\n", __func__, proto->chnl_id);
proto              42 drivers/misc/ti-st/st_core.c 	st_gdata->is_registered[proto->chnl_id] = false;
proto             228 drivers/misc/ti-st/st_core.c 	struct st_proto_s *proto;
proto             274 drivers/misc/ti-st/st_core.c 				proto = st_gdata->list[st_gdata->rx_chnl];
proto             277 drivers/misc/ti-st/st_core.c 				[proto->offset_len_in_hdr];
proto             279 drivers/misc/ti-st/st_core.c 				if (proto->len_size == 1)/* 1 byte len field */
proto             281 drivers/misc/ti-st/st_core.c 				else if (proto->len_size == 2)
proto             287 drivers/misc/ti-st/st_core.c 					__func__, proto->chnl_id);
proto             288 drivers/misc/ti-st/st_core.c 				st_check_data_len(st_gdata, proto->chnl_id,
proto             291 drivers/misc/ti-st/st_core.c 					proto->offset_len_in_hdr, payload_len);
proto             628 drivers/misc/ti-st/st_core.c long st_unregister(struct st_proto_s *proto)
proto             634 drivers/misc/ti-st/st_core.c 	pr_debug("%s: %d ", __func__, proto->chnl_id);
proto             637 drivers/misc/ti-st/st_core.c 	if (!st_gdata || proto->chnl_id >= ST_MAX_CHANNELS) {
proto             638 drivers/misc/ti-st/st_core.c 		pr_err(" chnl_id %d not supported", proto->chnl_id);
proto             644 drivers/misc/ti-st/st_core.c 	if (st_gdata->is_registered[proto->chnl_id] == false) {
proto             645 drivers/misc/ti-st/st_core.c 		pr_err(" chnl_id %d not registered", proto->chnl_id);
proto             653 drivers/misc/ti-st/st_core.c 	remove_channel_from_table(st_gdata, proto);
proto             111 drivers/mtd/spi-nor/hisi-sfc.c static int hisi_spi_nor_get_if_type(enum spi_nor_protocol proto)
proto             115 drivers/mtd/spi-nor/hisi-sfc.c 	switch (proto) {
proto            2783 drivers/mtd/spi-nor/spi-nor.c 			  enum spi_nor_protocol proto)
proto            2788 drivers/mtd/spi-nor/spi-nor.c 	read->proto = proto;
proto            2794 drivers/mtd/spi-nor/spi-nor.c 			enum spi_nor_protocol proto)
proto            2797 drivers/mtd/spi-nor/spi-nor.c 	pp->proto = proto;
proto            2968 drivers/mtd/spi-nor/spi-nor.c 	op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(read->proto);
proto            2969 drivers/mtd/spi-nor/spi-nor.c 	op.addr.buswidth = spi_nor_get_protocol_addr_nbits(read->proto);
proto            2970 drivers/mtd/spi-nor/spi-nor.c 	op.data.buswidth = spi_nor_get_protocol_data_nbits(read->proto);
proto            2994 drivers/mtd/spi-nor/spi-nor.c 	op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(pp->proto);
proto            2995 drivers/mtd/spi-nor/spi-nor.c 	op.addr.buswidth = spi_nor_get_protocol_addr_nbits(pp->proto);
proto            2996 drivers/mtd/spi-nor/spi-nor.c 	op.data.buswidth = spi_nor_get_protocol_data_nbits(pp->proto);
proto            3076 drivers/mtd/spi-nor/spi-nor.c 				    enum spi_nor_protocol proto)
proto            3081 drivers/mtd/spi-nor/spi-nor.c 	read->proto = proto;
proto            3104 drivers/mtd/spi-nor/spi-nor.c 	enum spi_nor_protocol	proto;
proto            3432 drivers/mtd/spi-nor/spi-nor.c 		spi_nor_set_read_settings_from_bfpt(read, half, rd->proto);
proto            4179 drivers/mtd/spi-nor/spi-nor.c 	nor->read_proto = read->proto;
proto            4210 drivers/mtd/spi-nor/spi-nor.c 	nor->write_proto = pp->proto;
proto             224 drivers/net/arcnet/arcdevice.h 	struct ArcProto *proto;	/* protocol driver that owns this:
proto             351 drivers/net/arcnet/arcdevice.h void arcnet_unregister_proto(struct ArcProto *proto);
proto             264 drivers/net/arcnet/arcnet.c void arcnet_unregister_proto(struct ArcProto *proto)
proto             268 drivers/net/arcnet/arcnet.c 	if (arc_proto_default == proto)
proto             270 drivers/net/arcnet/arcnet.c 	if (arc_bcast_proto == proto)
proto             272 drivers/net/arcnet/arcnet.c 	if (arc_raw_proto == proto)
proto             276 drivers/net/arcnet/arcnet.c 		if (arc_proto_map[count] == proto)
proto             601 drivers/net/arcnet/arcnet.c 	struct ArcProto *proto;
proto             615 drivers/net/arcnet/arcnet.c 		proto = arc_raw_proto;
proto             617 drivers/net/arcnet/arcnet.c 			   proto->suffix);
proto             635 drivers/net/arcnet/arcnet.c 		proto = arc_proto_map[proto_num];
proto             637 drivers/net/arcnet/arcnet.c 			   proto_num, proto->suffix);
proto             638 drivers/net/arcnet/arcnet.c 		if (proto == &arc_proto_null && arc_bcast_proto != proto) {
proto             641 drivers/net/arcnet/arcnet.c 			proto = arc_bcast_proto;
proto             644 drivers/net/arcnet/arcnet.c 	return proto->build_header(skb, dev, type, _daddr);
proto             654 drivers/net/arcnet/arcnet.c 	struct ArcProto *proto;
proto             665 drivers/net/arcnet/arcnet.c 	proto = arc_proto_map[soft->proto];
proto             673 drivers/net/arcnet/arcnet.c 	if (skb->len - ARC_HDR_SIZE > XMTU && !proto->continue_tx) {
proto             691 drivers/net/arcnet/arcnet.c 		if (proto->prepare_tx(dev, pkt, skb->len, txbuf) &&
proto             692 drivers/net/arcnet/arcnet.c 		    !proto->ack_tx) {
proto             699 drivers/net/arcnet/arcnet.c 			lp->outgoing.proto = proto;
proto             703 drivers/net/arcnet/arcnet.c 			if (proto->continue_tx &&
proto             704 drivers/net/arcnet/arcnet.c 			    proto->continue_tx(dev, txbuf)) {
proto             707 drivers/net/arcnet/arcnet.c 					   proto->suffix);
proto             928 drivers/net/arcnet/arcnet.c 				if (lp->outgoing.proto &&
proto             929 drivers/net/arcnet/arcnet.c 				    lp->outgoing.proto->ack_tx) {
proto             930 drivers/net/arcnet/arcnet.c 					lp->outgoing.proto
proto             947 drivers/net/arcnet/arcnet.c 			if (lp->outgoing.proto &&
proto             948 drivers/net/arcnet/arcnet.c 			    lp->outgoing.proto->continue_tx) {
proto             952 drivers/net/arcnet/arcnet.c 					if (lp->outgoing.proto->continue_tx(dev, txbuf)) {
proto             955 drivers/net/arcnet/arcnet.c 						if (!lp->outgoing.proto->ack_tx) {
proto             957 drivers/net/arcnet/arcnet.c 							lp->outgoing.proto = NULL;
proto            1099 drivers/net/arcnet/arcnet.c 	if (arc_proto_map[soft->proto]->is_ip) {
proto            1103 drivers/net/arcnet/arcnet.c 			*newp = arc_proto_map[soft->proto];
proto            1108 drivers/net/arcnet/arcnet.c 					   soft->proto, rxdata.pkt.hard.source,
proto            1114 drivers/net/arcnet/arcnet.c 		lp->default_proto[0] = soft->proto;
proto            1117 drivers/net/arcnet/arcnet.c 		lp->default_proto[rxdata.pkt.hard.source] = soft->proto;
proto            1120 drivers/net/arcnet/arcnet.c 	arc_proto_map[soft->proto]->rx(dev, bufnum, &rxdata.pkt, length);
proto            1128 drivers/net/arcnet/arcnet.c 		   pkthdr->soft.rfc1201.proto, pkthdr->hard.source);
proto              77 drivers/net/arcnet/capmode.c 	memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto));
proto              78 drivers/net/arcnet/capmode.c 	memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int),
proto              79 drivers/net/arcnet/capmode.c 	       pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto),
proto              80 drivers/net/arcnet/capmode.c 	       sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto));
proto             171 drivers/net/arcnet/capmode.c 	lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto,
proto             172 drivers/net/arcnet/capmode.c 			    sizeof(pkt->soft.cap.proto));
proto             212 drivers/net/arcnet/capmode.c 	ackpkt->soft.cap.proto = 0; /* using protocol 0 for acknowledge */
proto             226 drivers/net/arcnet/capmode.c 	lp->outgoing.proto = NULL;
proto             105 drivers/net/arcnet/rfc1051.c 	switch (soft->proto) {
proto             171 drivers/net/arcnet/rfc1051.c 		soft->proto = ARC_P_IP_RFC1051;
proto             174 drivers/net/arcnet/rfc1051.c 		soft->proto = ARC_P_ARP_RFC1051;
proto             109 drivers/net/arcnet/rfc1201.c 	switch (soft->proto) {
proto             207 drivers/net/arcnet/rfc1201.c 		if (soft->proto == ARC_P_ARP) {
proto             388 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_IP;
proto             391 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_IPV6;
proto             394 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_ARP;
proto             397 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_RARP;
proto             402 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_IPX;
proto             405 drivers/net/arcnet/rfc1201.c 		soft->proto = ARC_P_ATALK;
proto             456 drivers/net/arcnet/rfc1201.c 		excsoft.proto = soft->proto;
proto             531 drivers/net/arcnet/rfc1201.c 		newsoft->proto = soft->proto;
proto             280 drivers/net/bonding/bond_main.c 				__be16 proto, u16 vid)
proto             288 drivers/net/bonding/bond_main.c 		res = vlan_vid_add(slave->dev, proto, vid);
proto             301 drivers/net/bonding/bond_main.c 		vlan_vid_del(rollback_slave->dev, proto, vid);
proto             313 drivers/net/bonding/bond_main.c 				 __be16 proto, u16 vid)
proto             320 drivers/net/bonding/bond_main.c 		vlan_vid_del(slave->dev, proto, vid);
proto            3258 drivers/net/bonding/bond_main.c 	int noff, proto = -1;
proto            3272 drivers/net/bonding/bond_main.c 			proto = iph->protocol;
proto            3279 drivers/net/bonding/bond_main.c 		proto = iph6->nexthdr;
proto            3283 drivers/net/bonding/bond_main.c 	if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34 && proto >= 0)
proto            3284 drivers/net/bonding/bond_main.c 		fk->ports.ports = skb_flow_get_ports(skb, noff, proto);
proto             300 drivers/net/dsa/microchip/ksz9477.c 	enum dsa_tag_protocol proto = DSA_TAG_PROTO_KSZ9477;
proto             304 drivers/net/dsa/microchip/ksz9477.c 		proto = DSA_TAG_PROTO_KSZ9893;
proto             305 drivers/net/dsa/microchip/ksz9477.c 	return proto;
proto             598 drivers/net/ethernet/adaptec/starfire.c 				  __be16 proto, u16 vid)
proto             613 drivers/net/ethernet/adaptec/starfire.c 				   __be16 proto, u16 vid)
proto            2374 drivers/net/ethernet/amazon/ena/ena_com.c 			  enum ena_admin_flow_hash_proto proto,
proto            2389 drivers/net/ethernet/amazon/ena/ena_com.c 		*fields = rss->hash_ctrl->selected_fields[proto].fields;
proto            2502 drivers/net/ethernet/amazon/ena/ena_com.c 			   enum ena_admin_flow_hash_proto proto,
proto            2510 drivers/net/ethernet/amazon/ena/ena_com.c 	if (proto >= ENA_ADMIN_RSS_PROTO_NUM) {
proto            2511 drivers/net/ethernet/amazon/ena/ena_com.c 		pr_err("Invalid proto num (%u)\n", proto);
proto            2516 drivers/net/ethernet/amazon/ena/ena_com.c 	rc = ena_com_get_hash_ctrl(ena_dev, proto, NULL);
proto            2521 drivers/net/ethernet/amazon/ena/ena_com.c 	supported_fields = hash_ctrl->supported_fields[proto].fields;
proto            2524 drivers/net/ethernet/amazon/ena/ena_com.c 		       proto, hash_fields, supported_fields);
proto            2527 drivers/net/ethernet/amazon/ena/ena_com.c 	hash_ctrl->selected_fields[proto].fields = hash_fields;
proto             728 drivers/net/ethernet/amazon/ena/ena_com.h 			   enum ena_admin_flow_hash_proto proto,
proto             755 drivers/net/ethernet/amazon/ena/ena_com.h 			  enum ena_admin_flow_hash_proto proto,
proto             491 drivers/net/ethernet/amazon/ena/ena_ethtool.c 	enum ena_admin_flow_hash_proto proto;
proto             499 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_TCP4;
proto             502 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_UDP4;
proto             505 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_TCP6;
proto             508 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_UDP6;
proto             511 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_IP4;
proto             514 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_IP6;
proto             517 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_NOT_IP;
proto             530 drivers/net/ethernet/amazon/ena/ena_ethtool.c 	rc = ena_com_get_hash_ctrl(ena_dev, proto, &hash_fields);
proto             542 drivers/net/ethernet/amazon/ena/ena_ethtool.c 	enum ena_admin_flow_hash_proto proto;
proto             547 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_TCP4;
proto             550 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_UDP4;
proto             553 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_TCP6;
proto             556 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_UDP6;
proto             559 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_IP4;
proto             562 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_IP6;
proto             565 drivers/net/ethernet/amazon/ena/ena_ethtool.c 		proto = ENA_ADMIN_RSS_NOT_IP;
proto             580 drivers/net/ethernet/amazon/ena/ena_ethtool.c 	return ena_com_fill_hash_ctrl(ena_dev, proto, hash_fields);
proto            2192 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static int xgbe_vlan_rx_add_vid(struct net_device *netdev, __be16 proto,
proto            2208 drivers/net/ethernet/amd/xgbe/xgbe-drv.c static int xgbe_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto,
proto             312 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 	u8 ethhdr, proto = 0, csum_enable = 0;
proto             333 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		proto = TSO_IPPROTO_TCP;
proto             372 drivers/net/ethernet/apm/xgene/xgene_enet_main.c 		    SET_VAL(IS, proto) |
proto              26 drivers/net/ethernet/aquantia/atlantic/aq_filters.c 		switch (fsp->h_u.usr_ip4_spec.proto) {
proto             200 drivers/net/ethernet/aquantia/atlantic/aq_main.c static int aq_ndo_vlan_rx_add_vid(struct net_device *ndev, __be16 proto,
proto             213 drivers/net/ethernet/aquantia/atlantic/aq_main.c static int aq_ndo_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto,
proto            13067 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            13088 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c static int bnx2x_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1340 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		__be16 proto = *((__be16 *)(skb->data + inner_ip_off -
proto            1347 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		if (proto != htons(ETH_P_IP) && proto != htons(ETH_P_IPV6))
proto            1376 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		__be16 proto = *((__be16 *)(skb->data + outer_ip_off -
proto            1379 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		bnxt_gro_tunnel(skb, proto);
proto            1405 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		__be16 proto = *((__be16 *)(skb->data + outer_ip_off -
proto            1408 drivers/net/ethernet/broadcom/bnxt/bnxt.c 		bnxt_gro_tunnel(skb, proto);
proto              89 drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c 		actions->push_vlan_tpid = act->vlan.proto;
proto            1269 drivers/net/ethernet/broadcom/cnic.c 		cp->ctx_tbl[i].proto.iscsi = &cp->iscsi_tbl[i];
proto            1594 drivers/net/ethernet/broadcom/cnic.c 		struct cnic_iscsi *iscsi = ctx->proto.iscsi;
proto            1613 drivers/net/ethernet/broadcom/cnic.c 	struct cnic_iscsi *iscsi = ctx->proto.iscsi;
proto            1696 drivers/net/ethernet/broadcom/cnic.c 	struct cnic_iscsi *iscsi = ctx->proto.iscsi;
proto             174 drivers/net/ethernet/broadcom/cnic.h 	} proto;
proto            2862 drivers/net/ethernet/brocade/bna/bnad.c 			u8 proto = 0;
proto            2865 drivers/net/ethernet/brocade/bna/bnad.c 				proto = ip_hdr(skb)->protocol;
proto            2869 drivers/net/ethernet/brocade/bna/bnad.c 				proto = ipv6_hdr(skb)->nexthdr;
proto            2872 drivers/net/ethernet/brocade/bna/bnad.c 			if (proto == IPPROTO_TCP) {
proto            2886 drivers/net/ethernet/brocade/bna/bnad.c 			} else if (proto == IPPROTO_UDP) {
proto            3316 drivers/net/ethernet/brocade/bna/bnad.c bnad_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            3337 drivers/net/ethernet/brocade/bna/bnad.c bnad_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            2579 drivers/net/ethernet/cavium/liquidio/lio_main.c 				    __be16 proto __attribute__((unused)),
proto            2608 drivers/net/ethernet/cavium/liquidio/lio_main.c 				     __be16 proto __attribute__((unused)),
proto            1646 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 			 __be16 proto __attribute__((unused)), u16 vid)
proto            1674 drivers/net/ethernet/cavium/liquidio/lio_vf_main.c 			  __be16 proto __attribute__((unused)), u16 vid)
proto            1333 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 	int proto;
proto            1367 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		proto = (ip.v4->version == 4) ? ip.v4->protocol :
proto            1370 drivers/net/ethernet/cavium/thunder/nicvf_queues.c 		switch (proto) {
proto             422 drivers/net/ethernet/chelsio/cxgb3/common.h 	u8 proto;
proto             166 drivers/net/ethernet/chelsio/cxgb3/cxgb3_ioctl.h 	uint8_t proto;
proto            3004 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 	key[3] = tp->proto | (tp->vlan << 8) | (tp->intf << 20);
proto            1154 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	uint32_t proto:PROTO_BITWIDTH;          /* protocol type */
proto             264 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	    unsupported(fconf, PROTOCOL_F, fs->val.proto, fs->mask.proto) ||
proto             641 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	fwr->ptcl = f->fs.val.proto;
proto             642 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	fwr->ptclm = f->fs.mask.proto;
proto             807 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 	if (fs->val.proto && !fs->mask.proto)
proto             808 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		fs->mask.proto |= ~0;
proto             932 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		ntuple_mask |= (u64)fs->mask.proto << tp->protocol_shift;
proto             969 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 		if (!fs->val.proto)
proto             972 drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c 			ntuple |= (u64)fs->val.proto << tp->protocol_shift;
proto            2522 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		f->fs.val.proto = IPPROTO_TCP;
proto            2523 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 		f->fs.mask.proto = ~0;
proto             115 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 		fs->val.proto = match.key->ip_proto;
proto             116 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 		fs->mask.proto = match.mask->ip_proto;
proto             592 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 			u16 proto = be16_to_cpu(act->vlan.proto);
proto             599 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c 				if (proto != ETH_P_8021Q) {
proto              79 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->val.proto  = (ntohl(val)  >> 16) & 0x000000FF;
proto              80 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->mask.proto = (ntohl(mask) >> 16) & 0x000000FF;
proto             125 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->val.proto  = (ntohl(val)  >> 8) & 0x000000FF;
proto             126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32_parse.h 	f->mask.proto = (ntohl(mask) >> 8) & 0x000000FF;
proto            1097 drivers/net/ethernet/chelsio/cxgb4/sge.c 	u16 proto, ver;
proto            1105 drivers/net/ethernet/chelsio/cxgb4/sge.c 		proto = (ver == 4) ? inner_ip_hdr(skb)->protocol :
proto            1109 drivers/net/ethernet/chelsio/cxgb4/sge.c 		proto = (ver == 4) ? ip_hdr(skb)->protocol :
proto            1114 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (proto == IPPROTO_TCP)
proto            1116 drivers/net/ethernet/chelsio/cxgb4/sge.c 		else if (proto == IPPROTO_UDP)
proto            1129 drivers/net/ethernet/chelsio/cxgb4/sge.c 		if (proto == IPPROTO_TCP)
proto            1131 drivers/net/ethernet/chelsio/cxgb4/sge.c 		else if (proto == IPPROTO_UDP)
proto             181 drivers/net/ethernet/cisco/enic/enic_dev.c int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto             194 drivers/net/ethernet/cisco/enic/enic_dev.c int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto              50 drivers/net/ethernet/cisco/enic/enic_dev.h int enic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid);
proto              51 drivers/net/ethernet/cisco/enic/enic_dev.h int enic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid);
proto             286 drivers/net/ethernet/cisco/enic/enic_main.c 	u8 proto;
proto             297 drivers/net/ethernet/cisco/enic/enic_main.c 		proto = ipv6_hdr(skb)->nexthdr;
proto             300 drivers/net/ethernet/cisco/enic/enic_main.c 		proto = ip_hdr(skb)->protocol;
proto             318 drivers/net/ethernet/cisco/enic/enic_main.c 	if (proto == IPPROTO_UDP) {
proto             836 drivers/net/ethernet/emulex/benet/be_main.c 	u16 proto;
proto             846 drivers/net/ethernet/emulex/benet/be_main.c 			proto = skb_inner_ip_proto(skb);
proto             848 drivers/net/ethernet/emulex/benet/be_main.c 			proto = skb_ip_proto(skb);
proto             850 drivers/net/ethernet/emulex/benet/be_main.c 		if (proto == IPPROTO_TCP)
proto             852 drivers/net/ethernet/emulex/benet/be_main.c 		else if (proto == IPPROTO_UDP)
proto            1573 drivers/net/ethernet/emulex/benet/be_main.c static int be_vlan_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            1596 drivers/net/ethernet/emulex/benet/be_main.c static int be_vlan_rem_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto             327 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 	if (uip_mask->proto) {
proto             329 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 		*(u8 *)(key + off) = uip_value->proto;
proto             330 drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c 		*(u8 *)(mask + off) = uip_mask->proto;
proto             384 drivers/net/ethernet/freescale/enetc/enetc_pf.c 				u8 qos, __be16 proto)
proto             395 drivers/net/ethernet/freescale/enetc/enetc_pf.c 	if (proto != htons(ETH_P_8021Q))
proto             987 drivers/net/ethernet/freescale/gianfar_ethtool.c 	gfar_set_attribute(value->proto, mask->proto, RQFCR_PID_L4P, tab);
proto             484 drivers/net/ethernet/hisilicon/hns3/hnae3.h 	int (*set_vlan_filter)(struct hnae3_handle *handle, __be16 proto,
proto             487 drivers/net/ethernet/hisilicon/hns3/hnae3.h 				  u16 vlan, u8 qos, __be16 proto);
proto            1612 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				__be16 proto, u16 vid)
proto            1618 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ret = h->ae_algo->ops->set_vlan_filter(h, proto, vid, false);
proto            1624 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				 __be16 proto, u16 vid)
proto            1630 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ret = h->ae_algo->ops->set_vlan_filter(h, proto, vid, true);
proto            5192 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		if (!usr_ip4_spec->proto)
proto            5417 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples.ip_proto = fs->h_u.usr_ip4_spec.proto;
proto            5418 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		rule->tuples_mask.ip_proto = fs->m_u.usr_ip4_spec.proto;
proto            5845 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->h_u.usr_ip4_spec.proto = rule->tuples.ip_proto;
proto            5846 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		fs->m_u.usr_ip4_spec.proto =
proto            7616 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				    __be16 proto)
proto            7697 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_port_vlan_filter(struct hclge_dev *hdev, __be16 proto,
proto            7725 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c static int hclge_set_vlan_filter_hw(struct hclge_dev *hdev, __be16 proto,
proto            7736 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				       proto);
proto            7768 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_set_port_vlan_filter(hdev, proto, vlan_id,
proto            8259 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 				    u16 vlan, u8 qos, __be16 proto)
proto            8273 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	if (proto != htons(ETH_P_8021Q))
proto            8285 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	vlan_info.vlan_proto = ntohs(proto);
proto            8303 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 							ntohs(proto));
proto            8308 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
proto            8332 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 		ret = hclge_set_vlan_filter_hw(hdev, proto, vport->vport_id,
proto             680 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h 	u16 proto;
proto             957 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
proto             319 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		u16 vlan, proto;
proto             324 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		proto =  msg_cmd->proto;
proto             325 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 		status = hclge_set_vlan_filter(handle, cpu_to_be16(proto),
proto            1250 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 				   __be16 proto, u16 vlan_id,
proto            1261 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	if (proto != htons(ETH_P_8021Q))
proto            1275 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 	memcpy(&msg_data[3], &proto, sizeof(proto));
proto             660 drivers/net/ethernet/huawei/hinic/hinic_main.c 				 __always_unused __be16 proto, u16 vid)
proto             698 drivers/net/ethernet/huawei/hinic/hinic_main.c 				  __always_unused __be16 proto, u16 vid)
proto             267 drivers/net/ethernet/huawei/hinic/hinic_tx.c static __sum16 csum_magic(union hinic_l3 *ip, unsigned short proto)
proto             270 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		csum_tcpudp_magic(ip->v4->saddr, ip->v4->daddr, 0, proto, 0) :
proto             271 drivers/net/ethernet/huawei/hinic/hinic_tx.c 		csum_ipv6_magic(&ip->v6->saddr, &ip->v6->daddr, 0, proto, 0);
proto            2085 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            2123 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1428 drivers/net/ethernet/ibm/ibmvnic.c 	u8 proto = 0;
proto            1529 drivers/net/ethernet/ibm/ibmvnic.c 		proto = ip_hdr(skb)->protocol;
proto            1532 drivers/net/ethernet/ibm/ibmvnic.c 		proto = ipv6_hdr(skb)->nexthdr;
proto            1535 drivers/net/ethernet/ibm/ibmvnic.c 	if (proto == IPPROTO_TCP)
proto            1537 drivers/net/ethernet/ibm/ibmvnic.c 	else if (proto == IPPROTO_UDP)
proto             149 drivers/net/ethernet/intel/e1000/e1000_main.c 				 __be16 proto, u16 vid);
proto             151 drivers/net/ethernet/intel/e1000/e1000_main.c 				  __be16 proto, u16 vid);
proto            4935 drivers/net/ethernet/intel/e1000/e1000_main.c 				 __be16 proto, u16 vid)
proto            4961 drivers/net/ethernet/intel/e1000/e1000_main.c 				  __be16 proto, u16 vid)
proto            2693 drivers/net/ethernet/intel/e1000e/netdev.c 				 __always_unused __be16 proto, u16 vid)
proto            2719 drivers/net/ethernet/intel/e1000e/netdev.c 				  __always_unused __be16 proto, u16 vid)
proto             660 drivers/net/ethernet/intel/fm10k/fm10k_main.c 	__be16 proto;
proto             642 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		__be16 proto;
proto             667 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		proto = vhdr->h_vlan_encapsulated_proto;
proto             668 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 		skb->protocol = (ntohs(proto) >= 1536) ? proto :
proto            1009 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 				 __always_unused __be16 proto, u16 vid)
proto            1016 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 				  __always_unused __be16 proto, u16 vid)
proto            3217 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		fsp->h_u.usr_ip4_spec.proto = 0;
proto            3218 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		fsp->m_u.usr_ip4_spec.proto = 0;
proto            4182 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		if (usr_ip4_spec->proto)
proto            4527 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	input->ip4_proto = fsp->h_u.usr_ip4_spec.proto;
proto            2873 drivers/net/ethernet/intel/i40e/i40e_main.c 				__always_unused __be16 proto, u16 vid)
proto            2896 drivers/net/ethernet/intel/i40e/i40e_main.c 				    __always_unused __be16 proto, u16 vid)
proto            2915 drivers/net/ethernet/intel/i40e/i40e_main.c 				 __always_unused __be16 proto, u16 vid)
proto             686 drivers/net/ethernet/intel/iavf/iavf_main.c 				__always_unused __be16 proto, u16 vid)
proto             704 drivers/net/ethernet/intel/iavf/iavf_main.c 				 __always_unused __be16 proto, u16 vid)
proto            2126 drivers/net/ethernet/intel/ice/ice_main.c ice_vlan_rx_add_vid(struct net_device *netdev, __always_unused __be16 proto,
proto            2171 drivers/net/ethernet/intel/ice/ice_main.c ice_vlan_rx_kill_vid(struct net_device *netdev, __always_unused __be16 proto,
proto            8623 drivers/net/ethernet/intel/igb/igb_main.c 			       __be16 proto, u16 vid)
proto            8639 drivers/net/ethernet/intel/igb/igb_main.c 				__be16 proto, u16 vid)
proto            1227 drivers/net/ethernet/intel/igbvf/netdev.c 				 __be16 proto, u16 vid)
proto            1247 drivers/net/ethernet/intel/igbvf/netdev.c 				  __be16 proto, u16 vid)
proto              79 drivers/net/ethernet/intel/ixgb/ixgb_main.c 				__be16 proto, u16 vid);
proto              81 drivers/net/ethernet/intel/ixgb/ixgb_main.c 				 __be16 proto, u16 vid);
proto            2146 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            2163 drivers/net/ethernet/intel/ixgb/ixgb_main.c ixgb_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            2447 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		fsp->h_u.usr_ip4_spec.proto = 0;
proto            2448 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		fsp->m_u.usr_ip4_spec.proto = 0;
proto            2647 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		switch (fsp->h_u.usr_ip4_spec.proto) {
proto            2658 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 			if (!fsp->m_u.usr_ip4_spec.proto) {
proto             393 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 						    __be32 *daddr, u8 proto,
proto             408 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		    proto == rsa->xs->id.proto) {
proto             572 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
proto             574 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 			   xs->id.proto);
proto             603 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		if (rsa.xs->id.proto & IPPROTO_ESP)
proto             675 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		if (rsa.xs->id.proto & IPPROTO_ESP)
proto             713 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		if (xs->id.proto & IPPROTO_ESP)
proto             914 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	xs->id.proto = sam->proto;
proto            1101 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	if (xs->id.proto == IPPROTO_ESP) {
proto            1168 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	u8 proto;
proto            1190 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		proto = IPPROTO_AH;
proto            1194 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 		proto = IPPROTO_ESP;
proto            1200 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c 	xs = ixgbe_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4);
proto              78 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.h 	u8 proto;
proto            4424 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 				 __be16 proto, u16 vid)
proto            4483 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 				  __be16 proto, u16 vid)
proto              30 drivers/net/ethernet/intel/ixgbevf/ipsec.c 	sam->proto = xs->id.proto;
proto             179 drivers/net/ethernet/intel/ixgbevf/ipsec.c 					       __be32 *daddr, u8 proto,
proto             192 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		    proto == rsa->xs->id.proto) {
proto             269 drivers/net/ethernet/intel/ixgbevf/ipsec.c 	if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
proto             271 drivers/net/ethernet/intel/ixgbevf/ipsec.c 			   xs->id.proto);
proto             295 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		if (rsa.xs->id.proto & IPPROTO_ESP)
proto             312 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		if (rsa.xs->id.proto & IPPROTO_ESP)
proto             349 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		if (xs->id.proto & IPPROTO_ESP)
proto             489 drivers/net/ethernet/intel/ixgbevf/ipsec.c 	if (xs->id.proto == IPPROTO_ESP) {
proto             555 drivers/net/ethernet/intel/ixgbevf/ipsec.c 	u8 proto;
proto             577 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		proto = IPPROTO_AH;
proto             581 drivers/net/ethernet/intel/ixgbevf/ipsec.c 		proto = IPPROTO_ESP;
proto             587 drivers/net/ethernet/intel/ixgbevf/ipsec.c 	xs = ixgbevf_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4);
proto              61 drivers/net/ethernet/intel/ixgbevf/ipsec.h 	u8 proto;
proto            2025 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 				   __be16 proto, u16 vid)
proto            2051 drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c 				    __be16 proto, u16 vid)
proto            3977 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            3989 drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c static int mvpp2_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             865 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip4_proto(struct mvpp2 *priv, unsigned short proto,
proto             871 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	if ((proto != IPPROTO_TCP) && (proto != IPPROTO_UDP) &&
proto             872 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	    (proto != IPPROTO_IGMP))
proto             901 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	mvpp2_prs_tcam_data_byte_set(&pe, 5, proto, MVPP2_PRS_TCAM_PROTO_MASK);
proto             987 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c static int mvpp2_prs_ip6_proto(struct mvpp2 *priv, unsigned short proto,
proto             993 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	if ((proto != IPPROTO_TCP) && (proto != IPPROTO_UDP) &&
proto             994 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	    (proto != IPPROTO_ICMPV6) && (proto != IPPROTO_IPIP))
proto            1014 drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c 	mvpp2_prs_tcam_data_byte_set(&pe, 0, proto, MVPP2_PRS_TCAM_PROTO_MASK);
proto            3010 drivers/net/ethernet/mellanox/mlx4/cmd.c 		     __be16 proto)
proto            3025 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if (proto == htons(ETH_P_8021AD) &&
proto            3029 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if (proto != htons(ETH_P_8021Q) &&
proto            3030 drivers/net/ethernet/mellanox/mlx4/cmd.c 	    proto != htons(ETH_P_8021AD))
proto            3033 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if ((proto == htons(ETH_P_8021AD)) &&
proto            3042 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if ((proto == htons(ETH_P_8021AD)) && (slave_state->active) &&
proto            3059 drivers/net/ethernet/mellanox/mlx4/cmd.c 	vf_admin->vlan_proto = proto;
proto            3071 drivers/net/ethernet/mellanox/mlx4/cmd.c 	if ((proto == htons(ETH_P_8021AD) &&
proto            3072 drivers/net/ethernet/mellanox/mlx4/cmd.c 	     vf_oper->state.vlan_proto != proto) ||
proto            1349 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (l3_mask->l4_4_bytes || l3_mask->tos || l3_mask->proto ||
proto            1478 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 			     struct list_head *list_h, int proto)
proto            1496 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (proto == TCP_V4_FLOW) {
proto             472 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 				   __be16 proto, u16 vid)
proto             502 drivers/net/ethernet/mellanox/mlx4/en_netdev.c 				    __be16 proto, u16 vid)
proto            1026 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		u8 proto;
proto            1029 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		proto = (ip.v4->version == 4) ? ip.v4->protocol :
proto            1032 drivers/net/ethernet/mellanox/mlx4/en_tx.c 		if (proto == IPPROTO_TCP || proto == IPPROTO_UDP)
proto             248 drivers/net/ethernet/mellanox/mlx4/intf.c void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port)
proto             258 drivers/net/ethernet/mellanox/mlx4/intf.c 		if (dev_ctx->intf->protocol == proto && dev_ctx->intf->get_dev) {
proto             983 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_vlan_rx_add_vid(struct net_device *dev, __always_unused __be16 proto,
proto             985 drivers/net/ethernet/mellanox/mlx5/core/en.h int mlx5e_vlan_rx_kill_vid(struct net_device *dev, __always_unused __be16 proto,
proto             186 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 			     u16 proto)
proto             199 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 		vlan->h_vlan_encapsulated_proto = htons(proto);
proto             201 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c 		eth->h_proto = htons(proto);
proto             239 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c 	if (x->id.proto != IPPROTO_ESP) {
proto             153 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 		if (xo->proto == IPPROTO_IPV6) {
proto             162 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 		swp_spec.tun_l4_proto = xo->proto;
proto             228 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 	mdata->content.tx.esp_next_proto = xo->proto;
proto             325 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c 			xo->proto = mdata->content.rx.nexthdr;
proto             612 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	int proto;
proto             615 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for_each_set_bit(proto, &proto_cap, max_size)
proto             617 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			  table[proto].supported,
proto             627 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	int proto;
proto             633 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	for_each_set_bit(proto, &proto_cap, max_size)
proto             635 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			  table[proto].advertised,
proto             359 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c int mlx5e_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             363 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	if (be16_to_cpu(proto) == ETH_P_8021Q)
proto             365 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	else if (be16_to_cpu(proto) == ETH_P_8021AD)
proto             371 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c int mlx5e_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             375 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	if (be16_to_cpu(proto) == ETH_P_8021Q) {
proto             378 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	} else if (be16_to_cpu(proto) == ETH_P_8021AD) {
proto             691 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	u8 proto;
proto             697 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_TCP,
proto             701 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_TCP,
proto             705 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_UDP,
proto             709 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_UDP,
proto             713 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_AH,
proto             717 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_AH,
proto             721 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_ESP,
proto             725 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_ESP,
proto             729 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = 0,
proto             733 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = 0,
proto             737 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = 0,
proto             744 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_GRE,
proto             748 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_GRE,
proto             752 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_IPIP,
proto             756 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_IPIP,
proto             760 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_IPV6,
proto             764 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		.proto = IPPROTO_IPV6,
proto             787 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		if (mlx5e_tunnel_proto_supported(mdev, ttc_tunnel_rules[tt].proto))
proto             815 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 			u8 proto)
proto             828 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	if (proto) {
proto             831 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		MLX5_SET(fte_match_param, spec->match_value, outer_headers.ip_protocol, proto);
proto             876 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 						    ttc_rules[tt].proto);
proto             889 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 						  ttc_tunnel_rules[tt].proto))
proto             893 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 						    ttc_tunnel_rules[tt].proto);
proto             978 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 			      u16 etype, u8 proto)
proto             997 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 	if (proto) {
proto            1000 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 		MLX5_SET(fte_match_param, spec->match_value, inner_headers.ip_protocol, proto);
proto            1035 drivers/net/ethernet/mellanox/mlx5/core/en_fs.c 							  ttc_rules[tt].proto);
proto             243 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	if (l3_mask->proto) {
proto             244 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 		MLX5E_FTE_SET(headers_c, ip_protocol, l3_mask->proto);
proto             245 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 		MLX5E_FTE_SET(headers_v, ip_protocol, l3_val->proto);
proto             545 drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c 	if (l3_mask->proto)
proto            4271 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	u8 proto;
proto            4276 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		proto = ip_hdr(skb)->protocol;
proto            4279 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 		proto = ipv6_find_hdr(skb, &offset, -1, NULL, NULL);
proto            4285 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	switch (proto) {
proto             734 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	__be16 proto;
proto             738 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	proto = __vlan_get_protocol(skb, eth->h_proto, &network_depth);
proto             743 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	if (proto == htons(ETH_P_IP)) {
proto             792 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 					__be16 *proto)
proto             794 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	*proto = ((struct ethhdr *)skb->data)->h_proto;
proto             795 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	*proto = __vlan_get_protocol(skb, *proto, network_depth);
proto             797 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	if (*proto == htons(ETH_P_IP))
proto             800 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	if (*proto == htons(ETH_P_IPV6))
proto             809 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	__be16 proto;
proto             813 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	if (unlikely(!is_last_ethertype_ip(skb, &network_depth, &proto)))
proto             817 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	rc = ((proto == htons(ETH_P_IP)) ? IP_ECN_set_ce((struct iphdr *)ip) :
proto             823 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c static u8 get_ip_proto(struct sk_buff *skb, int network_depth, __be16 proto)
proto             827 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	return (proto == htons(ETH_P_IP)) ? ((struct iphdr *)ip_p)->protocol :
proto             869 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_skb_csum_fixup(struct sk_buff *skb, int network_depth, __be16 proto,
proto             887 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	switch (proto) {
proto             914 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	__be16 proto;
proto             940 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 	if (likely(is_last_ethertype_ip(skb, &network_depth, &proto))) {
proto             941 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 		if (unlikely(get_ip_proto(skb, network_depth, proto) == IPPROTO_SCTP))
proto             952 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c 		mlx5e_skb_csum_fixup(skb, network_depth, proto, stats);
proto            3126 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 		attr->vlan_proto[vlan_idx] = act->vlan.proto;
proto            3138 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 			    (act->vlan.proto != htons(ETH_P_8021Q) ||
proto            3163 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c 		.vlan.proto = vlan_dev_vlan_proto(vlan_dev),
proto             572 drivers/net/ethernet/mellanox/mlxsw/reg.h 			     enum mlxsw_reg_sfd_uc_tunnel_protocol proto)
proto             581 drivers/net/ethernet/mellanox/mlxsw/reg.h 	mlxsw_reg_sfd_uc_tunnel_protocol_set(payload, rec_index, proto);
proto              94 drivers/net/ethernet/mellanox/mlxsw/spectrum.c MLXSW_ITEM32(tx, hdr, proto, 0x00, 21, 3);
proto            1297 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 				 __be16 __always_unused proto, u16 vid)
proto            1311 drivers/net/ethernet/mellanox/mlxsw/spectrum.c 				  __be16 __always_unused proto, u16 vid)
proto             724 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 				u32 action, u16 vid, u16 proto, u8 prio,
proto             945 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 				    enum mlxsw_sp_l3proto proto,
proto             949 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 			      enum mlxsw_sp_l3proto proto,
proto             953 drivers/net/ethernet/mellanox/mlxsw/spectrum.h 			       enum mlxsw_sp_l3proto proto,
proto              35 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	switch (key->proto) {
proto              67 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	switch (key->proto) {
proto              84 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 				  enum mlxsw_sp_l3proto proto)
proto              86 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	return &mr_tcam->tcam_regions[proto];
proto              98 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto);
proto             116 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c 	tcam_region = mlxsw_sp1_mr_tcam_protocol_region(mr_tcam, key->proto);
proto              23 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 				enum mlxsw_sp_l3proto proto)
proto              25 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 	switch (proto) {
proto             197 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 	switch (key->proto) {
proto             219 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 	ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto);
proto             250 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 	ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto);
proto             274 drivers/net/ethernet/mellanox/mlxsw/spectrum2_mr_tcam.c 	ruleset = mlxsw_sp2_mr_tcam_proto_ruleset(mr_tcam, key->proto);
proto             587 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c 				u32 action, u16 vid, u16 proto, u8 prio,
proto             593 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c 		switch (proto) {
proto             603 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c 				proto);
proto             122 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 			u16 proto = be16_to_cpu(act->vlan.proto);
proto             128 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c 							  proto, prio, extack);
proto              72 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c mlxsw_sp_ipip_netdev_saddr(enum mlxsw_sp_l3proto proto,
proto              78 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	switch (proto) {
proto             100 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c mlxsw_sp_ipip_netdev_daddr(enum mlxsw_sp_l3proto proto,
proto             106 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	switch (proto) {
proto             216 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c static bool mlxsw_sp_ipip_tunnel_complete(enum mlxsw_sp_l3proto proto,
proto             219 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	union mlxsw_sp_l3addr saddr = mlxsw_sp_ipip_netdev_saddr(proto, ol_dev);
proto             220 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.c 	union mlxsw_sp_l3addr daddr = mlxsw_sp_ipip_netdev_daddr(proto, ol_dev);
proto              17 drivers/net/ethernet/mellanox/mlxsw/spectrum_ipip.h mlxsw_sp_ipip_netdev_saddr(enum mlxsw_sp_l3proto proto,
proto              64 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 	enum mlxsw_sp_l3proto proto;
proto             795 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 	key->proto = MLXSW_SP_L3_PROTO_IPV4;
proto             839 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 	key->proto = MLXSW_SP_L3_PROTO_IPV6;
proto             886 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 						   enum mlxsw_sp_l3proto proto)
proto             892 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 			.proto = proto,
proto             910 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 	mr_table->proto = proto;
proto             911 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 	mr_table->ops = &mlxsw_sp_mr_table_ops_arr[proto];
proto             922 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.c 		mr_table->vifs[i].ops = &mlxsw_sp_mr_vif_ops_arr[proto];
proto              20 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h 	enum mlxsw_sp_l3proto proto;
proto              90 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h 						   enum mlxsw_sp_l3proto proto);
proto              64 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	enum mlxsw_sp_l3proto proto;
proto             178 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 				    enum mlxsw_sp_l3proto proto,
proto             181 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	switch (proto) {
proto             264 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 			      enum mlxsw_sp_l3proto proto)
proto             266 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	unsigned int num_max_entries = mlxsw_sp->nve->num_max_mc_entries[proto];
proto             280 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mc_record->ops = mlxsw_sp_nve_mc_record_ops_arr[proto];
proto             283 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mc_record->proto = proto;
proto             308 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 			   enum mlxsw_sp_l3proto proto)
proto             316 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 		if (mc_record->proto == proto &&
proto             317 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 		    num_entries < nve->num_max_mc_entries[proto])
proto             321 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	return mlxsw_sp_nve_mc_record_create(mlxsw_sp, mc_list, proto);
proto             340 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	num_max_entries = nve->num_max_mc_entries[mc_record->proto];
proto             375 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	num_max_entries = mlxsw_sp->nve->num_max_mc_entries[mc_record->proto];
proto             411 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	num_max_entries = nve->num_max_mc_entries[mc_record->proto];
proto             526 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 			    enum mlxsw_sp_l3proto proto,
proto             533 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 		if (mc_record->proto != proto)
proto             546 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 				       enum mlxsw_sp_l3proto proto,
proto             552 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mc_record = mlxsw_sp_nve_mc_record_get(mlxsw_sp, mc_list, proto);
proto             569 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 					enum mlxsw_sp_l3proto proto,
proto             575 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mc_record = mlxsw_sp_nve_mc_record_find(mc_list, proto, addr,
proto             625 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 			      enum mlxsw_sp_l3proto proto,
proto             637 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	err = mlxsw_sp_nve_mc_list_ip_add(mlxsw_sp, mc_list, proto, addr);
proto             648 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mlxsw_sp_nve_mc_list_ip_del(mlxsw_sp, mc_list, proto, addr);
proto             656 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 			       enum mlxsw_sp_l3proto proto,
proto             668 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	mlxsw_sp_nve_mc_list_ip_del(mlxsw_sp, mc_list, proto, addr);
proto             679 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c 	num_max_entries = nve->num_max_mc_entries[mc_record->proto];
proto             426 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_sp_l3proto proto;
proto             436 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_sp_l3proto proto;
proto             454 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						enum mlxsw_sp_l3proto proto)
proto             460 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	lpm_tree = mlxsw_sp->router->lpm.proto_trees[proto];
proto             468 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	fib->proto = proto;
proto             514 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			     (enum mlxsw_reg_ralxx_protocol) lpm_tree->proto,
proto             525 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			     (enum mlxsw_reg_ralxx_protocol) lpm_tree->proto,
proto             557 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			 enum mlxsw_sp_l3proto proto)
proto             565 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	lpm_tree->proto = proto;
proto             595 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		      enum mlxsw_sp_l3proto proto)
proto             603 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		    lpm_tree->proto == proto &&
proto             610 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return mlxsw_sp_lpm_tree_create(mlxsw_sp, prefix_usage, proto);
proto             715 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			     (enum mlxsw_reg_ralxx_protocol) fib->proto,
proto             727 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			     (enum mlxsw_reg_ralxx_protocol) fib->proto, 0);
proto             769 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					    enum mlxsw_sp_l3proto proto)
proto             771 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (proto) {
proto             868 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				    enum mlxsw_sp_l3proto proto, u8 tree_id)
proto             870 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto);
proto             904 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_sp_l3proto proto = fib->proto;
proto             910 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	old_tree = mlxsw_sp->router->lpm.proto_trees[proto];
proto             915 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (!mlxsw_sp_vr_lpm_tree_should_replace(vr, proto, old_id))
proto             918 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 						   mlxsw_sp_vr_fib(vr, proto),
proto             926 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_sp->router->lpm.proto_trees[proto] = new_tree;
proto             933 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		if (!mlxsw_sp_vr_lpm_tree_should_replace(vr, proto, new_id))
proto             936 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					     mlxsw_sp_vr_fib(vr, proto),
proto            1157 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				     enum mlxsw_sp_l3proto proto,
proto            1173 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	fib = mlxsw_sp_vr_fib(vr, proto);
proto            1175 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (proto) {
proto            2838 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_sp_l3proto proto;
proto            2895 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (cmp_arg->proto) {
proto            2958 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (cmp_arg->proto) {
proto            3006 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	cmp_arg.proto = MLXSW_SP_L3_PROTO_IPV4;
proto            3019 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	cmp_arg.proto = MLXSW_SP_L3_PROTO_IPV6;
proto            3063 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 			     (enum mlxsw_reg_ralxx_protocol) fib->proto,
proto            3983 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (fib_entry->fib_node->fib->proto) {
proto            4112 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (fib_entry->fib_node->fib->proto) {
proto            4125 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (fib_entry->fib_node->fib->proto) {
proto            4161 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_reg_ralxx_protocol proto;
proto            4164 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	proto = (enum mlxsw_reg_ralxx_protocol) fib->proto;
proto            4166 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (fib->proto) {
proto            4169 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_reg_ralue_pack4(ralue_pl, proto, op, fib->vr->id,
proto            4174 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_reg_ralue_pack6(ralue_pl, proto, op, fib->vr->id,
proto            4540 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	lpm_tree = mlxsw_sp->router->lpm.proto_trees[fib->proto];
proto            4547 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					 fib->proto);
proto            4581 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					 fib->proto);
proto            4631 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		      enum mlxsw_sp_l3proto proto)
proto            4641 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	fib = mlxsw_sp_vr_fib(vr, proto);
proto            5666 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 					    enum mlxsw_reg_ralxx_protocol proto,
proto            5673 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	mlxsw_reg_ralta_pack(ralta_pl, true, proto, tree_id);
proto            5688 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_reg_raltb_pack(raltb_pl, vr->id, proto, tree_id);
proto            5694 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 		mlxsw_reg_ralue_pack(ralue_pl, proto,
proto            5794 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	enum mlxsw_reg_ralxx_protocol proto = MLXSW_REG_RALXX_PROTOCOL_IPV4;
proto            5797 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	err = __mlxsw_sp_router_set_abort_trap(mlxsw_sp, proto,
proto            5806 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	proto = MLXSW_REG_RALXX_PROTOCOL_IPV6;
proto            5807 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	return __mlxsw_sp_router_set_abort_trap(mlxsw_sp, proto,
proto            5852 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	switch (fib_node->fib->proto) {
proto            5864 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 				  enum mlxsw_sp_l3proto proto)
proto            5866 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c 	struct mlxsw_sp_fib *fib = mlxsw_sp_vr_fib(vr, proto);
proto            1223 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					  enum mlxsw_sp_l3proto proto,
proto            1233 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	switch (proto) {
proto            2373 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 				      enum mlxsw_sp_l3proto *proto,
proto            2378 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		*proto = MLXSW_SP_L3_PROTO_IPV4;
proto            2381 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		*proto = MLXSW_SP_L3_PROTO_IPV6;
proto            2386 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c mlxsw_sp_switchdev_addr_vxlan_convert(enum mlxsw_sp_l3proto proto,
proto            2390 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	switch (proto) {
proto            2404 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					      enum mlxsw_sp_l3proto proto,
proto            2414 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	mlxsw_sp_switchdev_addr_vxlan_convert(proto, addr, &info.remote_ip);
proto            2426 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					    enum mlxsw_sp_l3proto proto,
proto            2432 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		mlxsw_sp_fdb_vxlan_call_notifiers(dev, mac, proto, addr, vni,
proto            2781 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	enum mlxsw_sp_l3proto proto;
proto            2791 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					      &proto, &addr);
proto            2798 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 						     proto, &addr, true, false);
proto            2812 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 						     proto, &addr, false,
proto            2932 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	enum mlxsw_sp_l3proto proto;
proto            2951 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					      &proto, &addr);
proto            2954 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		err = mlxsw_sp_nve_flood_ip_add(mlxsw_sp, fid, proto, &addr);
proto            2976 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					     mlxsw_sp_fid_index(fid), proto,
proto            3005 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 	enum mlxsw_sp_l3proto proto;
proto            3021 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 					      &proto, &addr);
proto            3024 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 		mlxsw_sp_nve_flood_ip_del(mlxsw_sp, fid, proto, &addr);
proto            3030 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c 				       mlxsw_sp_fid_index(fid), proto, &addr,
proto              60 drivers/net/ethernet/mellanox/mlxsw/switchib.c MLXSW_ITEM32(tx_v1, hdr, proto, 0x00, 21, 3);
proto              70 drivers/net/ethernet/mellanox/mlxsw/switchx2.c MLXSW_ITEM32(tx, hdr, proto, 0x00, 21, 3);
proto             941 drivers/net/ethernet/mscc/ocelot.c static int ocelot_vlan_rx_add_vid(struct net_device *dev, __be16 proto,
proto             947 drivers/net/ethernet/mscc/ocelot.c static int ocelot_vlan_rx_kill_vid(struct net_device *dev, __be16 proto,
proto             440 drivers/net/ethernet/mscc/ocelot_ace.c 		struct ocelot_vcap_u8 proto, ds;
proto             448 drivers/net/ethernet/mscc/ocelot_ace.c 			proto = ipv4->proto;
proto             469 drivers/net/ethernet/mscc/ocelot_ace.c 			proto = ipv6->proto;
proto             508 drivers/net/ethernet/mscc/ocelot_ace.c 		val = proto.value[0];
proto             509 drivers/net/ethernet/mscc/ocelot_ace.c 		msk = proto.mask[0];
proto             546 drivers/net/ethernet/mscc/ocelot_ace.c 			VCAP_KEY_BYTES_SET(IP4_OTHER_L3_PROTO, proto.value,
proto             547 drivers/net/ethernet/mscc/ocelot_ace.c 					   proto.mask);
proto             140 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_u8 proto;      /* Protocol */
proto             158 drivers/net/ethernet/mscc/ocelot_ace.h 	struct ocelot_vcap_u8 proto; /* IPv6 protocol */
proto              66 drivers/net/ethernet/mscc/ocelot_flower.c 		u16 proto = ntohs(f->common.protocol);
proto              81 drivers/net/ethernet/mscc/ocelot_flower.c 		if (proto == ETH_P_IP ||
proto              82 drivers/net/ethernet/mscc/ocelot_flower.c 		    proto == ETH_P_IPV6 ||
proto              83 drivers/net/ethernet/mscc/ocelot_flower.c 		    proto == ETH_P_ARP)
proto             105 drivers/net/ethernet/mscc/ocelot_flower.c 			ocelot_rule->frame.ipv4.proto.value[0] =
proto             107 drivers/net/ethernet/mscc/ocelot_flower.c 			ocelot_rule->frame.ipv4.proto.mask[0] =
proto             112 drivers/net/ethernet/mscc/ocelot_flower.c 			ocelot_rule->frame.ipv6.proto.value[0] =
proto             114 drivers/net/ethernet/mscc/ocelot_flower.c 			ocelot_rule->frame.ipv6.proto.mask[0] =
proto            1585 drivers/net/ethernet/neterion/vxge/vxge-config.h 	rxd_info->proto =
proto             490 drivers/net/ethernet/neterion/vxge/vxge-main.c 		if ((ext_info.proto & VXGE_HW_FRAME_PROTO_TCP_OR_UDP) &&
proto             491 drivers/net/ethernet/neterion/vxge/vxge-main.c 		    !(ext_info.proto & VXGE_HW_FRAME_PROTO_IP_FRAG) &&
proto            3300 drivers/net/ethernet/neterion/vxge/vxge-main.c vxge_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            3326 drivers/net/ethernet/neterion/vxge/vxge-main.c vxge_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1852 drivers/net/ethernet/neterion/vxge/vxge-traffic.h 	u32	proto;
proto              22 drivers/net/ethernet/netronome/nfp/abm/cls.c 			__be16 proto, struct netlink_ext_ack *extack)
proto              67 drivers/net/ethernet/netronome/nfp/abm/cls.c 	switch (proto) {
proto             172 drivers/net/ethernet/netronome/nfp/abm/cls.c 			  __be16 proto, struct netlink_ext_ack *extack)
proto             179 drivers/net/ethernet/netronome/nfp/abm/cls.c 	if (!nfp_abm_u32_check_knode(alink->abm, knode, proto, extack))
proto             182 drivers/net/ethernet/netronome/nfp/abm/cls.c 	tos_off = proto == htons(ETH_P_IP) ? 16 : 20;
proto              56 drivers/net/ethernet/netronome/nfp/flower/action.c 	push_mpls->ethtype = act->mpls_push.proto;
proto              70 drivers/net/ethernet/netronome/nfp/flower/action.c 	pop_mpls->ethtype = act->mpls_pop.proto;
proto             123 drivers/net/ethernet/netronome/nfp/flower/action.c 	push_vlan->vlan_tpid = act->vlan.proto;
proto             331 drivers/net/ethernet/netronome/nfp/flower/cmsg.h 	u8 proto;
proto             162 drivers/net/ethernet/netronome/nfp/flower/match.c 		ext->proto = match.key->ip_proto;
proto             163 drivers/net/ethernet/netronome/nfp/flower/match.c 		msk->proto = match.mask->ip_proto;
proto            1063 drivers/net/ethernet/netronome/nfp/flower/offload.c 		int ip_proto = offsetof(struct nfp_flower_ipv4, ip_ext.proto);
proto            3320 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            3344 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            1278 drivers/net/ethernet/pensando/ionic/ionic_lif.c static int ionic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto,
proto            1303 drivers/net/ethernet/pensando/ionic/ionic_lif.c static int ionic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto,
proto             485 drivers/net/ethernet/qlogic/qed/qed_cxt.c 					enum protocol_type proto,
proto             490 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	struct qed_tid_seg *p_seg = &p_mngr->conn_cfg[proto].tid_seg[seg];
proto            2071 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	enum protocol_type proto;
proto            2085 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_IWARP;
proto            2090 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_ROCE;
proto            2097 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		qed_cxt_set_proto_cid_count(p_hwfn, proto, num_cons, 0);
proto            2203 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	u32 proto, seg, total_lines, i, shadow_line;
proto            2211 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_FCOE;
proto            2215 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_ISCSI;
proto            2226 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	p_seg_info = &p_mngr->conn_cfg[proto].tid_seg[seg];
proto            2469 drivers/net/ethernet/qlogic/qed/qed_cxt.c int qed_cxt_free_proto_ilt(struct qed_hwfn *p_hwfn, enum protocol_type proto)
proto            2477 drivers/net/ethernet/qlogic/qed/qed_cxt.c 								proto),
proto            2479 drivers/net/ethernet/qlogic/qed/qed_cxt.c 								proto, &cid));
proto            2487 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	proto = PROTOCOLID_ROCE;
proto            2489 drivers/net/ethernet/qlogic/qed/qed_cxt.c 				    qed_cxt_get_proto_tid_count(p_hwfn, proto));
proto            2510 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	u32 proto, seg;
proto            2515 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_FCOE;
proto            2519 drivers/net/ethernet/qlogic/qed/qed_cxt.c 		proto = PROTOCOLID_ISCSI;
proto            2530 drivers/net/ethernet/qlogic/qed/qed_cxt.c 	p_seg_info = &p_mngr->conn_cfg[proto].tid_seg[seg];
proto             239 drivers/net/ethernet/qlogic/qed/qed_cxt.h int qed_cxt_free_proto_ilt(struct qed_hwfn *p_hwfn, enum protocol_type proto);
proto             122 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	cid -= qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto);
proto             159 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	*cid += qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto);
proto             170 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 	cid -= qed_cxt_get_proto_cid_start(p_hwfn, p_hwfn->p_rdma_info->proto);
proto             203 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 					    p_hwfn->p_rdma_info->proto);
proto             327 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto             494 drivers/net/ethernet/qlogic/qed/qed_iwarp.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto             106 drivers/net/ethernet/qlogic/qed/qed_ooo.c 	enum protocol_type proto;
proto             112 drivers/net/ethernet/qlogic/qed/qed_ooo.c 		proto = PROTOCOLID_ISCSI;
proto             116 drivers/net/ethernet/qlogic/qed/qed_ooo.c 		proto = PROTOCOLID_IWARP;
proto             124 drivers/net/ethernet/qlogic/qed/qed_ooo.c 	max_num_archipelagos = (u16)qed_cxt_get_proto_cid_count(p_hwfn, proto,
proto             127 drivers/net/ethernet/qlogic/qed/qed_ooo.c 	cid_base = (u16)qed_cxt_get_proto_cid_start(p_hwfn, proto);
proto             172 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		p_rdma_info->proto = PROTOCOLID_IWARP;
proto             174 drivers/net/ethernet/qlogic/qed/qed_rdma.c 		p_rdma_info->proto = PROTOCOLID_ROCE;
proto             176 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	num_cons = qed_cxt_get_proto_cid_count(p_hwfn, p_rdma_info->proto,
proto             406 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	qed_cxt_free_proto_ilt(p_hwfn, p_hwfn->p_rdma_info->proto);
proto             599 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto             762 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto             998 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	bmap_id = icid - qed_cxt_get_proto_cid_start(p_hwfn, p_info->proto);
proto            1038 drivers/net/ethernet/qlogic/qed/qed_rdma.c 						p_info->proto);
proto            1055 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_info->proto, &init_data);
proto            1108 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	enum protocol_type proto;
proto            1129 drivers/net/ethernet/qlogic/qed/qed_rdma.c 	proto = p_hwfn->p_rdma_info->proto;
proto            1133 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 proto, &init_data);
proto            1156 drivers/net/ethernet/qlogic/qed/qed_rdma.c 			     qed_cxt_get_proto_cid_start(p_hwfn, proto)));
proto            1454 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto            1586 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto            1629 drivers/net/ethernet/qlogic/qed/qed_rdma.c 					 p_hwfn->p_rdma_info->proto,
proto            1675 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto            1714 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto            1777 drivers/net/ethernet/qlogic/qed/qed_rdma.c 				 p_hwfn->p_rdma_info->proto, &init_data);
proto             103 drivers/net/ethernet/qlogic/qed/qed_rdma.h 	enum protocol_type proto;
proto             193 drivers/net/ethernet/qlogic/qed/qed_roce.c 						      p_rdma_info->proto);
proto             195 drivers/net/ethernet/qlogic/qed/qed_roce.c 						      p_rdma_info->proto);
proto             253 drivers/net/ethernet/qlogic/qed/qed_roce.c 	enum protocol_type proto;
proto             371 drivers/net/ethernet/qlogic/qed/qed_roce.c 	proto = p_hwfn->p_rdma_info->proto;
proto             373 drivers/net/ethernet/qlogic/qed/qed_roce.c 			      qed_cxt_get_proto_cid_start(p_hwfn, proto));
proto             394 drivers/net/ethernet/qlogic/qed/qed_roce.c 	enum protocol_type proto;
proto             496 drivers/net/ethernet/qlogic/qed/qed_roce.c 	proto = p_hwfn->p_rdma_info->proto;
proto             499 drivers/net/ethernet/qlogic/qed/qed_roce.c 			      qed_cxt_get_proto_cid_start(p_hwfn, proto));
proto             719 drivers/net/ethernet/qlogic/qed/qed_roce.c 						  p_hwfn->p_rdma_info->proto);
proto            1117 drivers/net/ethernet/qlogic/qed/qed_roce.c 	start_cid = qed_cxt_get_proto_cid_start(p_hwfn, p_rdma_info->proto);
proto             536 drivers/net/ethernet/qlogic/qede/qede.h int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid);
proto             537 drivers/net/ethernet/qlogic/qede/qede.h int qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid);
proto             570 drivers/net/ethernet/qlogic/qede/qede.h int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto,
proto             701 drivers/net/ethernet/qlogic/qede/qede_filter.c int qede_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             853 drivers/net/ethernet/qlogic/qede/qede_filter.c int qede_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1898 drivers/net/ethernet/qlogic/qede/qede_filter.c qede_parse_flow_attr(struct qede_dev *edev, __be16 proto,
proto            1918 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (proto != htons(ETH_P_IP) &&
proto            1919 drivers/net/ethernet/qlogic/qede/qede_filter.c 	    proto != htons(ETH_P_IPV6)) {
proto            1920 drivers/net/ethernet/qlogic/qede/qede_filter.c 		DP_NOTICE(edev, "Unsupported proto=0x%x\n", proto);
proto            1931 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IP))
proto            1933 drivers/net/ethernet/qlogic/qede/qede_filter.c 	else if (ip_proto == IPPROTO_TCP && proto == htons(ETH_P_IPV6))
proto            1935 drivers/net/ethernet/qlogic/qede/qede_filter.c 	else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IP))
proto            1937 drivers/net/ethernet/qlogic/qede/qede_filter.c 	else if (ip_proto == IPPROTO_UDP && proto == htons(ETH_P_IPV6))
proto            1945 drivers/net/ethernet/qlogic/qede/qede_filter.c int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto,
proto            1960 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (qede_parse_flow_attr(edev, proto, f->rule, &t))
proto            2053 drivers/net/ethernet/qlogic/qede/qede_filter.c 	__be16 proto;
proto            2062 drivers/net/ethernet/qlogic/qede/qede_filter.c 		proto = htons(ETH_P_IP);
proto            2066 drivers/net/ethernet/qlogic/qede/qede_filter.c 		proto = htons(ETH_P_IPV6);
proto            2079 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (qede_parse_flow_attr(edev, proto, flow->rule, t)) {
proto             552 drivers/net/ethernet/qlogic/qede/qede_main.c 		__be16 proto)
proto             556 drivers/net/ethernet/qlogic/qede/qede_main.c 		return qede_add_tc_flower_fltr(edev, proto, f);
proto            1371 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_vlan_rx_add(struct net_device *netdev, __be16 proto, u16 vid)
proto            1391 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c qlcnic_vlan_rx_del(struct net_device *netdev, __be16 proto, u16 vid)
proto            2994 drivers/net/ethernet/renesas/sh_eth.c 				  __be16 proto, u16 vid)
proto            3024 drivers/net/ethernet/renesas/sh_eth.c 				   __be16 proto, u16 vid)
proto            6315 drivers/net/ethernet/sfc/ef10.c static int efx_ef10_vlan_rx_add_vid(struct efx_nic *efx, __be16 proto, u16 vid)
proto            6317 drivers/net/ethernet/sfc/ef10.c 	if (proto != htons(ETH_P_8021Q))
proto            6323 drivers/net/ethernet/sfc/ef10.c static int efx_ef10_vlan_rx_kill_vid(struct efx_nic *efx, __be16 proto, u16 vid)
proto            6325 drivers/net/ethernet/sfc/ef10.c 	if (proto != htons(ETH_P_8021Q))
proto            2398 drivers/net/ethernet/sfc/efx.c static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid)
proto            2403 drivers/net/ethernet/sfc/efx.c 		return efx->type->vlan_rx_add_vid(efx, proto, vid);
proto            2408 drivers/net/ethernet/sfc/efx.c static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid)
proto            2413 drivers/net/ethernet/sfc/efx.c 		return efx->type->vlan_rx_kill_vid(efx, proto, vid);
proto             921 drivers/net/ethernet/sfc/ethtool.c 			uip_mask->proto = IP_PROTO_FULL_MASK;
proto             922 drivers/net/ethernet/sfc/ethtool.c 			uip_entry->proto = spec.ip_proto;
proto            1211 drivers/net/ethernet/sfc/ethtool.c 		if (uip_mask->proto) {
proto            1212 drivers/net/ethernet/sfc/ethtool.c 			if (uip_mask->proto != IP_PROTO_FULL_MASK)
proto            1215 drivers/net/ethernet/sfc/ethtool.c 			spec.ip_proto = uip_entry->proto;
proto             898 drivers/net/ethernet/sfc/falcon/ethtool.c 			uip_mask->proto = IP_PROTO_FULL_MASK;
proto             899 drivers/net/ethernet/sfc/falcon/ethtool.c 			uip_entry->proto = spec.ip_proto;
proto            1146 drivers/net/ethernet/sfc/falcon/ethtool.c 		if (uip_mask->proto) {
proto            1147 drivers/net/ethernet/sfc/falcon/ethtool.c 			if (uip_mask->proto != IP_PROTO_FULL_MASK)
proto            1150 drivers/net/ethernet/sfc/falcon/ethtool.c 			spec.ip_proto = uip_entry->proto;
proto             181 drivers/net/ethernet/sfc/falcon/filter.h ef4_filter_set_ipv4_local(struct ef4_filter_spec *spec, u8 proto,
proto             188 drivers/net/ethernet/sfc/falcon/filter.h 	spec->ip_proto = proto;
proto             204 drivers/net/ethernet/sfc/falcon/filter.h ef4_filter_set_ipv4_full(struct ef4_filter_spec *spec, u8 proto,
proto             213 drivers/net/ethernet/sfc/falcon/filter.h 	spec->ip_proto = proto;
proto             207 drivers/net/ethernet/sfc/filter.h efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto,
proto             214 drivers/net/ethernet/sfc/filter.h 	spec->ip_proto = proto;
proto             230 drivers/net/ethernet/sfc/filter.h efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto,
proto             239 drivers/net/ethernet/sfc/filter.h 	spec->ip_proto = proto;
proto            1388 drivers/net/ethernet/sfc/net_driver.h 	int (*vlan_rx_add_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
proto            1389 drivers/net/ethernet/sfc/net_driver.h 	int (*vlan_rx_kill_vid)(struct efx_nic *efx, __be16 proto, u16 vid);
proto             475 drivers/net/ethernet/sgi/ioc3-eth.c 	unsigned int proto;
proto             501 drivers/net/ethernet/sgi/ioc3-eth.c 	proto = ih->protocol;
proto             502 drivers/net/ethernet/sgi/ioc3-eth.c 	if (proto != IPPROTO_TCP && proto != IPPROTO_UDP)
proto            1385 drivers/net/ethernet/sgi/ioc3-eth.c 		const int proto = ntohs(ih->protocol);
proto            1403 drivers/net/ethernet/sgi/ioc3-eth.c 					  proto, csum_fold(ehsum));
proto            1409 drivers/net/ethernet/sgi/ioc3-eth.c 		if (proto == IPPROTO_UDP) {
proto            1413 drivers/net/ethernet/sgi/ioc3-eth.c 		if (proto == IPPROTO_TCP) {
proto            4269 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static int stmmac_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto            4277 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if (be16_to_cpu(proto) == ETH_P_8021AD)
proto            4290 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static int stmmac_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto            4297 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 	if (be16_to_cpu(proto) == ETH_P_8021AD)
proto             126 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		__be16 *tag, *proto;
proto             130 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 			proto = (void *)ehdr + (2 * ETH_ALEN);
proto             133 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 			proto = (void *)ehdr + ETH_ALEN;
proto             136 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		proto[0] = htons(ETH_P_8021Q);
proto             140 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 			proto[0] = htons(ETH_P_8021AD);
proto             841 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	u16 proto;
proto             843 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q;
proto             854 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 		if (skb->vlan_proto != htons(proto))
proto            1225 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	u16 proto;
proto            1234 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	proto = svlan ? ETH_P_8021AD : ETH_P_8021Q;
proto            1248 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	ret = vlan_vid_add(priv->dev, htons(proto), tpriv->vlan_id);
proto            1260 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	__vlan_hwaccel_put_tag(skb, htons(proto), tpriv->vlan_id);
proto            1261 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	skb->protocol = htons(proto);
proto            1272 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c 	vlan_vid_del(priv->dev, htons(proto), tpriv->vlan_id);
proto            7138 drivers/net/ethernet/sun/niu.c 		fsp->h_u.usr_ip4_spec.proto =
proto            7141 drivers/net/ethernet/sun/niu.c 		fsp->m_u.usr_ip4_spec.proto =
proto            7182 drivers/net/ethernet/sun/niu.c 		u32 proto = (tp->key[2] & TCAM_V4KEY2_PROTO) >>
proto            7184 drivers/net/ethernet/sun/niu.c 		if (proto == IPPROTO_ESP) {
proto            7399 drivers/net/ethernet/sun/niu.c 		pid = fsp->h_u.usr_ip4_spec.proto;
proto            7443 drivers/net/ethernet/sun/niu.c 				if (uspec->proto == parent->l3_cls_pid[i]) {
proto            7469 drivers/net/ethernet/sun/niu.c 							     uspec->proto,
proto            7479 drivers/net/ethernet/sun/niu.c 				parent->l3_cls_pid[i] = uspec->proto;
proto            7487 drivers/net/ethernet/sun/niu.c 				    parent->index, __func__, uspec->proto);
proto            1231 drivers/net/ethernet/sun/sunvnet_common.c 	int proto = IPPROTO_IP;
proto            1234 drivers/net/ethernet/sun/sunvnet_common.c 		proto = ip_hdr(skb)->protocol;
proto            1236 drivers/net/ethernet/sun/sunvnet_common.c 		proto = ipv6_hdr(skb)->nexthdr;
proto            1238 drivers/net/ethernet/sun/sunvnet_common.c 	if (proto == IPPROTO_TCP) {
proto            1240 drivers/net/ethernet/sun/sunvnet_common.c 	} else if (proto == IPPROTO_UDP) {
proto            1244 drivers/net/ethernet/sun/sunvnet_common.c 		       "protocol %d tproto %d\n", skb->protocol, proto);
proto             835 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 				  __be16 proto,
proto             848 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c 				   __be16 proto,
proto             734 drivers/net/ethernet/tehuti/tehuti.c static int bdx_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto             745 drivers/net/ethernet/tehuti/tehuti.c static int bdx_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto              91 drivers/net/ethernet/ti/cpsw.c 				    __be16 proto, u16 vid);
proto            2144 drivers/net/ethernet/ti/cpsw.c 				    __be16 proto, u16 vid)
proto            2182 drivers/net/ethernet/ti/cpsw.c 				     __be16 proto, u16 vid)
proto            1825 drivers/net/ethernet/ti/netcp_core.c static int netcp_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto            1852 drivers/net/ethernet/ti/netcp_core.c static int netcp_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto             522 drivers/net/ethernet/via/via-rhine.c 				 __be16 proto, u16 vid);
proto             524 drivers/net/ethernet/via/via-rhine.c 				  __be16 proto, u16 vid);
proto            1539 drivers/net/ethernet/via/via-rhine.c static int rhine_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1550 drivers/net/ethernet/via/via-rhine.c static int rhine_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             518 drivers/net/ethernet/via/via-velocity.c 				    __be16 proto, u16 vid)
proto             530 drivers/net/ethernet/via/via-velocity.c 				     __be16 proto, u16 vid)
proto              49 drivers/net/fjes/fjes_main.c static int fjes_vlan_rx_add_vid(struct net_device *, __be16 proto, u16);
proto              50 drivers/net/fjes/fjes_main.c static int fjes_vlan_rx_kill_vid(struct net_device *, __be16 proto, u16);
proto             883 drivers/net/fjes/fjes_main.c 				__be16 proto, u16 vid)
proto             903 drivers/net/fjes/fjes_main.c 				 __be16 proto, u16 vid)
proto             566 drivers/net/gtp.c 	unsigned int proto = ntohs(skb->protocol);
proto             578 drivers/net/gtp.c 	switch (proto) {
proto             591 drivers/net/gtp.c 	switch (proto) {
proto              38 drivers/net/ipvlan/ipvlan_l3s.c 				     struct sk_buff *skb, u16 proto)
proto              48 drivers/net/ipvlan/ipvlan_l3s.c 	switch (proto) {
proto             307 drivers/net/ipvlan/ipvlan_main.c static int ipvlan_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             312 drivers/net/ipvlan/ipvlan_main.c 	return vlan_vid_add(phy_dev, proto, vid);
proto             315 drivers/net/ipvlan/ipvlan_main.c static int ipvlan_vlan_rx_kill_vid(struct net_device *dev, __be16 proto,
proto             321 drivers/net/ipvlan/ipvlan_main.c 	vlan_vid_del(phy_dev, proto, vid);
proto             955 drivers/net/macvlan.c 				   __be16 proto, u16 vid)
proto             960 drivers/net/macvlan.c 	return vlan_vid_add(lowerdev, proto, vid);
proto             964 drivers/net/macvlan.c 				    __be16 proto, u16 vid)
proto             969 drivers/net/macvlan.c 	vlan_vid_del(lowerdev, proto, vid);
proto             265 drivers/net/net_failover.c static int net_failover_vlan_rx_add_vid(struct net_device *dev, __be16 proto,
proto             274 drivers/net/net_failover.c 		ret = vlan_vid_add(primary_dev, proto, vid);
proto             281 drivers/net/net_failover.c 		ret = vlan_vid_add(standby_dev, proto, vid);
proto             284 drivers/net/net_failover.c 				vlan_vid_del(primary_dev, proto, vid);
proto             290 drivers/net/net_failover.c static int net_failover_vlan_rx_kill_vid(struct net_device *dev, __be16 proto,
proto             298 drivers/net/net_failover.c 		vlan_vid_del(slave_dev, proto, vid);
proto             302 drivers/net/net_failover.c 		vlan_vid_del(slave_dev, proto, vid);
proto              49 drivers/net/netdevsim/ipsec.c 			      sap->xs->id.proto, sap->salt, sap->crypt);
proto             141 drivers/net/netdevsim/ipsec.c 	if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
proto             143 drivers/net/netdevsim/ipsec.c 			   xs->id.proto);
proto             164 drivers/net/netdevsim/ipsec.c 	if (sa.xs->id.proto & IPPROTO_ESP)
proto             265 drivers/net/netdevsim/ipsec.c 	if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) {
proto             266 drivers/net/netdevsim/ipsec.c 		netdev_err(ns->netdev, "unexpected proto=%d\n", xs->id.proto);
proto             531 drivers/net/ppp/ppp_async.c 	int fcs, i, count, c, proto;
proto             543 drivers/net/ppp/ppp_async.c 	proto = get_unaligned_be16(data);
proto             550 drivers/net/ppp/ppp_async.c 	islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7;
proto             801 drivers/net/ppp/ppp_async.c 		unsigned int proto;
proto             805 drivers/net/ppp/ppp_async.c 		proto = (p[0] << 8) + p[1];
proto             806 drivers/net/ppp/ppp_async.c 		if (proto == PPP_LCP)
proto             189 drivers/net/ppp/ppp_deflate.c 	int r, proto, off, olen, oavail;
proto             195 drivers/net/ppp/ppp_deflate.c 	proto = PPP_PROTOCOL(rptr);
proto             196 drivers/net/ppp/ppp_deflate.c 	if (proto > 0x3fff || proto == 0xfd || proto == 0xfb)
proto             220 drivers/net/ppp/ppp_deflate.c 	off = (proto > 0xff) ? 2 : 3;	/* skip 1st proto byte if 0 */
proto             520 drivers/net/ppp/ppp_deflate.c 	int proto, r;
proto             525 drivers/net/ppp/ppp_deflate.c 	proto = PPP_PROTOCOL(ibuf);
proto             526 drivers/net/ppp/ppp_deflate.c 	if (proto > 0x3fff || proto == 0xfd || proto == 0xfb)
proto             537 drivers/net/ppp/ppp_deflate.c 	if (proto > 0xff) {
proto             305 drivers/net/ppp/ppp_generic.c static inline int proto_to_npindex(int proto)
proto             307 drivers/net/ppp/ppp_generic.c 	switch (proto) {
proto            1218 drivers/net/ppp/ppp_generic.c 	int npi, proto;
proto            1244 drivers/net/ppp/ppp_generic.c 	proto = npindex_to_proto[npi];
proto            1245 drivers/net/ppp/ppp_generic.c 	put_unaligned_be16(proto, pp);
proto            1504 drivers/net/ppp/ppp_generic.c 	int proto = PPP_PROTO(skb);
proto            1509 drivers/net/ppp/ppp_generic.c 	if (proto < 0x8000) {
proto            1538 drivers/net/ppp/ppp_generic.c 	switch (proto) {
proto            1559 drivers/net/ppp/ppp_generic.c 				proto = PPP_VJC_COMP;
proto            1562 drivers/net/ppp/ppp_generic.c 				proto = PPP_VJC_UNCOMP;
proto            1569 drivers/net/ppp/ppp_generic.c 			cp[1] = proto;
proto            1581 drivers/net/ppp/ppp_generic.c 	    proto != PPP_LCP && proto != PPP_CCP) {
proto            2008 drivers/net/ppp/ppp_generic.c 	int proto;
proto            2025 drivers/net/ppp/ppp_generic.c 	proto = PPP_PROTO(skb);
proto            2026 drivers/net/ppp/ppp_generic.c 	if (!pch->ppp || proto >= 0xc000 || proto == PPP_CCPFRAG) {
proto            2099 drivers/net/ppp/ppp_generic.c 	int proto, len, npi;
proto            2116 drivers/net/ppp/ppp_generic.c 	proto = PPP_PROTO(skb);
proto            2117 drivers/net/ppp/ppp_generic.c 	switch (proto) {
proto            2150 drivers/net/ppp/ppp_generic.c 		proto = PPP_IP;
proto            2167 drivers/net/ppp/ppp_generic.c 		proto = PPP_IP;
proto            2178 drivers/net/ppp/ppp_generic.c 	npi = proto_to_npindex(proto);
proto            2242 drivers/net/ppp/ppp_generic.c 	int proto = PPP_PROTO(skb);
proto            2252 drivers/net/ppp/ppp_generic.c 	if (proto == PPP_COMP) {
proto            2932 drivers/net/ppp/ppp_generic.c find_comp_entry(int proto)
proto            2937 drivers/net/ppp/ppp_generic.c 		if (ce->comp->compress_proto == proto)
proto             341 drivers/net/ppp/ppp_mppe.c 	int proto;
proto             346 drivers/net/ppp/ppp_mppe.c 	proto = PPP_PROTOCOL(ibuf);
proto             347 drivers/net/ppp/ppp_mppe.c 	if (proto < 0x0021 || proto > 0x00fa)
proto             511 drivers/net/ppp/ppp_synctty.c 	int proto;
proto             516 drivers/net/ppp/ppp_synctty.c 	proto = get_unaligned_be16(data);
proto             522 drivers/net/ppp/ppp_synctty.c 	islcp = proto == PPP_LCP && 1 <= data[2] && data[2] <= 7;
proto             464 drivers/net/ppp/pppoe.c 					     proto.pppoe.padt_work);
proto             508 drivers/net/ppp/pppoe.c 		if (!schedule_work(&po->proto.pppoe.padt_work))
proto             527 drivers/net/ppp/pppoe.c static struct proto pppoe_sk_proto __read_mostly = {
proto             557 drivers/net/ppp/pppoe.c 	INIT_WORK(&pppox_sk(sk)->proto.pppoe.padt_work,
proto              48 drivers/net/ppp/pptp.c static struct proto pptp_sk_proto __read_mostly;
proto              60 drivers/net/ppp/pptp.c 		opt = &sock->proto.pptp;
proto              83 drivers/net/ppp/pptp.c 		opt = &sock->proto.pptp;
proto             111 drivers/net/ppp/pptp.c 	sock->proto.pptp.src_addr = *sa;
proto             126 drivers/net/ppp/pptp.c 	clear_bit(sock->proto.pptp.src_addr.call_id, callid_bitmap);
proto             127 drivers/net/ppp/pptp.c 	RCU_INIT_POINTER(callid_sock[sock->proto.pptp.src_addr.call_id], NULL);
proto             136 drivers/net/ppp/pptp.c 	struct pptp_opt *opt = &po->proto.pptp;
proto             258 drivers/net/ppp/pptp.c 	struct pptp_opt *opt = &po->proto.pptp;
proto             408 drivers/net/ppp/pptp.c 	struct pptp_opt *opt = &po->proto.pptp;
proto             484 drivers/net/ppp/pptp.c 	sp.sa_addr.pptp = pppox_sk(sock->sk)->proto.pptp.src_addr;
proto             557 drivers/net/ppp/pptp.c 	opt = &po->proto.pptp;
proto             572 drivers/net/ppp/pptp.c 	struct pptp_opt *opt = &po->proto.pptp;
proto             603 drivers/net/ppp/pptp.c static struct proto pptp_sk_proto __read_mostly = {
proto              96 drivers/net/tap.c static struct proto tap_proto = {
proto            1876 drivers/net/team/team.c static int team_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1888 drivers/net/team/team.c 		err = vlan_vid_add(port->dev, proto, vid);
proto            1898 drivers/net/team/team.c 		vlan_vid_del(port->dev, proto, vid);
proto            1904 drivers/net/team/team.c static int team_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1911 drivers/net/team/team.c 		vlan_vid_del(port->dev, proto, vid);
proto            1894 drivers/net/tun.c 				pi.proto = htons(ETH_P_IP);
proto            1897 drivers/net/tun.c 				pi.proto = htons(ETH_P_IPV6);
proto            1907 drivers/net/tun.c 		skb->protocol = pi.proto;
proto            2653 drivers/net/tun.c static struct proto tun_proto = {
proto             478 drivers/net/usb/aqc111.c 				   __be16 proto, u16 vid)
proto             503 drivers/net/usb/aqc111.c static int aqc111_vlan_rx_add_vid(struct net_device *net, __be16 proto, u16 vid)
proto              71 drivers/net/usb/cdc_mbim.c static int cdc_mbim_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto              85 drivers/net/usb/cdc_mbim.c static int cdc_mbim_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto             209 drivers/net/usb/cdc_mbim.c static bool is_ip_proto(__be16 proto)
proto             211 drivers/net/usb/cdc_mbim.c 	switch (proto) {
proto             367 drivers/net/usb/cdc_mbim.c 	__be16 proto = htons(ETH_P_802_3);
proto             376 drivers/net/usb/cdc_mbim.c 			proto = htons(ETH_P_IP);
proto             381 drivers/net/usb/cdc_mbim.c 			proto = htons(ETH_P_IPV6);
proto             395 drivers/net/usb/cdc_mbim.c 	eth_hdr(skb)->h_proto = proto;
proto            2385 drivers/net/usb/lan78xx.c 				   __be16 proto, u16 vid)
proto            2404 drivers/net/usb/lan78xx.c 				    __be16 proto, u16 vid)
proto             548 drivers/net/usb/qmi_wwan.c 	__be16 proto;
proto             559 drivers/net/usb/qmi_wwan.c 		proto = htons(ETH_P_IP);
proto             562 drivers/net/usb/qmi_wwan.c 		proto = htons(ETH_P_IPV6);
proto             581 drivers/net/usb/qmi_wwan.c 		skb->protocol = proto;
proto             589 drivers/net/usb/qmi_wwan.c 	eth_hdr(skb)->h_proto = proto;
proto            1889 drivers/net/virtio_net.c 				   __be16 proto, u16 vid)
proto            1904 drivers/net/virtio_net.c 				    __be16 proto, u16 vid)
proto            2241 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto            2263 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid)
proto             701 drivers/net/vrf.c 				  u16 proto)
proto             703 drivers/net/vrf.c 	switch (proto) {
proto            1073 drivers/net/vrf.c 				  u16 proto)
proto            1075 drivers/net/vrf.c 	switch (proto) {
proto            1674 drivers/net/wan/farsync.c 		if (info->proto == FST_RAW)
proto            1764 drivers/net/wan/farsync.c 	info->proto = FST_GEN_HDLC;
proto             103 drivers/net/wan/farsync.h         unsigned char  proto;           /* Line protocol */
proto             587 drivers/net/wan/fsl_ucc_hdlc.c 		if (hdlc->proto)
proto              56 drivers/net/wan/hdlc.c 	BUG_ON(!hdlc->proto->netif_rx);
proto              57 drivers/net/wan/hdlc.c 	return hdlc->proto->netif_rx(skb);
proto              64 drivers/net/wan/hdlc.c 	if (hdlc->proto->xmit)
proto              65 drivers/net/wan/hdlc.c 		return hdlc->proto->xmit(skb, dev);
proto              73 drivers/net/wan/hdlc.c 	if (hdlc->proto->start)
proto              74 drivers/net/wan/hdlc.c 		hdlc->proto->start(dev);
proto              82 drivers/net/wan/hdlc.c 	if (hdlc->proto->stop)
proto              83 drivers/net/wan/hdlc.c 		hdlc->proto->stop(dev);
proto             147 drivers/net/wan/hdlc.c 	if (hdlc->proto == NULL)
proto             150 drivers/net/wan/hdlc.c 	if (hdlc->proto->open) {
proto             151 drivers/net/wan/hdlc.c 		int result = hdlc->proto->open(dev);
proto             189 drivers/net/wan/hdlc.c 	if (hdlc->proto->close)
proto             190 drivers/net/wan/hdlc.c 		hdlc->proto->close(dev);
proto             197 drivers/net/wan/hdlc.c 	struct hdlc_proto *proto = first_proto;
proto             203 drivers/net/wan/hdlc.c 	if (dev_to_hdlc(dev)->proto) {
proto             204 drivers/net/wan/hdlc.c 		result = dev_to_hdlc(dev)->proto->ioctl(dev, ifr);
proto             211 drivers/net/wan/hdlc.c 	while (proto) {
proto             212 drivers/net/wan/hdlc.c 		if ((result = proto->ioctl(dev, ifr)) != -EINVAL)
proto             214 drivers/net/wan/hdlc.c 		proto = proto->next;
proto             267 drivers/net/wan/hdlc.c int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
proto             276 drivers/net/wan/hdlc.c 	if (!try_module_get(proto->module))
proto             282 drivers/net/wan/hdlc.c 			module_put(proto->module);
proto             286 drivers/net/wan/hdlc.c 	dev_to_hdlc(dev)->proto = proto;
proto             297 drivers/net/wan/hdlc.c 	if (hdlc->proto) {
proto             305 drivers/net/wan/hdlc.c 		if (hdlc->proto->detach)
proto             306 drivers/net/wan/hdlc.c 			hdlc->proto->detach(dev);
proto             307 drivers/net/wan/hdlc.c 		module_put(hdlc->proto->module);
proto             308 drivers/net/wan/hdlc.c 		hdlc->proto = NULL;
proto             318 drivers/net/wan/hdlc.c void register_hdlc_protocol(struct hdlc_proto *proto)
proto             321 drivers/net/wan/hdlc.c 	proto->next = first_proto;
proto             322 drivers/net/wan/hdlc.c 	first_proto = proto;
proto             327 drivers/net/wan/hdlc.c void unregister_hdlc_protocol(struct hdlc_proto *proto)
proto             333 drivers/net/wan/hdlc.c 	while (*p != proto) {
proto             337 drivers/net/wan/hdlc.c 	*p = proto->next;
proto             313 drivers/net/wan/hdlc_cisco.c static struct hdlc_proto proto = {
proto             336 drivers/net/wan/hdlc_cisco.c 		if (dev_to_hdlc(dev)->proto != &proto)
proto             365 drivers/net/wan/hdlc_cisco.c 		result = attach_hdlc_protocol(dev, &proto,
proto             385 drivers/net/wan/hdlc_cisco.c 	register_hdlc_protocol(&proto);
proto             393 drivers/net/wan/hdlc_cisco.c 	unregister_hdlc_protocol(&proto);
proto            1166 drivers/net/wan/hdlc_fr.c static struct hdlc_proto proto = {
proto            1188 drivers/net/wan/hdlc_fr.c 		if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */
proto            1230 drivers/net/wan/hdlc_fr.c 		if (dev_to_hdlc(dev)->proto != &proto) { /* Different proto */
proto            1231 drivers/net/wan/hdlc_fr.c 			result = attach_hdlc_protocol(dev, &proto,
proto            1247 drivers/net/wan/hdlc_fr.c 		if (dev_to_hdlc(dev)->proto != &proto) /* Different proto */
proto            1279 drivers/net/wan/hdlc_fr.c 	register_hdlc_protocol(&proto);
proto            1286 drivers/net/wan/hdlc_fr.c 	unregister_hdlc_protocol(&proto);
proto              73 drivers/net/wan/hdlc_ppp.c 	struct proto protos[IDX_COUNT];
proto             109 drivers/net/wan/hdlc_ppp.c static inline struct proto* get_proto(struct net_device *dev, u16 pid)
proto             306 drivers/net/wan/hdlc_ppp.c 	struct proto *proto = get_proto(dev, pid);
proto             308 drivers/net/wan/hdlc_ppp.c 	old_state = proto->state;
proto             314 drivers/net/wan/hdlc_ppp.c 	       proto_name(pid), event_names[event], state_names[proto->state]);
proto             319 drivers/net/wan/hdlc_ppp.c 	proto->state = action & STATE_MASK;
proto             321 drivers/net/wan/hdlc_ppp.c 		mod_timer(&proto->timer, proto->timeout =
proto             324 drivers/net/wan/hdlc_ppp.c 		proto->restart_counter = 0;
proto             326 drivers/net/wan/hdlc_ppp.c 		proto->restart_counter = (proto->state == STOPPING) ?
proto             330 drivers/net/wan/hdlc_ppp.c 		ppp_tx_cp(dev, pid, CP_CONF_REQ, proto->cr_id = ++ppp->seq,
proto             343 drivers/net/wan/hdlc_ppp.c 	if (old_state != OPENED && proto->state == OPENED) {
proto             350 drivers/net/wan/hdlc_ppp.c 			mod_timer(&proto->timer, proto->timeout =
proto             354 drivers/net/wan/hdlc_ppp.c 	if (old_state == OPENED && proto->state != OPENED) {
proto             362 drivers/net/wan/hdlc_ppp.c 	if (old_state != CLOSED && proto->state == CLOSED)
proto             363 drivers/net/wan/hdlc_ppp.c 		del_timer(&proto->timer);
proto             367 drivers/net/wan/hdlc_ppp.c 	       proto_name(pid), event_names[event], state_names[proto->state]);
proto             434 drivers/net/wan/hdlc_ppp.c 	struct proto *proto;
proto             454 drivers/net/wan/hdlc_ppp.c 	proto = get_proto(dev, pid);
proto             455 drivers/net/wan/hdlc_ppp.c 	if (!proto) {
proto             497 drivers/net/wan/hdlc_ppp.c 			if (len >= 4 && proto->state == OPENED)
proto             518 drivers/net/wan/hdlc_ppp.c 		if (cp->id == proto->cr_id)
proto             524 drivers/net/wan/hdlc_ppp.c 		if (cp->id == proto->cr_id)
proto             560 drivers/net/wan/hdlc_ppp.c 	struct proto *proto = from_timer(proto, t, timer);
proto             561 drivers/net/wan/hdlc_ppp.c 	struct ppp *ppp = get_ppp(proto->dev);
proto             565 drivers/net/wan/hdlc_ppp.c 	switch (proto->state) {
proto             570 drivers/net/wan/hdlc_ppp.c 		if (proto->restart_counter) {
proto             571 drivers/net/wan/hdlc_ppp.c 			ppp_cp_event(proto->dev, proto->pid, TO_GOOD, 0, 0,
proto             573 drivers/net/wan/hdlc_ppp.c 			proto->restart_counter--;
proto             574 drivers/net/wan/hdlc_ppp.c 		} else if (netif_carrier_ok(proto->dev))
proto             575 drivers/net/wan/hdlc_ppp.c 			ppp_cp_event(proto->dev, proto->pid, TO_GOOD, 0, 0,
proto             578 drivers/net/wan/hdlc_ppp.c 			ppp_cp_event(proto->dev, proto->pid, TO_BAD, 0, 0,
proto             583 drivers/net/wan/hdlc_ppp.c 		if (proto->pid != PID_LCP)
proto             587 drivers/net/wan/hdlc_ppp.c 			netdev_info(proto->dev, "Link down\n");
proto             588 drivers/net/wan/hdlc_ppp.c 			ppp_cp_event(proto->dev, PID_LCP, STOP, 0, 0, 0, NULL);
proto             589 drivers/net/wan/hdlc_ppp.c 			ppp_cp_event(proto->dev, PID_LCP, START, 0, 0, 0, NULL);
proto             592 drivers/net/wan/hdlc_ppp.c 			ppp_tx_cp(proto->dev, PID_LCP, LCP_ECHO_REQ,
proto             594 drivers/net/wan/hdlc_ppp.c 			proto->timer.expires = jiffies +
proto             596 drivers/net/wan/hdlc_ppp.c 			add_timer(&proto->timer);
proto             611 drivers/net/wan/hdlc_ppp.c 		struct proto *proto = &ppp->protos[i];
proto             612 drivers/net/wan/hdlc_ppp.c 		proto->dev = dev;
proto             613 drivers/net/wan/hdlc_ppp.c 		timer_setup(&proto->timer, ppp_timer, 0);
proto             614 drivers/net/wan/hdlc_ppp.c 		proto->state = CLOSED;
proto             633 drivers/net/wan/hdlc_ppp.c static struct hdlc_proto proto = {
proto             655 drivers/net/wan/hdlc_ppp.c 		if (dev_to_hdlc(dev)->proto != &proto)
proto             673 drivers/net/wan/hdlc_ppp.c 		result = attach_hdlc_protocol(dev, &proto, sizeof(struct ppp));
proto             700 drivers/net/wan/hdlc_ppp.c 	register_hdlc_protocol(&proto);
proto             706 drivers/net/wan/hdlc_ppp.c 	unregister_hdlc_protocol(&proto);
proto              29 drivers/net/wan/hdlc_raw.c static struct hdlc_proto proto = {
proto              46 drivers/net/wan/hdlc_raw.c 		if (dev_to_hdlc(dev)->proto != &proto)
proto              78 drivers/net/wan/hdlc_raw.c 		result = attach_hdlc_protocol(dev, &proto,
proto              95 drivers/net/wan/hdlc_raw.c 	register_hdlc_protocol(&proto);
proto             103 drivers/net/wan/hdlc_raw.c 	unregister_hdlc_protocol(&proto);
proto              43 drivers/net/wan/hdlc_raw_eth.c static struct hdlc_proto proto = {
proto              62 drivers/net/wan/hdlc_raw_eth.c 		if (dev_to_hdlc(dev)->proto != &proto)
proto              94 drivers/net/wan/hdlc_raw_eth.c 		result = attach_hdlc_protocol(dev, &proto,
proto             114 drivers/net/wan/hdlc_raw_eth.c 	register_hdlc_protocol(&proto);
proto             122 drivers/net/wan/hdlc_raw_eth.c 	unregister_hdlc_protocol(&proto);
proto             186 drivers/net/wan/hdlc_x25.c static struct hdlc_proto proto = {
proto             203 drivers/net/wan/hdlc_x25.c 		if (dev_to_hdlc(dev)->proto != &proto)
proto             219 drivers/net/wan/hdlc_x25.c 		if ((result = attach_hdlc_protocol(dev, &proto, 0)))
proto             233 drivers/net/wan/hdlc_x25.c 	register_hdlc_protocol(&proto);
proto             241 drivers/net/wan/hdlc_x25.c 	unregister_hdlc_protocol(&proto);
proto              31 drivers/net/wireless/ath/ath10k/trace.h #define TRACE_EVENT(name, proto, ...) \
proto              32 drivers/net/wireless/ath/ath10k/trace.h static inline void trace_ ## name(proto) {} \
proto              40 drivers/net/wireless/ath/ath10k/trace.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              41 drivers/net/wireless/ath/ath10k/trace.h static inline void trace_ ## name(proto) {}
proto              10 drivers/net/wireless/ath/ath5k/trace.h #define TRACE_EVENT(name, proto, ...) \
proto              11 drivers/net/wireless/ath/ath5k/trace.h static inline void trace_ ## name(proto) {}
proto              27 drivers/net/wireless/ath/ath6kl/trace.h #define TRACE_EVENT(name, proto, ...) \
proto              28 drivers/net/wireless/ath/ath6kl/trace.h static inline void trace_ ## name(proto) {}
proto              32 drivers/net/wireless/ath/ath6kl/trace.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              33 drivers/net/wireless/ath/ath6kl/trace.h static inline void trace_ ## name(proto) {}
proto              29 drivers/net/wireless/ath/trace.h #define TRACE_EVENT(name, proto, ...) static inline void trace_ ## name(proto) {}
proto              31 drivers/net/wireless/ath/wil6210/trace.h #define TRACE_EVENT(name, proto, ...) \
proto              32 drivers/net/wireless/ath/wil6210/trace.h static inline void trace_ ## name(proto) {}
proto              36 drivers/net/wireless/ath/wil6210/trace.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              37 drivers/net/wireless/ath/wil6210/trace.h static inline void trace_ ## name(proto) {}
proto             101 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = drvr->proto->pd;
proto             110 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd;
proto             141 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd;
proto             159 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd;
proto             217 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = (struct brcmf_bcdc *)drvr->proto->pd;
proto             335 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = drvr->proto->pd;
proto             366 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = bus_if->drvr->proto->pd;
proto             426 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = drvr->proto->pd;
proto             456 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->hdrpull = brcmf_proto_bcdc_hdrpull;
proto             457 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->query_dcmd = brcmf_proto_bcdc_query_dcmd;
proto             458 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->set_dcmd = brcmf_proto_bcdc_set_dcmd;
proto             459 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->tx_queue_data = brcmf_proto_bcdc_tx_queue_data;
proto             460 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->txdata = brcmf_proto_bcdc_txdata;
proto             461 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->configure_addr_mode = brcmf_proto_bcdc_configure_addr_mode;
proto             462 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->delete_peer = brcmf_proto_bcdc_delete_peer;
proto             463 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->add_tdls_peer = brcmf_proto_bcdc_add_tdls_peer;
proto             464 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->rxreorder = brcmf_proto_bcdc_rxreorder;
proto             465 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->add_if = brcmf_proto_bcdc_add_if;
proto             466 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->del_if = brcmf_proto_bcdc_del_if;
proto             467 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->reset_if = brcmf_proto_bcdc_reset_if;
proto             468 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->init_done = brcmf_proto_bcdc_init_done;
proto             469 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->debugfs_create = brcmf_proto_bcdc_debugfs_create;
proto             470 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->pd = bcdc;
proto             484 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	struct brcmf_bcdc *bcdc = drvr->proto->pd;
proto             486 drivers/net/wireless/broadcom/brcm80211/brcmfmac/bcdc.c 	drvr->proto->pd = NULL;
proto            5054 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 					   enum nl80211_crit_proto_id proto,
proto            5063 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c 	if (proto != NL80211_CRIT_PROTO_DHCP)
proto              98 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h 	struct brcmf_proto *proto;
proto             429 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto             490 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto             798 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto             823 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto             832 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto             841 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto            1364 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto            1394 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto            1446 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	struct brcmf_msgbuf *msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto            1546 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->hdrpull = brcmf_msgbuf_hdrpull;
proto            1547 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->query_dcmd = brcmf_msgbuf_query_dcmd;
proto            1548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->set_dcmd = brcmf_msgbuf_set_dcmd;
proto            1549 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->tx_queue_data = brcmf_msgbuf_tx_queue_data;
proto            1550 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->configure_addr_mode = brcmf_msgbuf_configure_addr_mode;
proto            1551 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->delete_peer = brcmf_msgbuf_delete_peer;
proto            1552 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->add_tdls_peer = brcmf_msgbuf_add_tdls_peer;
proto            1553 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->rxreorder = brcmf_msgbuf_rxreorder;
proto            1554 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->debugfs_create = brcmf_msgbuf_debugfs_create;
proto            1555 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	drvr->proto->pd = msgbuf;
proto            1634 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 	if (drvr->proto->pd) {
proto            1635 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		msgbuf = (struct brcmf_msgbuf *)drvr->proto->pd;
proto            1656 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c 		drvr->proto->pd = NULL;
proto              22 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	struct brcmf_proto *proto;
proto              26 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	proto = kzalloc(sizeof(*proto), GFP_ATOMIC);
proto              27 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	if (!proto)
proto              30 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	drvr->proto = proto;
proto              43 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	if (!proto->tx_queue_data || (proto->hdrpull == NULL) ||
proto              44 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	    (proto->query_dcmd == NULL) || (proto->set_dcmd == NULL) ||
proto              45 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	    (proto->configure_addr_mode == NULL) ||
proto              46 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	    (proto->delete_peer == NULL) || (proto->add_tdls_peer == NULL) ||
proto              47 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	    (proto->debugfs_create == NULL)) {
proto              54 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	kfree(proto);
proto              55 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	drvr->proto = NULL;
proto              63 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 	if (drvr->proto) {
proto              68 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 		kfree(drvr->proto);
proto              69 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.c 		drvr->proto = NULL;
proto              61 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->hdrpull(drvr, do_fws, skb, ifp);
proto              67 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->query_dcmd(drvr, ifidx, cmd, buf, len,fwerr);
proto              73 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->set_dcmd(drvr, ifidx, cmd, buf, len, fwerr);
proto              79 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->tx_queue_data(drvr, ifidx, skb);
proto              85 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->txdata(drvr, ifidx, offset, skb);
proto              91 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->configure_addr_mode(drvr, ifidx, addr_mode);
proto              96 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->delete_peer(drvr, ifidx, peer);
proto             101 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->add_tdls_peer(drvr, ifidx, peer);
proto             114 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	ifp->drvr->proto->rxreorder(ifp, skb);
proto             120 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	if (!drvr->proto->add_if)
proto             122 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->add_if(ifp);
proto             128 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	if (!drvr->proto->del_if)
proto             130 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->del_if(ifp);
proto             136 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	if (!drvr->proto->reset_if)
proto             138 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->reset_if(ifp);
proto             144 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	if (!drvr->proto->init_done)
proto             146 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	return drvr->proto->init_done(drvr);
proto             152 drivers/net/wireless/broadcom/brcm80211/brcmfmac/proto.h 	drvr->proto->debugfs_create(drvr);
proto              14 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h #define TRACE_EVENT(name, proto, ...) \
proto              15 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h static inline void trace_ ## name(proto) {}
proto              21 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              22 drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h static inline void trace_ ## name(proto) {}
proto              27 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h #define TRACE_EVENT(name, proto, ...) \
proto              28 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h static inline void trace_ ## name(proto) {}
proto              32 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              33 drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h static inline void trace_ ## name(proto) {}
proto              82 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h #define TRACE_EVENT(name, proto, ...) \
proto              83 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h static inline void trace_ ## name(proto) {}
proto              87 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h #define DEFINE_EVENT(evt_class, name, proto, ...) \
proto              88 drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h static inline void trace_ ## name(proto) {}
proto            1946 drivers/net/wireless/marvell/mwifiex/fw.h 	__le16 proto;
proto            1976 drivers/net/wireless/marvell/mwifiex/fw.h 	__le16 proto;
proto             333 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA);
proto             345 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		pwk_cipher->proto = cpu_to_le16(PROTOCOL_WPA2);
proto             629 drivers/net/wireless/marvell/mwifiex/uap_cmd.c 		encrypt_protocol->proto = cpu_to_le16(bss_cfg->protocol);
proto             940 drivers/net/wireless/ray_cs.c 	__be16 proto = ((struct ethhdr *)data)->h_proto;
proto             941 drivers/net/wireless/ray_cs.c 	if (ntohs(proto) >= ETH_P_802_3_MIN) { /* DIX II ethernet frame */
proto             946 drivers/net/wireless/ray_cs.c 			    (UCHAR *) &proto, 2);
proto             947 drivers/net/wireless/ray_cs.c 		if (proto == htons(ETH_P_AARP) || proto == htons(ETH_P_IPX)) {
proto             959 drivers/net/wireless/ray_cs.c 		if (proto == htons(0xffff)) { /* evil netware IPX 802.3 without LLC */
proto             253 drivers/s390/net/qeth_l2_main.c 				   __be16 proto, u16 vid)
proto             265 drivers/s390/net/qeth_l2_main.c 				    __be16 proto, u16 vid)
proto              37 drivers/s390/net/qeth_l3.h 	enum qeth_prot_versions proto;
proto              52 drivers/s390/net/qeth_l3.h 				       enum qeth_prot_versions proto)
proto              56 drivers/s390/net/qeth_l3.h 	addr->proto = proto;
proto              63 drivers/s390/net/qeth_l3.h 	if (a1->proto != a2->proto)
proto              65 drivers/s390/net/qeth_l3.h 	if (a1->proto == QETH_PROT_IPV6)
proto              87 drivers/s390/net/qeth_l3.h 	if (a1->proto == QETH_PROT_IPV6)
proto              97 drivers/s390/net/qeth_l3.h 	if (addr->proto == QETH_PROT_IPV6) {
proto             102 drivers/s390/net/qeth_l3.h 	if (addr->proto == QETH_PROT_IPV4) {
proto             111 drivers/s390/net/qeth_l3.h 	enum qeth_prot_versions proto;
proto             125 drivers/s390/net/qeth_l3.h 			    enum qeth_prot_versions proto, u8 *addr,
proto             131 drivers/s390/net/qeth_l3.h 			     enum qeth_prot_versions proto);
proto              58 drivers/s390/net/qeth_l3_main.c void qeth_l3_ipaddr_to_string(enum qeth_prot_versions proto, const __u8 *addr,
proto              61 drivers/s390/net/qeth_l3_main.c 	if (proto == QETH_PROT_IPV4)
proto              63 drivers/s390/net/qeth_l3_main.c 	else if (proto == QETH_PROT_IPV6)
proto             122 drivers/s390/net/qeth_l3_main.c 				  (addr->proto == QETH_PROT_IPV4)? 4:16);
proto             124 drivers/s390/net/qeth_l3_main.c 		if (addr->proto != ipatoe->proto)
proto             127 drivers/s390/net/qeth_l3_main.c 					  (ipatoe->proto == QETH_PROT_IPV4) ?
proto             129 drivers/s390/net/qeth_l3_main.c 		if (addr->proto == QETH_PROT_IPV4)
proto             139 drivers/s390/net/qeth_l3_main.c 	if ((addr->proto == QETH_PROT_IPV4) && card->ipato.invert4)
proto             141 drivers/s390/net/qeth_l3_main.c 	else if ((addr->proto == QETH_PROT_IPV6) && card->ipato.invert6)
proto             160 drivers/s390/net/qeth_l3_main.c 	if (tmp_addr->proto == QETH_PROT_IPV4)
proto             199 drivers/s390/net/qeth_l3_main.c 	if (tmp_addr->proto == QETH_PROT_IPV4)
proto             214 drivers/s390/net/qeth_l3_main.c 		qeth_l3_ipaddr_to_string(tmp_addr->proto, (u8 *)&tmp_addr->u,
proto             220 drivers/s390/net/qeth_l3_main.c 		addr = qeth_l3_get_addr_buffer(tmp_addr->proto);
proto             246 drivers/s390/net/qeth_l3_main.c 		if (addr->proto == QETH_PROT_IPV4) {
proto             329 drivers/s390/net/qeth_l3_main.c 			if (addr->proto == QETH_PROT_IPV4) {
proto             379 drivers/s390/net/qeth_l3_main.c 	iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto,
proto             385 drivers/s390/net/qeth_l3_main.c 	if (addr->proto == QETH_PROT_IPV6)
proto             432 drivers/s390/net/qeth_l3_main.c 	iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto,
proto             441 drivers/s390/net/qeth_l3_main.c 	if (addr->proto == QETH_PROT_IPV6) {
proto             599 drivers/s390/net/qeth_l3_main.c 		if (ipatoe->proto != new->proto)
proto             602 drivers/s390/net/qeth_l3_main.c 			    (ipatoe->proto == QETH_PROT_IPV4)? 4:16) &&
proto             620 drivers/s390/net/qeth_l3_main.c 			    enum qeth_prot_versions proto, u8 *addr,
proto             631 drivers/s390/net/qeth_l3_main.c 		if (ipatoe->proto != proto)
proto             634 drivers/s390/net/qeth_l3_main.c 			    (proto == QETH_PROT_IPV4)? 4:16) &&
proto             649 drivers/s390/net/qeth_l3_main.c 			     enum qeth_prot_versions proto)
proto             653 drivers/s390/net/qeth_l3_main.c 	qeth_l3_init_ipaddr(&addr, type, proto);
proto             654 drivers/s390/net/qeth_l3_main.c 	if (proto == QETH_PROT_IPV4)
proto             686 drivers/s390/net/qeth_l3_main.c 	if (addr->proto == QETH_PROT_IPV4) {
proto             689 drivers/s390/net/qeth_l3_main.c 	} else if (addr->proto == QETH_PROT_IPV6) {
proto             707 drivers/s390/net/qeth_l3_main.c 		qeth_l3_ipaddr_to_string(addr->proto, (u8 *)&addr->u, buf);
proto             722 drivers/s390/net/qeth_l3_main.c 	if (addr->proto == QETH_PROT_IPV4) {
proto             725 drivers/s390/net/qeth_l3_main.c 	} else if (addr->proto == QETH_PROT_IPV6) {
proto            1291 drivers/s390/net/qeth_l3_main.c 				   __be16 proto, u16 vid)
proto            1300 drivers/s390/net/qeth_l3_main.c 				    __be16 proto, u16 vid)
proto              20 drivers/s390/net/qeth_l3_sys.c 				    enum qeth_prot_versions proto, u8 *addr)
proto              24 drivers/s390/net/qeth_l3_sys.c 	if ((proto == QETH_PROT_IPV4 && !in4_pton(buf, -1, addr, -1, &end)) ||
proto              25 drivers/s390/net/qeth_l3_sys.c 	    (proto == QETH_PROT_IPV6 && !in6_pton(buf, -1, addr, -1, &end)))
proto             445 drivers/s390/net/qeth_l3_sys.c 			enum qeth_prot_versions proto)
proto             452 drivers/s390/net/qeth_l3_sys.c 	entry_len = (proto == QETH_PROT_IPV4)? 12 : 40;
proto             454 drivers/s390/net/qeth_l3_sys.c 	entry_len += (proto == QETH_PROT_IPV4)? 5 : 6;
proto             457 drivers/s390/net/qeth_l3_sys.c 		if (ipatoe->proto != proto)
proto             464 drivers/s390/net/qeth_l3_sys.c 		qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str);
proto             485 drivers/s390/net/qeth_l3_sys.c static int qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto,
proto             499 drivers/s390/net/qeth_l3_sys.c 	if (qeth_l3_string_to_ipaddr(buffer, proto, addr)) {
proto             506 drivers/s390/net/qeth_l3_sys.c 	    (*mask_bits > ((proto == QETH_PROT_IPV4) ? 32 : 128))) {
proto             513 drivers/s390/net/qeth_l3_sys.c 			 struct qeth_card *card, enum qeth_prot_versions proto)
proto             521 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits);
proto             530 drivers/s390/net/qeth_l3_sys.c 	ipatoe->proto = proto;
proto             531 drivers/s390/net/qeth_l3_sys.c 	memcpy(ipatoe->addr, addr, (proto == QETH_PROT_IPV4)? 4:16);
proto             558 drivers/s390/net/qeth_l3_sys.c 			 struct qeth_card *card, enum qeth_prot_versions proto)
proto             565 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_ipatoe(buf, proto, addr, &mask_bits);
proto             567 drivers/s390/net/qeth_l3_sys.c 		rc = qeth_l3_del_ipato_entry(card, proto, addr, mask_bits);
proto             688 drivers/s390/net/qeth_l3_sys.c 				       enum qeth_prot_versions proto,
proto             701 drivers/s390/net/qeth_l3_sys.c 	entry_len = (proto == QETH_PROT_IPV4)? 12 : 40;
proto             705 drivers/s390/net/qeth_l3_sys.c 		if (ipaddr->proto != proto || ipaddr->type != type)
proto             712 drivers/s390/net/qeth_l3_sys.c 		qeth_l3_ipaddr_to_string(proto, (const u8 *)&ipaddr->u,
proto             731 drivers/s390/net/qeth_l3_sys.c static int qeth_l3_parse_vipae(const char *buf, enum qeth_prot_versions proto,
proto             734 drivers/s390/net/qeth_l3_sys.c 	if (qeth_l3_string_to_ipaddr(buf, proto, addr)) {
proto             741 drivers/s390/net/qeth_l3_sys.c 			struct qeth_card *card, enum qeth_prot_versions proto)
proto             747 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_vipae(buf, proto, addr);
proto             750 drivers/s390/net/qeth_l3_sys.c 					      QETH_IP_TYPE_VIPA, proto);
proto             771 drivers/s390/net/qeth_l3_sys.c 			 struct qeth_card *card, enum qeth_prot_versions proto)
proto             777 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_vipae(buf, proto, addr);
proto             780 drivers/s390/net/qeth_l3_sys.c 					      QETH_IP_TYPE_VIPA, proto);
proto             857 drivers/s390/net/qeth_l3_sys.c static int qeth_l3_parse_rxipe(const char *buf, enum qeth_prot_versions proto,
proto             863 drivers/s390/net/qeth_l3_sys.c 	if (qeth_l3_string_to_ipaddr(buf, proto, addr)) {
proto             866 drivers/s390/net/qeth_l3_sys.c 	if (proto == QETH_PROT_IPV4) {
proto             872 drivers/s390/net/qeth_l3_sys.c 	} else if (proto == QETH_PROT_IPV6) {
proto             884 drivers/s390/net/qeth_l3_sys.c 			struct qeth_card *card, enum qeth_prot_versions proto)
proto             890 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_rxipe(buf, proto, addr);
proto             893 drivers/s390/net/qeth_l3_sys.c 					      QETH_IP_TYPE_RXIP, proto);
proto             914 drivers/s390/net/qeth_l3_sys.c 			struct qeth_card *card, enum qeth_prot_versions proto)
proto             920 drivers/s390/net/qeth_l3_sys.c 	rc = qeth_l3_parse_rxipe(buf, proto, addr);
proto             923 drivers/s390/net/qeth_l3_sys.c 					      QETH_IP_TYPE_RXIP, proto);
proto            1153 drivers/scsi/ipr.c static void ipr_update_ata_class(struct ipr_resource_entry *res, unsigned int proto)
proto            1155 drivers/scsi/ipr.c 	switch (proto) {
proto            1182 drivers/scsi/ipr.c 	unsigned int proto;
proto            1196 drivers/scsi/ipr.c 		proto = cfgtew->u.cfgte64->proto;
proto            1242 drivers/scsi/ipr.c 		proto = cfgtew->u.cfgte->proto;
proto            1256 drivers/scsi/ipr.c 	ipr_update_ata_class(res, proto);
proto            1342 drivers/scsi/ipr.c 	unsigned int proto;
proto            1354 drivers/scsi/ipr.c 		proto = cfgtew->u.cfgte64->proto;
proto            1383 drivers/scsi/ipr.c 		proto = cfgtew->u.cfgte->proto;
proto            1387 drivers/scsi/ipr.c 	ipr_update_ata_class(res, proto);
proto             396 drivers/scsi/ipr.h 	u8 proto;
proto             418 drivers/scsi/ipr.h 	u8 proto;
proto             462 drivers/scsi/isci/phy.c void sci_phy_get_protocols(struct isci_phy *iphy, struct sci_phy_proto *proto)
proto             464 drivers/scsi/isci/phy.c 	proto->all = readl(&iphy->link_layer_registers->transmit_identification);
proto              88 drivers/scsi/isci/port.c static void sci_port_get_protocols(struct isci_port *iport, struct sci_phy_proto *proto)
proto              92 drivers/scsi/isci/port.c 	proto->all = 0;
proto              98 drivers/scsi/isci/port.c 		sci_phy_get_protocols(iphy, proto);
proto             247 drivers/scsi/isci/task.c 		isci_tmf->proto = SAS_PROTOCOL_SSP;
proto             712 drivers/scsi/isci/task.c 		if (tmf->proto == SAS_PROTOCOL_SSP) {
proto             716 drivers/scsi/isci/task.c 		} else if (tmf->proto == SAS_PROTOCOL_SATA) {
proto              87 drivers/scsi/isci/task.h 	enum sas_protocol proto;
proto             101 drivers/scsi/isci/task.h 	if (SAS_PROTOCOL_SATA == tmf->proto)
proto              44 drivers/scsi/libsas/sas_internal.h int sas_show_proto(enum sas_protocol proto, char *buf);
proto              45 drivers/scsi/ps3rom.c 	u32	proto;		/* transfer mode                  */
proto             105 drivers/scsi/ps3rom.c 			atapi_cmnd.proto = DMA_PROTO;
proto             107 drivers/scsi/ps3rom.c 			atapi_cmnd.proto = PIO_DATA_IN_PROTO;
proto             113 drivers/scsi/ps3rom.c 			atapi_cmnd.proto = DMA_PROTO;
proto             115 drivers/scsi/ps3rom.c 			atapi_cmnd.proto = PIO_DATA_OUT_PROTO;
proto             121 drivers/scsi/ps3rom.c 		atapi_cmnd.proto = NON_DATA_PROTO;
proto             427 drivers/scsi/ses.c 	enum scsi_protocol proto = desc[0] & 0x0f;
proto             436 drivers/scsi/ses.c 	switch (proto) {
proto             261 drivers/soc/qcom/qcom-geni-se.c 	u32 proto = geni_se_read_proto(se);
proto             267 drivers/soc/qcom/qcom-geni-se.c 	if (proto != GENI_SE_UART) {
proto             274 drivers/soc/qcom/qcom-geni-se.c 	if (proto != GENI_SE_UART)
proto             268 drivers/spi/spi-geni-qcom.c 	unsigned int proto, major, minor, ver;
proto             272 drivers/spi/spi-geni-qcom.c 	proto = geni_se_read_proto(se);
proto             273 drivers/spi/spi-geni-qcom.c 	if (proto != GENI_SE_SPI) {
proto             274 drivers/spi/spi-geni-qcom.c 		dev_err(mas->dev, "Invalid proto %d\n", proto);
proto            2418 drivers/staging/qlge/qlge_main.c static int qlge_vlan_rx_add_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto            2449 drivers/staging/qlge/qlge_main.c static int qlge_vlan_rx_kill_vid(struct net_device *ndev, __be16 proto, u16 vid)
proto             113 drivers/staging/wlan-ng/p80211conv.c 	u16 proto;
proto             133 drivers/staging/wlan-ng/p80211conv.c 		proto = ntohs(e_hdr.type);
proto             134 drivers/staging/wlan-ng/p80211conv.c 		if (proto <= ETH_DATA_LEN) {
proto             143 drivers/staging/wlan-ng/p80211conv.c 			skb_trim(skb, proto);
proto             153 drivers/staging/wlan-ng/p80211conv.c 			e_snap->type = htons(proto);
proto             155 drivers/staging/wlan-ng/p80211conv.c 			    p80211_stt_findproto(proto)) {
proto             525 drivers/staging/wlan-ng/p80211conv.c int p80211_stt_findproto(u16 proto)
proto             534 drivers/staging/wlan-ng/p80211conv.c 	if (proto == ETH_P_AARP)	/* APPLETALK */
proto             163 drivers/staging/wlan-ng/p80211conv.h int p80211_stt_findproto(u16 proto);
proto              43 drivers/tty/hvc/hvc_opal.c 	hv_protocol_t		proto;	/* Raw data or HVSI packets */
proto             158 drivers/tty/hvc/hvc_opal.c 	hv_protocol_t proto;
proto             163 drivers/tty/hvc/hvc_opal.c 		proto = HV_PROTOCOL_RAW;
proto             167 drivers/tty/hvc/hvc_opal.c 		proto = HV_PROTOCOL_HVSI;
proto             186 drivers/tty/hvc/hvc_opal.c 		pv->proto = proto;
proto             188 drivers/tty/hvc/hvc_opal.c 		if (proto == HV_PROTOCOL_HVSI) {
proto             207 drivers/tty/hvc/hvc_opal.c 		proto == HV_PROTOCOL_RAW ? "raw" : "hvsi",
proto             278 drivers/tty/hvc/hvc_opal.c 		switch(hvc_opal_boot_priv.proto) {
proto             300 drivers/tty/hvc/hvc_opal.c 	switch(hvc_opal_boot_priv.proto) {
proto             373 drivers/tty/hvc/hvc_opal.c 		hvc_opal_boot_priv.proto = HV_PROTOCOL_RAW;
proto             378 drivers/tty/hvc/hvc_opal.c 		hvc_opal_boot_priv.proto = HV_PROTOCOL_HVSI;
proto             401 drivers/tty/hvc/hvc_opal.c 	hvc_opal_boot_priv.proto = HV_PROTOCOL_RAW;
proto              58 drivers/tty/hvc/hvc_vio.c 	hv_protocol_t		proto;	/* Raw data or HVSI packets */
proto             239 drivers/tty/hvc/hvc_vio.c 		switch(hvterm_privs[0]->proto) {
proto             263 drivers/tty/hvc/hvc_vio.c 	switch(hvterm_privs[0]->proto) {
proto             302 drivers/tty/hvc/hvc_vio.c 	hv_protocol_t proto;
proto             310 drivers/tty/hvc/hvc_vio.c 		proto = HV_PROTOCOL_RAW;
proto             313 drivers/tty/hvc/hvc_vio.c 		proto = HV_PROTOCOL_HVSI;
proto             322 drivers/tty/hvc/hvc_vio.c 		 proto == HV_PROTOCOL_RAW ? "raw" : "hvsi");
proto             343 drivers/tty/hvc/hvc_vio.c 		pv->proto = proto;
proto             403 drivers/tty/hvc/hvc_vio.c 		hvterm_priv0.proto = HV_PROTOCOL_RAW;
proto             407 drivers/tty/hvc/hvc_vio.c 		hvterm_priv0.proto = HV_PROTOCOL_HVSI;
proto             422 drivers/tty/hvc/hvc_vio.c 	if (hvterm_priv0.proto == HV_PROTOCOL_HVSI)
proto             447 drivers/tty/hvc/hvc_vio.c 	hvterm_priv0.proto = HV_PROTOCOL_RAW;
proto             464 drivers/tty/hvc/hvc_vio.c 	hvterm_priv0.proto = HV_PROTOCOL_HVSI;
proto             854 drivers/tty/serial/qcom_geni_serial.c 	u32 proto;
proto             864 drivers/tty/serial/qcom_geni_serial.c 	proto = geni_se_read_proto(&port->se);
proto             865 drivers/tty/serial/qcom_geni_serial.c 	if (proto != GENI_SE_UART) {
proto             866 drivers/tty/serial/qcom_geni_serial.c 		dev_err(uport->dev, "Invalid FW loaded, proto: %d\n", proto);
proto            1228 drivers/tty/serial/sunsu.c 		serio->id.proto = SERIO_SUNKBD;
proto            1231 drivers/tty/serial/sunsu.c 		serio->id.proto = SERIO_SUN;
proto            1313 drivers/tty/serial/sunzilog.c 		serio->id.proto = SERIO_SUNKBD;
proto            1316 drivers/tty/serial/sunzilog.c 		serio->id.proto = SERIO_SUN;
proto              25 drivers/xen/pvcalls-front.c static struct proto pvcalls_proto = {
proto            4690 fs/ceph/mds_client.c 					int *proto, int force_new)
proto            4712 fs/ceph/mds_client.c 	*proto = ac->protocol;
proto              50 fs/compat.c    	compat_int_t proto;
proto              66 fs/compat.c    		real->proto = raw->proto;
proto             208 fs/debugfs/file.c #define FULL_PROXY_FUNC(name, ret_type, filp, proto, args)		\
proto             209 fs/debugfs/file.c static ret_type full_proxy_ ## name(proto)				\
proto             354 fs/gfs2/ops_fstype.c 	char *proto, *table;
proto             357 fs/gfs2/ops_fstype.c 	proto = sdp->sd_args.ar_lockproto;
proto             362 fs/gfs2/ops_fstype.c 	if (!proto[0] || !table[0]) {
proto             367 fs/gfs2/ops_fstype.c 		if (!proto[0])
proto             368 fs/gfs2/ops_fstype.c 			proto = sdp->sd_sb.sb_lockproto;
proto             376 fs/gfs2/ops_fstype.c 	strlcpy(sdp->sd_proto_name, proto, GFS2_FSNAME_LEN);
proto             938 fs/gfs2/ops_fstype.c 	const char *proto = sdp->sd_proto_name;
proto             943 fs/gfs2/ops_fstype.c 	if (!strcmp("lock_nolock", proto)) {
proto             947 fs/gfs2/ops_fstype.c 	} else if (!strcmp("lock_dlm", proto)) {
proto             951 fs/gfs2/ops_fstype.c 		pr_info("can't find protocol %s\n", proto);
proto             955 fs/gfs2/ops_fstype.c 	fs_info(sdp, "Trying to join cluster \"%s\", \"%s\"\n", proto, table);
proto             179 fs/nfs/client.c 	clp->cl_proto = cl_init->proto;
proto             311 fs/nfs/client.c 		if (clp->cl_proto != data->proto)
proto             449 fs/nfs/client.c void nfs_init_timeout_values(struct rpc_timeout *to, int proto,
proto             455 fs/nfs/client.c 	switch (proto) {
proto             661 fs/nfs/client.c 		.proto = data->nfs_server.protocol,
proto              74 fs/nfs/internal.h 	int proto;
proto             161 fs/nfs/internal.h void nfs_init_timeout_values(struct rpc_timeout *to, int proto, int timeo, int retrans);
proto              92 fs/nfs/nfs3client.c 		.proto = ds_proto,
proto             863 fs/nfs/nfs4client.c 		int proto, const struct rpc_timeout *timeparms,
proto             873 fs/nfs/nfs4client.c 		.proto = proto,
proto             881 fs/nfs/nfs4client.c 	if (minorversion > 0 && proto == XPRT_TRANSPORT_TCP)
proto             937 fs/nfs/nfs4client.c 		.proto = ds_proto,
proto             539 fs/nfs/super.c 	char *proto = NULL;
proto             545 fs/nfs/super.c 			proto = RPCBIND_NETID_UDP;
proto             548 fs/nfs/super.c 			proto = RPCBIND_NETID_TCP;
proto             555 fs/nfs/super.c 			proto = RPCBIND_NETID_UDP6;
proto             558 fs/nfs/super.c 			proto = RPCBIND_NETID_TCP6;
proto             563 fs/nfs/super.c 	if (proto || showdefaults)
proto             564 fs/nfs/super.c 		seq_printf(m, ",mountproto=%s", proto ?: "auto");
proto            2907 fs/nfs/super.c 		args->nfs_server.protocol = data->proto;
proto             780 fs/nfsd/nfssvc.c 		     u32 version, int family, unsigned short proto,
proto             787 fs/nfsd/nfssvc.c 			proto, port);
proto             826 fs/nfsd/nfssvc.c 		 u32 version, int family, unsigned short proto,
proto             832 fs/nfsd/nfssvc.c 			proto, port);
proto             733 fs/ocfs2/dlm/dlmdomain.c 	struct dlm_protocol_version proto = *request;
proto             735 fs/ocfs2/dlm/dlmdomain.c 	if (!dlm_protocol_compare(ours, &proto)) {
proto             742 fs/ocfs2/dlm/dlmdomain.c 		     proto.pv_major, proto.pv_minor);
proto             743 fs/ocfs2/dlm/dlmdomain.c 		request->pv_minor = proto.pv_minor;
proto              70 include/asm-generic/checksum.h 		   __u8 proto, __wsum sum);
proto              76 include/asm-generic/checksum.h 		  __u8 proto, __wsum sum)
proto              78 include/asm-generic/checksum.h 	return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
proto              41 include/linux/can/core.h 	struct proto *prot;
proto              33 include/linux/ceph/messenger.h 			       int *proto, int force_new);
proto            1621 include/linux/efi.h 			   struct screen_info *si, efi_guid_t *proto,
proto             206 include/linux/etherdevice.h static inline bool eth_proto_is_802_3(__be16 proto)
proto             210 include/linux/etherdevice.h 	proto &= htons(0xFF00);
proto             213 include/linux/etherdevice.h 	return (__force u16)proto >= (__force u16)htons(ETH_P_802_3_MIN);
proto              44 include/linux/hdlc.h 	const struct hdlc_proto *proto;
proto              64 include/linux/hdlc.h void register_hdlc_protocol(struct hdlc_proto *proto);
proto              65 include/linux/hdlc.h void unregister_hdlc_protocol(struct hdlc_proto *proto);
proto              96 include/linux/hdlc.h int attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto,
proto             109 include/linux/hdlc.h 	if (hdlc->proto->type_trans)
proto             110 include/linux/hdlc.h 		return hdlc->proto->type_trans(skb, dev);
proto              23 include/linux/if_bridge.h 	__be16		proto;
proto              58 include/linux/if_bridge.h bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
proto              59 include/linux/if_bridge.h bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
proto              69 include/linux/if_bridge.h 						     int proto)
proto              74 include/linux/if_bridge.h 						     int proto)
proto              52 include/linux/if_pppox.h 	} proto;
proto              55 include/linux/if_pppox.h #define pppoe_dev	proto.pppoe.dev
proto              56 include/linux/if_pppox.h #define pppoe_ifindex	proto.pppoe.ifindex
proto              57 include/linux/if_pppox.h #define pppoe_pa	proto.pppoe.pa
proto              58 include/linux/if_pppox.h #define pppoe_relay	proto.pppoe.relay
proto             213 include/linux/if_vlan.h extern int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid);
proto             214 include/linux/if_vlan.h extern void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid);
proto             268 include/linux/if_vlan.h static inline int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid)
proto             273 include/linux/if_vlan.h static inline void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid)
proto             312 include/linux/if_vlan.h 					   __be16 proto)
proto             314 include/linux/if_vlan.h 	if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX)
proto             316 include/linux/if_vlan.h 	if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX)
proto             631 include/linux/if_vlan.h 	__be16 proto;
proto             639 include/linux/if_vlan.h 	proto = vhdr->h_vlan_encapsulated_proto;
proto             640 include/linux/if_vlan.h 	if (eth_proto_is_802_3(proto)) {
proto             641 include/linux/if_vlan.h 		skb->protocol = proto;
proto             113 include/linux/igmp.h extern int ip_check_mc_rcu(struct in_device *dev, __be32 mc_addr, __be32 src_addr, u8 proto);
proto              21 include/linux/in.h static inline int proto_ports_offset(int proto)
proto              23 include/linux/in.h 	switch (proto) {
proto             115 include/linux/lsm_audit.h 		struct common_audit_data *ad, u8 *proto);
proto             118 include/linux/lsm_audit.h 		struct common_audit_data *ad, u8 *proto);
proto             313 include/linux/mlx4/cmd.h 		     u8 qos, __be16 proto);
proto              91 include/linux/mlx4/driver.h void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port);
proto             240 include/linux/mod_devicetable.h 	__u8 proto;
proto             200 include/linux/mtd/spi-nor.h static inline bool spi_nor_protocol_is_dtr(enum spi_nor_protocol proto)
proto             202 include/linux/mtd/spi-nor.h 	return !!(proto & SNOR_PROTO_IS_DTR);
proto             205 include/linux/mtd/spi-nor.h static inline u8 spi_nor_get_protocol_inst_nbits(enum spi_nor_protocol proto)
proto             207 include/linux/mtd/spi-nor.h 	return ((unsigned long)(proto & SNOR_PROTO_INST_MASK)) >>
proto             211 include/linux/mtd/spi-nor.h static inline u8 spi_nor_get_protocol_addr_nbits(enum spi_nor_protocol proto)
proto             213 include/linux/mtd/spi-nor.h 	return ((unsigned long)(proto & SNOR_PROTO_ADDR_MASK)) >>
proto             217 include/linux/mtd/spi-nor.h static inline u8 spi_nor_get_protocol_data_nbits(enum spi_nor_protocol proto)
proto             219 include/linux/mtd/spi-nor.h 	return ((unsigned long)(proto & SNOR_PROTO_DATA_MASK)) >>
proto             223 include/linux/mtd/spi-nor.h static inline u8 spi_nor_get_protocol_width(enum spi_nor_protocol proto)
proto             225 include/linux/mtd/spi-nor.h 	return spi_nor_get_protocol_data_nbits(proto);
proto             415 include/linux/mtd/spi-nor.h 	enum spi_nor_protocol	proto;
proto             420 include/linux/mtd/spi-nor.h 	enum spi_nor_protocol	proto;
proto             231 include/linux/net.h int __sock_create(struct net *net, int family, int type, int proto,
proto             233 include/linux/net.h int sock_create(int family, int type, int proto, struct socket **res);
proto             234 include/linux/net.h int sock_create_kern(struct net *net, int family, int type, int proto, struct socket **res);
proto             235 include/linux/net.h int sock_create_lite(int family, int type, int proto, struct socket **res);
proto             318 include/linux/net.h #define MODULE_ALIAS_NETPROTO(proto) \
proto             319 include/linux/net.h 	MODULE_ALIAS("net-pf-" __stringify(proto))
proto             321 include/linux/net.h #define MODULE_ALIAS_NET_PF_PROTO(pf, proto) \
proto             322 include/linux/net.h 	MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto))
proto             324 include/linux/net.h #define MODULE_ALIAS_NET_PF_PROTO_TYPE(pf, proto, type) \
proto             325 include/linux/net.h 	MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \
proto             328 include/linux/net.h #define MODULE_ALIAS_NET_PF_PROTO_NAME(pf, proto, name) \
proto             329 include/linux/net.h 	MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \
proto            1287 include/linux/netdevice.h 						       __be16 proto, u16 vid);
proto            1289 include/linux/netdevice.h 						        __be16 proto, u16 vid);
proto            1300 include/linux/netdevice.h 						   u8 qos, __be16 proto);
proto            2279 include/linux/netdevice.h 	u16	proto;
proto            2767 include/linux/netdevice.h #define __skb_gro_checksum_validate(skb, proto, zero_okay, check,	\
proto            2773 include/linux/netdevice.h 				compute_pseudo(skb, proto));		\
proto            2779 include/linux/netdevice.h #define skb_gro_checksum_validate(skb, proto, compute_pseudo)		\
proto            2780 include/linux/netdevice.h 	__skb_gro_checksum_validate(skb, proto, false, 0, compute_pseudo)
proto            2782 include/linux/netdevice.h #define skb_gro_checksum_validate_zero_check(skb, proto, check,		\
proto            2784 include/linux/netdevice.h 	__skb_gro_checksum_validate(skb, proto, true, check, compute_pseudo)
proto            2802 include/linux/netdevice.h #define skb_gro_checksum_try_convert(skb, proto, check, compute_pseudo)	\
proto            2806 include/linux/netdevice.h 					   compute_pseudo(skb, proto));	\
proto              10 include/linux/netfilter/ipset/ip_set_getport.h 				__be16 *port, u8 *proto);
proto              14 include/linux/netfilter/ipset/ip_set_getport.h 				__be16 *port, u8 *proto);
proto              17 include/linux/netfilter/ipset/ip_set_getport.h 				       __be16 *port, u8 *proto)
proto              26 include/linux/netfilter/ipset/ip_set_getport.h static inline bool ip_set_proto_with_ports(u8 proto)
proto              28 include/linux/netfilter/ipset/ip_set_getport.h 	switch (proto) {
proto             176 include/linux/netfilter/x_tables.h 	unsigned short proto;
proto             217 include/linux/netfilter/x_tables.h 	unsigned short proto;
proto             292 include/linux/netfilter/x_tables.h int xt_check_match(struct xt_mtchk_param *, unsigned int size, u16 proto,
proto             294 include/linux/netfilter/x_tables.h int xt_check_target(struct xt_tgchk_param *, unsigned int size, u16 proto,
proto            1282 include/linux/skbuff.h 		      __be16 proto, int nhoff, int hlen, unsigned int flags);
proto            1288 include/linux/skbuff.h 			void *data, __be16 proto, int nhoff, int hlen,
proto            1312 include/linux/skbuff.h 				 __be16 proto, int nhoff, int hlen,
proto            1317 include/linux/skbuff.h 				  data, proto, nhoff, hlen, flags);
proto            3965 include/linux/skbuff.h static inline __wsum null_compute_pseudo(struct sk_buff *skb, int proto)
proto            3980 include/linux/skbuff.h #define __skb_checksum_validate(skb, proto, complete,			\
proto            3987 include/linux/skbuff.h 				complete, compute_pseudo(skb, proto));	\
proto            3991 include/linux/skbuff.h #define skb_checksum_init(skb, proto, compute_pseudo)			\
proto            3992 include/linux/skbuff.h 	__skb_checksum_validate(skb, proto, false, false, 0, compute_pseudo)
proto            3994 include/linux/skbuff.h #define skb_checksum_init_zero_check(skb, proto, check, compute_pseudo)	\
proto            3995 include/linux/skbuff.h 	__skb_checksum_validate(skb, proto, false, true, check, compute_pseudo)
proto            3997 include/linux/skbuff.h #define skb_checksum_validate(skb, proto, compute_pseudo)		\
proto            3998 include/linux/skbuff.h 	__skb_checksum_validate(skb, proto, true, false, 0, compute_pseudo)
proto            4000 include/linux/skbuff.h #define skb_checksum_validate_zero_check(skb, proto, check,		\
proto            4002 include/linux/skbuff.h 	__skb_checksum_validate(skb, proto, true, true, check, compute_pseudo)
proto            4018 include/linux/skbuff.h #define skb_checksum_try_convert(skb, proto, compute_pseudo)	\
proto            4021 include/linux/skbuff.h 		__skb_checksum_convert(skb, compute_pseudo(skb, proto)); \
proto             102 include/linux/skmsg.h 	struct proto			*sk_proto;
proto             345 include/linux/skmsg.h 					 struct proto *ops)
proto             416 include/linux/sunrpc/svc.h 						  unsigned short proto,
proto             533 include/linux/sunrpc/svc.h 					   unsigned short proto,
proto             538 include/linux/sunrpc/svc.h 					   unsigned short proto,
proto             162 include/linux/tracepoint.h #define __DO_TRACE(tp, proto, args, cond, rcuidle)			\
proto             193 include/linux/tracepoint.h 				((void(*)(proto))(it_func))(args);	\
proto             206 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \
proto             207 include/linux/tracepoint.h 	static inline void trace_##name##_rcuidle(proto)		\
proto             216 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args)
proto             231 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \
proto             233 include/linux/tracepoint.h 	static inline void trace_##name(proto)				\
proto             246 include/linux/tracepoint.h 	__DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args),		\
proto             299 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \
proto             300 include/linux/tracepoint.h 	static inline void trace_##name(proto)				\
proto             302 include/linux/tracepoint.h 	static inline void trace_##name##_rcuidle(proto)		\
proto             395 include/linux/tracepoint.h #define DECLARE_TRACE(name, proto, args)				\
proto             396 include/linux/tracepoint.h 	__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),		\
proto             398 include/linux/tracepoint.h 			PARAMS(void *__data, proto),			\
proto             401 include/linux/tracepoint.h #define DECLARE_TRACE_CONDITION(name, proto, args, cond)		\
proto             402 include/linux/tracepoint.h 	__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),		\
proto             404 include/linux/tracepoint.h 			PARAMS(void *__data, proto),			\
proto             519 include/linux/tracepoint.h #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print)
proto             520 include/linux/tracepoint.h #define DEFINE_EVENT(template, name, proto, args)		\
proto             521 include/linux/tracepoint.h 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
proto             522 include/linux/tracepoint.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)\
proto             523 include/linux/tracepoint.h 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
proto             524 include/linux/tracepoint.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             525 include/linux/tracepoint.h 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
proto             526 include/linux/tracepoint.h #define DEFINE_EVENT_CONDITION(template, name, proto,		\
proto             528 include/linux/tracepoint.h 	DECLARE_TRACE_CONDITION(name, PARAMS(proto),		\
proto             531 include/linux/tracepoint.h #define TRACE_EVENT(name, proto, args, struct, assign, print)	\
proto             532 include/linux/tracepoint.h 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
proto             533 include/linux/tracepoint.h #define TRACE_EVENT_FN(name, proto, args, struct,		\
proto             535 include/linux/tracepoint.h 	DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
proto             536 include/linux/tracepoint.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct,		\
proto             538 include/linux/tracepoint.h 	DECLARE_TRACE_CONDITION(name, PARAMS(proto),	\
proto             540 include/linux/tracepoint.h #define TRACE_EVENT_CONDITION(name, proto, args, cond,		\
proto             542 include/linux/tracepoint.h 	DECLARE_TRACE_CONDITION(name, PARAMS(proto),		\
proto             549 include/linux/tracepoint.h #define DECLARE_EVENT_NOP(name, proto, args)				\
proto             550 include/linux/tracepoint.h 	static inline void trace_##name(proto)				\
proto             557 include/linux/tracepoint.h #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print)	\
proto             558 include/linux/tracepoint.h 	DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))
proto             560 include/linux/tracepoint.h #define DECLARE_EVENT_CLASS_NOP(name, proto, args, tstruct, assign, print)
proto             561 include/linux/tracepoint.h #define DEFINE_EVENT_NOP(template, name, proto, args)			\
proto             562 include/linux/tracepoint.h 	DECLARE_EVENT_NOP(name, PARAMS(proto), PARAMS(args))
proto             266 include/net/bluetooth/bluetooth.h int  bt_sock_register(int proto, const struct net_proto_family *ops);
proto             267 include/net/bluetooth/bluetooth.h void bt_sock_unregister(int proto);
proto             414 include/net/bluetooth/bluetooth.h void bt_sock_reclassify_lock(struct sock *sk, int proto);
proto            2247 include/net/bluetooth/hci.h 	__u16    proto;
proto            3936 include/net/cfg80211.h 				   const u8 *dest, const __be16 proto,
proto              71 include/net/dsa.h 	int (*flow_dissect)(const struct sk_buff *skb, __be16 *proto,
proto              80 include/net/dsa.h 	enum dsa_tag_protocol proto;
proto              23 include/net/esp.h 	__u8	proto;
proto              29 include/net/fib_rules.h 	u8                      proto;
proto             100 include/net/flow.h 				      __u8 proto, __u8 flags,
proto             110 include/net/flow.h 	fl4->flowi4_proto = proto;
proto             168 include/net/flow_offload.h 			__be16		proto;
proto             202 include/net/flow_offload.h 			__be16		proto;
proto             208 include/net/flow_offload.h 			__be16		proto;
proto              96 include/net/garp.h 	struct stp_proto	proto;
proto              32 include/net/gre.h int gre_add_protocol(const struct gre_protocol *proto, u8 version);
proto              33 include/net/gre.h int gre_del_protocol(const struct gre_protocol *proto, u8 version);
proto              38 include/net/gre.h 		     bool *csum_err, __be16 proto, int nhs);
proto             121 include/net/gre.h 				    __be16 flags, __be16 proto,
proto             128 include/net/gre.h 	skb_set_inner_protocol(skb, proto);
proto             132 include/net/gre.h 	greh->protocol = proto;
proto              20 include/net/inet6_connection_sock.h 				      const struct request_sock *req, u8 proto);
proto             159 include/net/ip.h void ip_protocol_deliver_rcu(struct net *net, struct sk_buff *skb, int proto);
proto             525 include/net/ip.h static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto)
proto             528 include/net/ip.h 				  skb->len, proto, 0);
proto             545 include/net/ip.h static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto)
proto             550 include/net/ip.h 				  skb_gro_len(skb), proto, 0);
proto              36 include/net/ip6_checksum.h 			__u32 len, __u8 proto, __wsum csum);
proto              39 include/net/ip6_checksum.h static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto)
proto              43 include/net/ip6_checksum.h 					    skb->len, proto, 0));
proto              46 include/net/ip6_checksum.h static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto)
proto              51 include/net/ip6_checksum.h 					    skb_gro_len(skb), proto, 0));
proto             100 include/net/ip6_checksum.h int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto);
proto              24 include/net/ip6_tunnel.h 	__u8 proto;		/* tunnel protocol */
proto             145 include/net/ip6_tunnel.h 		 struct flowi6 *fl6, int encap_limit, __u32 *pmtu, __u8 proto);
proto             149 include/net/ip_tunnels.h 	__be16 proto;
proto             241 include/net/ip_tunnels.h 				       int proto,
proto             251 include/net/ip_tunnels.h 	fl4->flowi4_proto = proto;
proto             271 include/net/ip_tunnels.h 		       const u8 proto, int tunnel_hlen);
proto             415 include/net/ip_tunnels.h 		   __be32 src, __be32 dst, u8 proto,
proto             485 include/net/ip_vs.h struct ip_vs_protocol   *ip_vs_proto_get(unsigned short proto);
proto             487 include/net/ip_vs.h 					      unsigned short proto);
proto            1159 include/net/ip_vs.h const char *ip_vs_proto_name(unsigned int proto);
proto            1338 include/net/ip_vs.h int register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto,
proto            1601 include/net/ip_vs.h 			       struct ip_vs_conn *cp, u_int8_t proto,
proto            1047 include/net/ipv6.h 			  u8 *proto, struct in6_addr **daddr_p,
proto            1050 include/net/ipv6.h 			 u8 *proto);
proto              28 include/net/l3mdev.h 					  struct sk_buff *skb, u16 proto);
proto              31 include/net/l3mdev.h 					  u16 proto);
proto             146 include/net/l3mdev.h struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto)
proto             157 include/net/l3mdev.h 		skb = master->l3mdev_ops->l3mdev_l3_rcv(master, skb, proto);
proto             175 include/net/l3mdev.h struct sk_buff *l3mdev_l3_out(struct sock *sk, struct sk_buff *skb, u16 proto)
proto             185 include/net/l3mdev.h 								skb, proto);
proto              99 include/net/llc_conn.h 			  struct proto *prot, int kern);
proto              32 include/net/ncsi.h int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid);
proto              33 include/net/ncsi.h int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid);
proto              40 include/net/ncsi.h static inline int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto              45 include/net/ncsi.h static inline int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto             107 include/net/netfilter/nf_conntrack.h 	union nf_conntrack_proto proto;
proto              74 include/net/netfilter/nf_conntrack_core.h 		 const struct nf_conntrack_l4proto *proto);
proto             105 include/net/netfilter/nf_log.h 			   u8 proto, int fragment, unsigned int offset);
proto             107 include/net/netfilter/nf_log.h 			   u8 proto, int fragment, unsigned int offset,
proto              83 include/net/netfilter/nf_nat.h 			u8 nfproto, u8 proto, void *data, __sum16 *check,
proto               8 include/net/netfilter/nf_reject.h static inline bool nf_reject_verify_csum(__u8 proto)
proto              13 include/net/netfilter/nf_reject.h 	switch (proto) {
proto              57 include/net/netfilter/nf_tables_offload.h 	__be16			proto;
proto              10 include/net/p8022.h void unregister_8022_client(struct datalink_proto *proto);
proto              94 include/net/phonet/phonet.h 	struct proto		*prot;
proto              51 include/net/ping.h extern struct proto ping_prot;
proto              88 include/net/protocol.h 	struct proto	 *prot;
proto              10 include/net/psnap.h void unregister_snap_client(struct datalink_proto *proto);
proto              20 include/net/raw.h extern struct proto raw_prot;
proto              25 include/net/request_sock.h struct proto;
proto             155 include/net/route.h 						   __u8 proto, __u8 tos, int oif)
proto             158 include/net/route.h 			   RT_SCOPE_UNIVERSE, proto,
proto             461 include/net/sctp/sctp.h extern struct proto sctp_prot;
proto             462 include/net/sctp/sctp.h extern struct proto sctpv6_prot;
proto              62 include/net/seg6.h 			     int proto);
proto             111 include/net/sock.h struct proto;
proto             182 include/net/sock.h 	struct proto		*skc_prot;
proto             466 include/net/sock.h 	struct proto		*sk_prot_creator;
proto            1189 include/net/sock.h int proto_register(struct proto *prot, int alloc_slab);
proto            1190 include/net/sock.h void proto_unregister(struct proto *prot);
proto            1306 include/net/sock.h proto_sockets_allocated_sum_positive(struct proto *prot)
proto            1312 include/net/sock.h proto_memory_allocated(struct proto *prot)
proto            1318 include/net/sock.h proto_memory_pressure(struct proto *prot)
proto            1328 include/net/sock.h void sock_prot_inuse_add(struct net *net, struct proto *prot, int inc);
proto            1329 include/net/sock.h int sock_prot_inuse_get(struct net *net, struct proto *proto);
proto            1332 include/net/sock.h static inline void sock_prot_inuse_add(struct net *net, struct proto *prot,
proto            1603 include/net/sock.h 		      struct proto *prot, int kern);
proto            2568 include/net/sock.h static inline int sk_get_wmem0(const struct sock *sk, const struct proto *proto)
proto            2571 include/net/sock.h 	if (proto->sysctl_wmem_offset)
proto            2572 include/net/sock.h 		return *(int *)((void *)sock_net(sk) + proto->sysctl_wmem_offset);
proto            2574 include/net/sock.h 	return *proto->sysctl_wmem;
proto            2577 include/net/sock.h static inline int sk_get_rmem0(const struct sock *sk, const struct proto *proto)
proto            2580 include/net/sock.h 	if (proto->sysctl_rmem_offset)
proto            2581 include/net/sock.h 		return *(int *)((void *)sock_net(sk) + proto->sysctl_rmem_offset);
proto            2583 include/net/sock.h 	return *proto->sysctl_rmem;
proto              12 include/net/stp.h int stp_proto_register(const struct stp_proto *proto);
proto              13 include/net/stp.h void stp_proto_unregister(const struct stp_proto *proto);
proto             306 include/net/tcp.h extern struct proto tcp_prot;
proto            2148 include/net/tcp.h 	void (*update)(struct sock *sk, struct proto *p,
proto            2164 include/net/tcp.h void tcp_update_ulp(struct sock *sk, struct proto *p,
proto             283 include/net/tls.h 	struct proto *sk_proto;
proto               8 include/net/transp_v6.h extern struct proto rawv6_prot;
proto               9 include/net/transp_v6.h extern struct proto udpv6_prot;
proto              10 include/net/transp_v6.h extern struct proto udplitev6_prot;
proto              11 include/net/transp_v6.h extern struct proto tcpv6_prot;
proto              12 include/net/transp_v6.h extern struct proto pingv6_prot;
proto              15 include/net/tun_proto.h static inline __be16 tun_p_to_eth_p(u8 proto)
proto              17 include/net/tun_proto.h 	switch (proto) {
proto              32 include/net/tun_proto.h static inline u8 tun_p_from_eth_p(__be16 proto)
proto              34 include/net/tun_proto.h 	switch (proto) {
proto              94 include/net/udp.h extern struct proto udp_prot;
proto              14 include/net/udplite.h extern struct proto 		udplite_prot;
proto              46 include/net/xfrm.h #define MODULE_ALIAS_XFRM_TYPE(family, proto) \
proto              47 include/net/xfrm.h 	MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
proto              48 include/net/xfrm.h #define MODULE_ALIAS_XFRM_OFFLOAD_TYPE(family, proto) \
proto              49 include/net/xfrm.h 	MODULE_ALIAS("xfrm-offload-" __stringify(family) "-" __stringify(proto))
proto             123 include/net/xfrm.h 	u8			proto;
proto             284 include/net/xfrm.h 		u32 proto;
proto             350 include/net/xfrm.h 	u8				proto;
proto             393 include/net/xfrm.h 	u8			proto;
proto             415 include/net/xfrm.h 	u8		proto;
proto             549 include/net/xfrm.h 	u8			proto;
proto             576 include/net/xfrm.h 	int			(*report)(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr);
proto             713 include/net/xfrm.h 			      u8 proto);
proto             757 include/net/xfrm.h 				     struct sk_buff *skb, u8 proto)
proto            1026 include/net/xfrm.h 	__u8			proto;
proto            1332 include/net/xfrm.h static inline bool xfrm_id_proto_valid(u8 proto)
proto            1334 include/net/xfrm.h 	switch (proto) {
proto            1349 include/net/xfrm.h static inline int xfrm_id_proto_match(u8 proto, u8 userproto)
proto            1351 include/net/xfrm.h 	return (!userproto || proto == userproto ||
proto            1352 include/net/xfrm.h 		(userproto == IPSEC_PROTO_ANY && (proto == IPPROTO_AH ||
proto            1353 include/net/xfrm.h 						  proto == IPPROTO_ESP ||
proto            1354 include/net/xfrm.h 						  proto == IPPROTO_COMP)));
proto            1471 include/net/xfrm.h void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto,
proto            1488 include/net/xfrm.h 				       u8 mode, u8 proto, u32 reqid);
proto            1497 include/net/xfrm.h 				     u8 proto, unsigned short family);
proto            1501 include/net/xfrm.h 					    u8 proto,
proto            1539 include/net/xfrm.h int xfrm_state_flush(struct net *net, u8 proto, bool task_valid, bool sync);
proto            1593 include/net/xfrm.h 		     xfrm_address_t *saddr, u8 proto);
proto            1648 include/net/xfrm.h int verify_spi_info(u8 proto, u32 min, u32 max);
proto            1651 include/net/xfrm.h 				 u8 mode, u32 reqid, u32 if_id, u8 proto,
proto            1674 include/net/xfrm.h int km_report(struct net *net, u8 proto, struct xfrm_selector *sel,
proto            1897 include/rdma/ib_verbs.h 	u8	proto;
proto              24 include/scsi/scsi_transport_sas.h static inline int sas_protocol_ata(enum sas_protocol proto)
proto              26 include/scsi/scsi_transport_sas.h 	return ((proto & SAS_PROTOCOL_SATA) ||
proto              27 include/scsi/scsi_transport_sas.h 		(proto & SAS_PROTOCOL_STP))? 1 : 0;
proto              59 include/trace/bpf_probe.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto              61 include/trace/bpf_probe.h __bpf_trace_##call(void *__data, proto)					\
proto              72 include/trace/bpf_probe.h #define __DEFINE_EVENT(template, call, proto, args, size)		\
proto              89 include/trace/bpf_probe.h #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size)	\
proto              96 include/trace/bpf_probe.h 	FIRST(proto);							\
proto              99 include/trace/bpf_probe.h __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
proto             102 include/trace/bpf_probe.h #define DEFINE_EVENT(template, call, proto, args)			\
proto             103 include/trace/bpf_probe.h 	__DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
proto             106 include/trace/bpf_probe.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             107 include/trace/bpf_probe.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto              27 include/trace/define_trace.h #define TRACE_EVENT(name, proto, args, tstruct, assign, print)	\
proto              31 include/trace/define_trace.h #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \
proto              33 include/trace/define_trace.h 		PARAMS(proto),						\
proto              40 include/trace/define_trace.h #define TRACE_EVENT_FN(name, proto, args, tstruct,		\
proto              45 include/trace/define_trace.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct,		\
proto              50 include/trace/define_trace.h #define TRACE_EVENT_NOP(name, proto, args, struct, assign, print)
proto              53 include/trace/define_trace.h #define DEFINE_EVENT_NOP(template, name, proto, args)
proto              56 include/trace/define_trace.h #define DEFINE_EVENT(template, name, proto, args) \
proto              60 include/trace/define_trace.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg) \
proto              64 include/trace/define_trace.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto              68 include/trace/define_trace.h #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \
proto              69 include/trace/define_trace.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto              72 include/trace/define_trace.h #define DECLARE_TRACE(name, proto, args)	\
proto              99 include/trace/define_trace.h #define DECLARE_TRACE(name, proto, args)
proto              29 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size)	\
proto              30 include/trace/events/bpf_test_run.h 	DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto),		\
proto              34 include/trace/events/bpf_test_run.h #define BPF_TEST_RUN_DEFINE_EVENT(template, call, proto, args, size)	\
proto              35 include/trace/events/bpf_test_run.h 	DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
proto              25 include/trace/events/fib.h 		__field(	u8,	proto		)
proto              58 include/trace/events/fib.h 		__entry->proto = flp->flowi4_proto;
proto              59 include/trace/events/fib.h 		if (__entry->proto == IPPROTO_TCP ||
proto              60 include/trace/events/fib.h 		    __entry->proto == IPPROTO_UDP) {
proto              95 include/trace/events/fib.h 		  __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
proto              32 include/trace/events/fib6.h 		__field(        u8,	proto		)
proto              55 include/trace/events/fib6.h 		__entry->proto = flp->flowi6_proto;
proto              56 include/trace/events/fib6.h 		if (__entry->proto == IPPROTO_TCP ||
proto              57 include/trace/events/fib6.h 		    __entry->proto == IPPROTO_UDP) {
proto              83 include/trace/events/fib6.h 		  __entry->tb_id, __entry->oif, __entry->iif, __entry->proto,
proto             122 include/trace/events/libata.h #define ata_protocol_name(proto)	{ proto, #proto }
proto             174 include/trace/events/libata.h 		__field( unsigned char,	proto )
proto             182 include/trace/events/libata.h 		__entry->proto		= qc->tf.protocol;
proto             200 include/trace/events/libata.h 		  show_protocol_name(__entry->proto),
proto              85 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size)		\
proto              86 include/trace/events/nbd.h 	DEFINE_EVENT_WRITABLE(template, call, PARAMS(proto),		\
proto              90 include/trace/events/nbd.h #define NBD_DEFINE_EVENT(template, call, proto, args, size)		\
proto              91 include/trace/events/nbd.h 	DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args))
proto             595 include/trace/events/rxrpc.h 		    __entry->cid = conn->proto.cid;
proto              94 include/trace/events/sock.h 	TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind),
proto              31 include/trace/perf.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto              33 include/trace/perf.h perf_trace_##call(void *__data, proto)					\
proto              79 include/trace/perf.h #define DEFINE_EVENT(template, call, proto, args)			\
proto              87 include/trace/perf.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto              88 include/trace/perf.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto              73 include/trace/trace_events.h #define TRACE_EVENT(name, proto, args, tstruct, assign, print) \
proto              75 include/trace/trace_events.h 			     PARAMS(proto),		       \
proto              80 include/trace/trace_events.h 	DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
proto             111 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(name, proto, args, tstruct, assign, print)	\
proto             121 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args)	\
proto             126 include/trace/trace_events.h #define DEFINE_EVENT_FN(template, name, proto, args, reg, unreg)	\
proto             127 include/trace/trace_events.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto             130 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             131 include/trace/trace_events.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto             135 include/trace/trace_events.h #define TRACE_EVENT_FN(name, proto, args, tstruct,			\
proto             137 include/trace/trace_events.h 	TRACE_EVENT(name, PARAMS(proto), PARAMS(args),			\
proto             141 include/trace/trace_events.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct,	\
proto             143 include/trace/trace_events.h 	TRACE_EVENT_CONDITION(name, PARAMS(proto), PARAMS(args), PARAMS(cond),		\
proto             203 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto             209 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args)
proto             212 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             213 include/trace/trace_events.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto             344 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto             369 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print)		\
proto             448 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, func, print)	\
proto             461 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args)
proto             464 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             465 include/trace/trace_events.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto             527 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto             529 include/trace/trace_events.h 	struct trace_event_data_offsets_##call *__data_offsets, proto)	\
proto             541 include/trace/trace_events.h #define DEFINE_EVENT(template, name, proto, args)
proto             544 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)	\
proto             545 include/trace/trace_events.h 	DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
proto             641 include/trace/trace_events.h #define _TRACE_PERF_PROTO(call, proto)					\
proto             643 include/trace/trace_events.h 	perf_trace_##call(void *__data, proto);
proto             649 include/trace/trace_events.h #define _TRACE_PERF_PROTO(call, proto)
proto             696 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto             699 include/trace/trace_events.h trace_event_raw_event_##call(void *__data, proto)			\
proto             731 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args)			\
proto             738 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, name, proto, args, print)
proto             759 include/trace/trace_events.h #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print)	\
proto             760 include/trace/trace_events.h _TRACE_PERF_PROTO(call, PARAMS(proto));					\
proto             773 include/trace/trace_events.h #define DEFINE_EVENT(template, call, proto, args)			\
proto             788 include/trace/trace_events.h #define DEFINE_EVENT_PRINT(template, call, proto, args, print)		\
proto             799 include/uapi/linux/ethtool.h 	__u8    proto;
proto              60 include/uapi/linux/if_arcnet.h 	__u8  proto;		/* protocol ID field - varies		*/
proto              71 include/uapi/linux/if_arcnet.h 	__u8 proto;		/* ARC_P_RFC1051_ARP/RFC1051_IP	*/
proto              81 include/uapi/linux/if_arcnet.h 	__u8 proto;		/* Always ARC_P_ETHER			*/
proto              88 include/uapi/linux/if_arcnet.h 	__u8 proto;
proto             248 include/uapi/linux/if_bridge.h 		__be16		proto;
proto              96 include/uapi/linux/if_tun.h 	__be16 proto;
proto              30 include/uapi/linux/ip6_tunnel.h 	__u8 proto;		/* tunnel protocol */
proto              42 include/uapi/linux/ip6_tunnel.h 	__u8 proto;		/* tunnel protocol */
proto              33 include/uapi/linux/netfilter/xt_ecn.h 	} proto;
proto              27 include/uapi/linux/netfilter/xt_policy.h 			proto:1,
proto              60 include/uapi/linux/netfilter/xt_policy.h 	__u8		proto;
proto              80 include/uapi/linux/netfilter_ipv4/ip_tables.h 	__u16 proto;
proto              31 include/uapi/linux/netfilter_ipv4/ipt_ECN.h 	} proto;
proto              80 include/uapi/linux/netfilter_ipv6/ip6_tables.h 	__u16 proto;
proto              52 include/uapi/linux/nfs4_mount.h 	int proto;				/* 1 */
proto             473 include/uapi/linux/rtnetlink.h 	__u8	proto;
proto              28 include/uapi/linux/xfrm.h 	__u8		proto;
proto              59 include/uapi/linux/xfrm.h 	__u8	proto;
proto             395 include/uapi/linux/xfrm.h 	__u8				proto;
proto             456 include/uapi/linux/xfrm.h 	__u8				proto;
proto             460 include/uapi/linux/xfrm.h 	__u8				proto;
proto             478 include/uapi/linux/xfrm.h 	__u8				proto;
proto             934 include/uapi/rdma/ib_user_verbs.h 	__u8	proto;
proto             431 include/uapi/sound/asound.h 	unsigned int proto;			/* protocol version */
proto             190 lib/checksum.c 			  __u32 len, __u8 proto, __wsum sum)
proto             197 lib/checksum.c 	s += proto + len;
proto             199 lib/checksum.c 	s += (proto + len) << 8;
proto             248 net/802/garp.c 			 app->app->proto.group_address);
proto             498 net/802/garp.c static void garp_pdu_rcv(const struct stp_proto *proto, struct sk_buff *skb,
proto             501 net/802/garp.c 	struct garp_application *appl = proto->data;
proto             574 net/802/garp.c 	err = dev_mc_add(dev, appl->proto.group_address);
proto             617 net/802/garp.c 	dev_mc_del(dev, appl->proto.group_address);
proto             625 net/802/garp.c 	appl->proto.rcv = garp_pdu_rcv;
proto             626 net/802/garp.c 	appl->proto.data = appl;
proto             627 net/802/garp.c 	return stp_proto_register(&appl->proto);
proto             633 net/802/garp.c 	stp_proto_unregister(&appl->proto);
proto              38 net/802/p8022.c 	struct datalink_proto *proto;
proto              40 net/802/p8022.c 	proto = kmalloc(sizeof(*proto), GFP_ATOMIC);
proto              41 net/802/p8022.c 	if (proto) {
proto              42 net/802/p8022.c 		proto->type[0]		= type;
proto              43 net/802/p8022.c 		proto->header_length	= 3;
proto              44 net/802/p8022.c 		proto->request		= p8022_request;
proto              45 net/802/p8022.c 		proto->sap = llc_sap_open(type, func);
proto              46 net/802/p8022.c 		if (!proto->sap) {
proto              47 net/802/p8022.c 			kfree(proto);
proto              48 net/802/p8022.c 			proto = NULL;
proto              51 net/802/p8022.c 	return proto;
proto              54 net/802/p8022.c void unregister_8022_client(struct datalink_proto *proto)
proto              56 net/802/p8022.c 	llc_sap_put(proto->sap);
proto              57 net/802/p8022.c 	kfree(proto);
proto              40 net/802/p8023.c 	struct datalink_proto *proto = kmalloc(sizeof(*proto), GFP_ATOMIC);
proto              42 net/802/p8023.c 	if (proto) {
proto              43 net/802/p8023.c 		proto->header_length = 0;
proto              44 net/802/p8023.c 		proto->request	     = p8023_request;
proto              46 net/802/p8023.c 	return proto;
proto              31 net/802/psnap.c 	struct datalink_proto *proto = NULL, *p;
proto              35 net/802/psnap.c 			proto = p;
proto              39 net/802/psnap.c 	return proto;
proto              49 net/802/psnap.c 	struct datalink_proto *proto;
proto              58 net/802/psnap.c 	proto = find_snap_client(skb_transport_header(skb));
proto              59 net/802/psnap.c 	if (proto) {
proto              63 net/802/psnap.c 		rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);
proto              67 net/802/psnap.c 	if (unlikely(!proto))
proto             128 net/802/psnap.c 	struct datalink_proto *proto = NULL;
proto             135 net/802/psnap.c 	proto = kmalloc(sizeof(*proto), GFP_ATOMIC);
proto             136 net/802/psnap.c 	if (proto) {
proto             137 net/802/psnap.c 		memcpy(proto->type, desc, 5);
proto             138 net/802/psnap.c 		proto->rcvfunc		= rcvfunc;
proto             139 net/802/psnap.c 		proto->header_length	= 5 + 3; /* snap + 802.2 */
proto             140 net/802/psnap.c 		proto->request		= snap_request;
proto             141 net/802/psnap.c 		list_add_rcu(&proto->node, &snap_list);
proto             146 net/802/psnap.c 	return proto;
proto             152 net/802/psnap.c void unregister_snap_client(struct datalink_proto *proto)
proto             155 net/802/psnap.c 	list_del_rcu(&proto->node);
proto             160 net/802/psnap.c 	kfree(proto);
proto              35 net/802/stp.c  	const struct stp_proto *proto;
proto              43 net/802/stp.c  		proto = rcu_dereference(garp_protos[eh->h_dest[5] -
proto              45 net/802/stp.c  		if (proto &&
proto              46 net/802/stp.c  		    !ether_addr_equal(eh->h_dest, proto->group_address))
proto              49 net/802/stp.c  		proto = rcu_dereference(stp_proto);
proto              51 net/802/stp.c  	if (!proto)
proto              54 net/802/stp.c  	proto->rcv(proto, skb, dev);
proto              62 net/802/stp.c  int stp_proto_register(const struct stp_proto *proto)
proto              74 net/802/stp.c  	if (is_zero_ether_addr(proto->group_address))
proto              75 net/802/stp.c  		rcu_assign_pointer(stp_proto, proto);
proto              77 net/802/stp.c  		rcu_assign_pointer(garp_protos[proto->group_address[5] -
proto              78 net/802/stp.c  					       GARP_ADDR_MIN], proto);
proto              85 net/802/stp.c  void stp_proto_unregister(const struct stp_proto *proto)
proto              88 net/802/stp.c  	if (is_zero_ether_addr(proto->group_address))
proto              91 net/802/stp.c  		RCU_INIT_POINTER(garp_protos[proto->group_address[5] -
proto              39 net/8021q/vlan.h static inline unsigned int vlan_proto_idx(__be16 proto)
proto              41 net/8021q/vlan.h 	switch (proto) {
proto             112 net/8021q/vlan.h int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto);
proto             113 net/8021q/vlan.h void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto);
proto             163 net/8021q/vlan_core.c 	__be16 proto;
proto             168 net/8021q/vlan_core.c static bool vlan_hw_filter_capable(const struct net_device *dev, __be16 proto)
proto             170 net/8021q/vlan_core.c 	if (proto == htons(ETH_P_8021Q) &&
proto             173 net/8021q/vlan_core.c 	if (proto == htons(ETH_P_8021AD) &&
proto             180 net/8021q/vlan_core.c 					       __be16 proto, u16 vid)
proto             185 net/8021q/vlan_core.c 		if (vid_info->proto == proto && vid_info->vid == vid)
proto             191 net/8021q/vlan_core.c static struct vlan_vid_info *vlan_vid_info_alloc(__be16 proto, u16 vid)
proto             198 net/8021q/vlan_core.c 	vid_info->proto = proto;
proto             204 net/8021q/vlan_core.c static int vlan_add_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid)
proto             206 net/8021q/vlan_core.c 	if (!vlan_hw_filter_capable(dev, proto))
proto             210 net/8021q/vlan_core.c 		return dev->netdev_ops->ndo_vlan_rx_add_vid(dev, proto, vid);
proto             215 net/8021q/vlan_core.c static int vlan_kill_rx_filter_info(struct net_device *dev, __be16 proto, u16 vid)
proto             217 net/8021q/vlan_core.c 	if (!vlan_hw_filter_capable(dev, proto))
proto             221 net/8021q/vlan_core.c 		return dev->netdev_ops->ndo_vlan_rx_kill_vid(dev, proto, vid);
proto             242 net/8021q/vlan_core.c 		vdev = vlan_group_get_device(&vlan_info->grp, vid_info->proto,
proto             253 net/8021q/vlan_core.c int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto)
proto             260 net/8021q/vlan_core.c 		if (vlan_vid_info->proto == proto) {
proto             261 net/8021q/vlan_core.c 			err = vlan_add_rx_filter_info(real_dev, proto,
proto             273 net/8021q/vlan_core.c 		if (vlan_vid_info->proto == proto)
proto             274 net/8021q/vlan_core.c 			vlan_kill_rx_filter_info(real_dev, proto,
proto             282 net/8021q/vlan_core.c void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto)
proto             287 net/8021q/vlan_core.c 		if (vlan_vid_info->proto == proto)
proto             289 net/8021q/vlan_core.c 						 vlan_vid_info->proto,
proto             294 net/8021q/vlan_core.c static int __vlan_vid_add(struct vlan_info *vlan_info, __be16 proto, u16 vid,
proto             301 net/8021q/vlan_core.c 	vid_info = vlan_vid_info_alloc(proto, vid);
proto             305 net/8021q/vlan_core.c 	err = vlan_add_rx_filter_info(dev, proto, vid);
proto             317 net/8021q/vlan_core.c int vlan_vid_add(struct net_device *dev, __be16 proto, u16 vid)
proto             333 net/8021q/vlan_core.c 	vid_info = vlan_vid_info_get(vlan_info, proto, vid);
proto             335 net/8021q/vlan_core.c 		err = __vlan_vid_add(vlan_info, proto, vid, &vid_info);
proto             357 net/8021q/vlan_core.c 	__be16 proto = vid_info->proto;
proto             361 net/8021q/vlan_core.c 	err = vlan_kill_rx_filter_info(dev, proto, vid);
proto             364 net/8021q/vlan_core.c 			proto, vid, dev->name);
proto             371 net/8021q/vlan_core.c void vlan_vid_del(struct net_device *dev, __be16 proto, u16 vid)
proto             382 net/8021q/vlan_core.c 	vid_info = vlan_vid_info_get(vlan_info, proto, vid);
proto             410 net/8021q/vlan_core.c 		err = vlan_vid_add(dev, vid_info->proto, vid_info->vid);
proto             420 net/8021q/vlan_core.c 		vlan_vid_del(dev, vid_info->proto, vid_info->vid);
proto             440 net/8021q/vlan_core.c 		vlan_vid_del(dev, vid_info->proto, vid_info->vid);
proto              22 net/8021q/vlan_gvrp.c 	.proto.group_address	= GARP_GVRP_ADDRESS,
proto             143 net/8021q/vlan_netlink.c 	__be16 proto;
proto             163 net/8021q/vlan_netlink.c 		proto = nla_get_be16(data[IFLA_VLAN_PROTOCOL]);
proto             165 net/8021q/vlan_netlink.c 		proto = htons(ETH_P_8021Q);
proto             167 net/8021q/vlan_netlink.c 	vlan->vlan_proto = proto;
proto            1001 net/appletalk/ddp.c static struct proto ddp_proto = {
proto             133 net/atm/common.c static struct proto vcc_proto = {
proto             239 net/ax25/af_ax25.c void ax25_send_to_raw(ax25_address *addr, struct sk_buff *skb, int proto)
proto             248 net/ax25/af_ax25.c 		    s->sk->sk_protocol == proto &&
proto             801 net/ax25/af_ax25.c static struct proto ax25_proto = {
proto             121 net/ax25/ax25_timer.c 	int proto = AX25_PROTO_STD_SIMPLEX;
proto             125 net/ax25/ax25_timer.c 		proto = ax25->ax25_dev->values[AX25_VALUES_PROTOCOL];
proto             127 net/ax25/ax25_timer.c 	switch (proto) {
proto            1082 net/batman-adv/bridge_loop_avoidance.c 	__be16 proto;
proto            1089 net/batman-adv/bridge_loop_avoidance.c 	proto = ethhdr->h_proto;
proto            1106 net/batman-adv/bridge_loop_avoidance.c 			proto = vhdr->h_vlan_encapsulated_proto;
proto            1109 net/batman-adv/bridge_loop_avoidance.c 		} while (proto == htons(ETH_P_8021Q));
proto            1112 net/batman-adv/bridge_loop_avoidance.c 	if (proto != htons(ETH_P_ARP))
proto            1534 net/batman-adv/distributed-arp-table.c batadv_dat_check_dhcp(struct sk_buff *skb, __be16 proto, __be32 *ip_src)
proto            1545 net/batman-adv/distributed-arp-table.c 	if (proto != htons(ETH_P_IP))
proto            1737 net/batman-adv/distributed-arp-table.c batadv_dat_check_dhcp_ack(struct sk_buff *skb, __be16 proto, __be32 *ip_src,
proto            1742 net/batman-adv/distributed-arp-table.c 	type = batadv_dat_check_dhcp(skb, proto, ip_src);
proto            1776 net/batman-adv/distributed-arp-table.c 					__be16 proto,
proto            1785 net/batman-adv/distributed-arp-table.c 	if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr))
proto            1809 net/batman-adv/distributed-arp-table.c 	__be16 proto;
proto            1820 net/batman-adv/distributed-arp-table.c 	proto = ethhdr->h_proto;
proto            1822 net/batman-adv/distributed-arp-table.c 	if (!batadv_dat_check_dhcp_ack(skb, proto, &ip_src, chaddr, &yiaddr))
proto              38 net/batman-adv/distributed-arp-table.h 					__be16 proto,
proto             138 net/batman-adv/distributed-arp-table.h 				   struct sk_buff *skb, __be16 proto,
proto             631 net/batman-adv/gateway_client.c 	__be16 proto;
proto             639 net/batman-adv/gateway_client.c 	proto = ethhdr->h_proto;
proto             643 net/batman-adv/gateway_client.c 	if (proto == htons(ETH_P_8021Q)) {
proto             648 net/batman-adv/gateway_client.c 		proto = vhdr->h_vlan_encapsulated_proto;
proto             653 net/batman-adv/gateway_client.c 	switch (proto) {
proto             689 net/batman-adv/gateway_client.c 	switch (proto) {
proto             222 net/batman-adv/multicast.c 		if (br_ip_entry->addr.proto == htons(ETH_P_IPV6) &&
proto             563 net/batman-adv/multicast.c 	if (src->proto == htons(ETH_P_IP))
proto             566 net/batman-adv/multicast.c 	else if (src->proto == htons(ETH_P_IPV6))
proto             606 net/batman-adv/multicast.c 		if (br_ip_entry->addr.proto == htons(ETH_P_IP)) {
proto             620 net/batman-adv/multicast.c 		if (br_ip_entry->addr.proto == htons(ETH_P_IPV6)) {
proto             204 net/batman-adv/soft-interface.c 	__be16 proto;
proto             218 net/batman-adv/soft-interface.c 	proto = ethhdr->h_proto;
proto             220 net/batman-adv/soft-interface.c 	switch (ntohs(proto)) {
proto             225 net/batman-adv/soft-interface.c 		proto = vhdr->h_vlan_encapsulated_proto;
proto             228 net/batman-adv/soft-interface.c 		if (proto != htons(ETH_P_BATMAN)) {
proto             257 net/batman-adv/soft-interface.c 	batadv_dat_snoop_outgoing_dhcp_ack(bat_priv, skb, proto, vid);
proto             660 net/batman-adv/soft-interface.c static int batadv_interface_add_vid(struct net_device *dev, __be16 proto,
proto             670 net/batman-adv/soft-interface.c 	if (proto != htons(ETH_P_8021Q))
proto             719 net/batman-adv/soft-interface.c static int batadv_interface_kill_vid(struct net_device *dev, __be16 proto,
proto             728 net/batman-adv/soft-interface.c 	if (proto != htons(ETH_P_8021Q))
proto              27 net/batman-adv/trace.h #define TRACE_EVENT(name, proto, ...) \
proto              28 net/batman-adv/trace.h 	static inline void trace_ ## name(proto) {}
proto              69 net/bluetooth/af_bluetooth.c void bt_sock_reclassify_lock(struct sock *sk, int proto)
proto              75 net/bluetooth/af_bluetooth.c 			bt_slock_key_strings[proto], &bt_slock_key[proto],
proto              76 net/bluetooth/af_bluetooth.c 				bt_key_strings[proto], &bt_lock_key[proto]);
proto              80 net/bluetooth/af_bluetooth.c int bt_sock_register(int proto, const struct net_proto_family *ops)
proto              84 net/bluetooth/af_bluetooth.c 	if (proto < 0 || proto >= BT_MAX_PROTO)
proto              89 net/bluetooth/af_bluetooth.c 	if (bt_proto[proto])
proto              92 net/bluetooth/af_bluetooth.c 		bt_proto[proto] = ops;
proto             100 net/bluetooth/af_bluetooth.c void bt_sock_unregister(int proto)
proto             102 net/bluetooth/af_bluetooth.c 	if (proto < 0 || proto >= BT_MAX_PROTO)
proto             106 net/bluetooth/af_bluetooth.c 	bt_proto[proto] = NULL;
proto             111 net/bluetooth/af_bluetooth.c static int bt_sock_create(struct net *net, struct socket *sock, int proto,
proto             119 net/bluetooth/af_bluetooth.c 	if (proto < 0 || proto >= BT_MAX_PROTO)
proto             122 net/bluetooth/af_bluetooth.c 	if (!bt_proto[proto])
proto             123 net/bluetooth/af_bluetooth.c 		request_module("bt-proto-%d", proto);
proto             129 net/bluetooth/af_bluetooth.c 	if (bt_proto[proto] && try_module_get(bt_proto[proto]->owner)) {
proto             130 net/bluetooth/af_bluetooth.c 		err = bt_proto[proto]->create(net, sock, proto, kern);
proto             132 net/bluetooth/af_bluetooth.c 			bt_sock_reclassify_lock(sock->sk, proto);
proto             133 net/bluetooth/af_bluetooth.c 		module_put(bt_proto[proto]->owner);
proto             137 net/bluetooth/bnep/netdev.c 	u16 proto = ntohs(eh->h_proto);
proto             139 net/bluetooth/bnep/netdev.c 	if (proto >= ETH_P_802_3_MIN)
proto             140 net/bluetooth/bnep/netdev.c 		return proto;
proto             150 net/bluetooth/bnep/netdev.c 	u16 proto = bnep_net_eth_proto(skb);
proto             155 net/bluetooth/bnep/netdev.c 		if (proto >= f[i].start && proto <= f[i].end)
proto             159 net/bluetooth/bnep/netdev.c 	BT_DBG("BNEP: filtered skb %p, proto 0x%.4x", skb, proto);
proto             193 net/bluetooth/bnep/sock.c static struct proto bnep_proto = {
proto             196 net/bluetooth/cmtp/sock.c static struct proto cmtp_proto = {
proto            1991 net/bluetooth/hci_sock.c static struct proto hci_sk_proto = {
proto             244 net/bluetooth/hidp/sock.c static struct proto hidp_proto = {
proto              47 net/bluetooth/l2cap_sock.c 				     int proto, gfp_t prio, int kern);
proto            1581 net/bluetooth/l2cap_sock.c static struct proto l2cap_proto = {
proto            1588 net/bluetooth/l2cap_sock.c 				     int proto, gfp_t prio, int kern)
proto            1605 net/bluetooth/l2cap_sock.c 	sk->sk_protocol = proto;
proto             268 net/bluetooth/rfcomm/sock.c static struct proto rfcomm_proto = {
proto             274 net/bluetooth/rfcomm/sock.c static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, int kern)
proto             306 net/bluetooth/rfcomm/sock.c 	sk->sk_protocol = proto;
proto             463 net/bluetooth/sco.c static struct proto sco_proto = {
proto             470 net/bluetooth/sco.c 				   int proto, gfp_t prio, int kern)
proto             486 net/bluetooth/sco.c 	sk->sk_protocol = proto;
proto              71 net/bridge/br_mdb.c 	ip->proto = entry->addr.proto;
proto              72 net/bridge/br_mdb.c 	if (ip->proto == htons(ETH_P_IP))
proto             103 net/bridge/br_mdb.c 	if (mp->addr.proto == htons(ETH_P_IP))
proto             106 net/bridge/br_mdb.c 	if (mp->addr.proto == htons(ETH_P_IPV6))
proto             109 net/bridge/br_mdb.c 	e.addr.proto = mp->addr.proto;
proto             354 net/bridge/br_mdb.c 	if (entry->addr.proto == htons(ETH_P_IP))
proto             399 net/bridge/br_mdb.c 	if (entry->addr.proto == htons(ETH_P_IP))
proto             450 net/bridge/br_mdb.c 	entry.addr.proto = group->proto;
proto             532 net/bridge/br_mdb.c 	if (entry->addr.proto == htons(ETH_P_IP)) {
proto             538 net/bridge/br_mdb.c 	} else if (entry->addr.proto == htons(ETH_P_IPV6)) {
proto              89 net/bridge/br_multicast.c 	br_dst.proto = htons(ETH_P_IP);
proto             104 net/bridge/br_multicast.c 	br_dst.proto = htons(ETH_P_IPV6);
proto             123 net/bridge/br_multicast.c 	ip.proto = skb->protocol;
proto             427 net/bridge/br_multicast.c 	switch (addr->proto) {
proto             599 net/bridge/br_multicast.c 	br_group.proto = htons(ETH_P_IP);
proto             619 net/bridge/br_multicast.c 	br_group.proto = htons(ETH_P_IPV6);
proto             704 net/bridge/br_multicast.c 	if (ip->proto == htons(ETH_P_IP))
proto             756 net/bridge/br_multicast.c 		br_group.proto = htons(ETH_P_IP);
proto             760 net/bridge/br_multicast.c 		br_group.proto = htons(ETH_P_IPV6);
proto            1113 net/bridge/br_multicast.c 	switch (saddr->proto) {
proto            1258 net/bridge/br_multicast.c 		saddr.proto = htons(ETH_P_IP);
proto            1340 net/bridge/br_multicast.c 		saddr.proto = htons(ETH_P_IPV6);
proto            1502 net/bridge/br_multicast.c 	br_group.proto = htons(ETH_P_IP);
proto            1526 net/bridge/br_multicast.c 	br_group.proto = htons(ETH_P_IPV6);
proto            1536 net/bridge/br_multicast.c 				   __be16 proto)
proto            1554 net/bridge/br_multicast.c 	switch (proto) {
proto            2235 net/bridge/br_multicast.c bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto)
proto            2253 net/bridge/br_multicast.c 	eth.h_proto = htons(proto);
proto            2272 net/bridge/br_multicast.c bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto)
proto            2288 net/bridge/br_multicast.c 	switch (proto) {
proto            2316 net/bridge/br_multicast.c 	__be16 proto = skb->protocol;
proto            2320 net/bridge/br_multicast.c 	switch (proto) {
proto             883 net/bridge/br_private.h int __br_vlan_set_proto(struct net_bridge *br, __be16 proto);
proto            1143 net/bridge/br_private.h void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb,
proto             143 net/bridge/br_stp_bpdu.c void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb,
proto             810 net/bridge/br_vlan.c int __br_vlan_set_proto(struct net_bridge *br, __be16 proto)
proto             818 net/bridge/br_vlan.c 	if (br->vlan_proto == proto)
proto             825 net/bridge/br_vlan.c 			err = vlan_vid_add(p->dev, proto, vlan->vid);
proto             832 net/bridge/br_vlan.c 	br->vlan_proto = proto;
proto             848 net/bridge/br_vlan.c 		vlan_vid_del(p->dev, proto, vlan->vid);
proto             853 net/bridge/br_vlan.c 			vlan_vid_del(p->dev, proto, vlan->vid);
proto             113 net/bridge/netfilter/nft_reject_bridge.c 	u8 proto;
proto             131 net/bridge/netfilter/nft_reject_bridge.c 	proto = ip_hdr(oldskb)->protocol;
proto             134 net/bridge/netfilter/nft_reject_bridge.c 	    nf_reject_verify_csum(proto) &&
proto             135 net/bridge/netfilter/nft_reject_bridge.c 	    nf_ip_checksum(oldskb, hook, ip_hdrlen(oldskb), proto))
proto             223 net/bridge/netfilter/nft_reject_bridge.c 	u8 proto = ip6h->nexthdr;
proto             233 net/bridge/netfilter/nft_reject_bridge.c 	thoff = ipv6_skip_exthdr(skb, ((u8*)(ip6h+1) - skb->data), &proto, &fo);
proto             237 net/bridge/netfilter/nft_reject_bridge.c 	if (!nf_reject_verify_csum(proto))
proto             240 net/bridge/netfilter/nft_reject_bridge.c 	return nf_ip6_checksum(skb, hook, thoff, proto) == 0;
proto            1032 net/caif/caif_socket.c 	static struct proto prot = {.name = "PF_CAIF",
proto             721 net/can/af_can.c 	int proto = cp->protocol;
proto             724 net/can/af_can.c 	if (proto < 0 || proto >= CAN_NPROTO) {
proto             725 net/can/af_can.c 		pr_err("can: protocol number %d out of range\n", proto);
proto             735 net/can/af_can.c 	if (rcu_access_pointer(proto_tab[proto])) {
proto             736 net/can/af_can.c 		pr_err("can: protocol %d already registered\n", proto);
proto             739 net/can/af_can.c 		RCU_INIT_POINTER(proto_tab[proto], cp);
proto             757 net/can/af_can.c 	int proto = cp->protocol;
proto             760 net/can/af_can.c 	BUG_ON(rcu_access_pointer(proto_tab[proto]) != cp);
proto             761 net/can/af_can.c 	RCU_INIT_POINTER(proto_tab[proto], NULL);
proto            1659 net/can/bcm.c  static struct proto bcm_proto __read_mostly = {
proto            1211 net/can/j1939/socket.c static struct proto j1939_proto __read_mostly = {
proto             866 net/can/raw.c  static struct proto raw_proto __read_mostly = {
proto            1461 net/ceph/messenger.c 	int proto;
proto            1466 net/ceph/messenger.c 		proto = CEPH_MONC_PROTOCOL;
proto            1469 net/ceph/messenger.c 		proto = CEPH_OSDC_PROTOCOL;
proto            1472 net/ceph/messenger.c 		proto = CEPH_MDSC_PROTOCOL;
proto            1479 net/ceph/messenger.c 	     con->connect_seq, global_seq, proto);
proto            1486 net/ceph/messenger.c 	con->out_connect.protocol_version = cpu_to_le32(proto);
proto            5578 net/ceph/osd_client.c 					int *proto, int force_new)
proto            5600 net/ceph/osd_client.c 	*proto = ac->protocol;
proto              55 net/core/fib_rules.c 	r->proto = RTPROT_KERNEL;
proto             444 net/core/fib_rules.c 		if (rule->proto && r->proto != rule->proto)
proto             529 net/core/fib_rules.c 	nlrule->proto = tb[FRA_PROTOCOL] ?
proto             705 net/core/fib_rules.c 		if (r->proto != rule->proto)
proto             980 net/core/fib_rules.c 	if (nla_put_u8(skb, FRA_PROTOCOL, rule->proto))
proto            2931 net/core/filter.c BPF_CALL_3(bpf_skb_change_proto, struct sk_buff *, skb, __be16, proto,
proto            2956 net/core/filter.c 	ret = bpf_skb_proto_xlat(skb, proto);
proto            3159 net/core/filter.c 	__be16 proto = skb->protocol;
proto            3168 net/core/filter.c 	if (unlikely(proto != htons(ETH_P_IP) &&
proto            3169 net/core/filter.c 		     proto != htons(ETH_P_IPV6)))
proto            5208 net/core/filter.c 			      int dif, int sdif, u8 family, u8 proto)
proto            5217 net/core/filter.c 		if (proto == IPPROTO_TCP)
proto            5231 net/core/filter.c 		if (proto == IPPROTO_TCP)
proto            5259 net/core/filter.c 		 struct net *caller_net, u32 ifindex, u8 proto, u64 netns_id,
proto            5285 net/core/filter.c 		sk = sk_lookup(net, tuple, ifindex, sdif, family, proto);
proto            5290 net/core/filter.c 		sk = sk_lookup(net, tuple, ifindex, sdif, family, proto);
proto            5300 net/core/filter.c 		struct net *caller_net, u32 ifindex, u8 proto, u64 netns_id,
proto            5304 net/core/filter.c 					   ifindex, proto, netns_id, flags);
proto            5319 net/core/filter.c 	       u8 proto, u64 netns_id, u64 flags)
proto            5332 net/core/filter.c 	return __bpf_skc_lookup(skb, tuple, len, caller_net, ifindex, proto,
proto            5338 net/core/filter.c 	      u8 proto, u64 netns_id, u64 flags)
proto            5340 net/core/filter.c 	struct sock *sk = bpf_skc_lookup(skb, tuple, len, proto, netns_id,
proto             844 net/core/flow_dissector.c 		      __be16 proto, int nhoff, int hlen, unsigned int flags)
proto             851 net/core/flow_dissector.c 	flow_keys->n_proto = proto;
proto             897 net/core/flow_dissector.c 			void *data, __be16 proto, int nhoff, int hlen,
proto             915 net/core/flow_dissector.c 		proto = skb_vlan_tag_present(skb) ?
proto             921 net/core/flow_dissector.c 			     proto == htons(ETH_P_XDSA))) {
proto             927 net/core/flow_dissector.c 			    !ops->flow_dissect(skb, &proto, &offset)) {
proto             970 net/core/flow_dissector.c 			__be16 n_proto = proto;
proto            1005 net/core/flow_dissector.c 	switch (proto) {
proto            1104 net/core/flow_dissector.c 		__be16 saved_vlan_tpid = proto;
proto            1108 net/core/flow_dissector.c 			proto = skb->protocol;
proto            1117 net/core/flow_dissector.c 			proto = vlan->h_vlan_encapsulated_proto;
proto            1154 net/core/flow_dissector.c 			__be16 proto;
proto            1162 net/core/flow_dissector.c 		proto = hdr->proto;
proto            1164 net/core/flow_dissector.c 		switch (proto) {
proto            1166 net/core/flow_dissector.c 			proto = htons(ETH_P_IP);
proto            1170 net/core/flow_dissector.c 			proto = htons(ETH_P_IPV6);
proto            1226 net/core/flow_dissector.c 						  &proto, &nhoff, hlen, flags);
proto            1257 net/core/flow_dissector.c 					       &proto, &nhoff, &hlen, flags);
proto            1265 net/core/flow_dissector.c 		if (proto != htons(ETH_P_IPV6))
proto            1284 net/core/flow_dissector.c 		if (proto != htons(ETH_P_IPV6))
proto            1312 net/core/flow_dissector.c 		proto = htons(ETH_P_IP);
proto            1324 net/core/flow_dissector.c 		proto = htons(ETH_P_IPV6);
proto            1337 net/core/flow_dissector.c 		proto = htons(ETH_P_MPLS_UC);
proto            1385 net/core/flow_dissector.c 	key_basic->n_proto = proto;
proto             276 net/core/lwt_bpf.c 		__be16 proto = skb->protocol;
proto             286 net/core/lwt_bpf.c 			if (skb->protocol != proto) {
proto            3665 net/core/skbuff.c 	__be16 proto;
proto            3693 net/core/skbuff.c 	proto = skb_network_protocol(head_skb, &dummy);
proto            3694 net/core/skbuff.c 	if (unlikely(!proto))
proto            3698 net/core/skbuff.c 	csum = !!can_checksum_protocol(features, proto);
proto            4707 net/core/skbuff.c 				      typeof(IPPROTO_IP) proto,
proto            4710 net/core/skbuff.c 	switch (proto) {
proto            1591 net/core/sock.c static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority,
proto            1628 net/core/sock.c static void sk_prot_free(struct proto *prot, struct sock *sk)
proto            1655 net/core/sock.c 		      struct proto *prot, int kern)
proto            2502 net/core/sock.c 	struct proto *prot = sk->sk_prot;
proto            3232 net/core/sock.c void sock_prot_inuse_add(struct net *net, struct proto *prot, int val)
proto            3238 net/core/sock.c int sock_prot_inuse_get(struct net *net, struct proto *prot)
proto            3305 net/core/sock.c static int assign_proto_idx(struct proto *prot)
proto            3318 net/core/sock.c static void release_proto_idx(struct proto *prot)
proto            3324 net/core/sock.c static inline int assign_proto_idx(struct proto *prot)
proto            3329 net/core/sock.c static inline void release_proto_idx(struct proto *prot)
proto            3348 net/core/sock.c static int req_prot_init(const struct proto *prot)
proto            3373 net/core/sock.c int proto_register(struct proto *prot, int alloc_slab)
proto            3437 net/core/sock.c void proto_unregister(struct proto *prot)
proto            3502 net/core/sock.c static long sock_prot_memory_allocated(struct proto *proto)
proto            3504 net/core/sock.c 	return proto->memory_allocated != NULL ? proto_memory_allocated(proto) : -1L;
proto            3507 net/core/sock.c static const char *sock_prot_memory_pressure(struct proto *proto)
proto            3509 net/core/sock.c 	return proto->memory_pressure != NULL ?
proto            3510 net/core/sock.c 	proto_memory_pressure(proto) ? "yes" : "no" : "NI";
proto            3513 net/core/sock.c static void proto_seq_printf(struct seq_file *seq, struct proto *proto)
proto            3518 net/core/sock.c 		   proto->name,
proto            3519 net/core/sock.c 		   proto->obj_size,
proto            3520 net/core/sock.c 		   sock_prot_inuse_get(seq_file_net(seq), proto),
proto            3521 net/core/sock.c 		   sock_prot_memory_allocated(proto),
proto            3522 net/core/sock.c 		   sock_prot_memory_pressure(proto),
proto            3523 net/core/sock.c 		   proto->max_header,
proto            3524 net/core/sock.c 		   proto->slab == NULL ? "no" : "yes",
proto            3525 net/core/sock.c 		   module_name(proto->owner),
proto            3526 net/core/sock.c 		   proto_method_implemented(proto->close),
proto            3527 net/core/sock.c 		   proto_method_implemented(proto->connect),
proto            3528 net/core/sock.c 		   proto_method_implemented(proto->disconnect),
proto            3529 net/core/sock.c 		   proto_method_implemented(proto->accept),
proto            3530 net/core/sock.c 		   proto_method_implemented(proto->ioctl),
proto            3531 net/core/sock.c 		   proto_method_implemented(proto->init),
proto            3532 net/core/sock.c 		   proto_method_implemented(proto->destroy),
proto            3533 net/core/sock.c 		   proto_method_implemented(proto->shutdown),
proto            3534 net/core/sock.c 		   proto_method_implemented(proto->setsockopt),
proto            3535 net/core/sock.c 		   proto_method_implemented(proto->getsockopt),
proto            3536 net/core/sock.c 		   proto_method_implemented(proto->sendmsg),
proto            3537 net/core/sock.c 		   proto_method_implemented(proto->recvmsg),
proto            3538 net/core/sock.c 		   proto_method_implemented(proto->sendpage),
proto            3539 net/core/sock.c 		   proto_method_implemented(proto->bind),
proto            3540 net/core/sock.c 		   proto_method_implemented(proto->backlog_rcv),
proto            3541 net/core/sock.c 		   proto_method_implemented(proto->hash),
proto            3542 net/core/sock.c 		   proto_method_implemented(proto->unhash),
proto            3543 net/core/sock.c 		   proto_method_implemented(proto->get_port),
proto            3544 net/core/sock.c 		   proto_method_implemented(proto->enter_memory_pressure));
proto            3561 net/core/sock.c 		proto_seq_printf(seq, list_entry(v, struct proto, node));
proto             938 net/dccp/ipv4.c static struct proto dccp_v4_prot = {
proto            1026 net/dccp/ipv6.c static struct proto dccp_v6_prot = {
proto             451 net/decnet/af_decnet.c static struct proto dn_proto = {
proto              38 net/dsa/dsa.c  	.proto	= DSA_TAG_PROTO_NONE,
proto             102 net/dsa/dsa.c  		if (ops->proto == tag_protocol) {
proto            1110 net/dsa/slave.c static int dsa_slave_vlan_rx_add_vid(struct net_device *dev, __be16 proto,
proto            1144 net/dsa/slave.c static int dsa_slave_vlan_rx_kill_vid(struct net_device *dev, __be16 proto,
proto             304 net/dsa/tag_8021q.c 	.proto		= DSA_TAG_PROTO_8021Q,
proto             178 net/dsa/tag_brcm.c 	.proto	= DSA_TAG_PROTO_BRCM,
proto             206 net/dsa/tag_brcm.c 	.proto	= DSA_TAG_PROTO_BRCM_PREPEND,
proto             145 net/dsa/tag_dsa.c static int dsa_tag_flow_dissect(const struct sk_buff *skb, __be16 *proto,
proto             149 net/dsa/tag_dsa.c 	*proto = ((__be16 *)skb->data)[1];
proto             155 net/dsa/tag_dsa.c 	.proto	= DSA_TAG_PROTO_DSA,
proto             164 net/dsa/tag_edsa.c static int edsa_tag_flow_dissect(const struct sk_buff *skb, __be16 *proto,
proto             168 net/dsa/tag_edsa.c 	*proto = ((__be16 *)skb->data)[3];
proto             174 net/dsa/tag_edsa.c 	.proto	= DSA_TAG_PROTO_EDSA,
proto             108 net/dsa/tag_gswip.c 	.proto	= DSA_TAG_PROTO_GSWIP,
proto             124 net/dsa/tag_ksz.c 	.proto	= DSA_TAG_PROTO_KSZ8795,
proto             199 net/dsa/tag_ksz.c 	.proto	= DSA_TAG_PROTO_KSZ9477,
proto             237 net/dsa/tag_ksz.c 	.proto	= DSA_TAG_PROTO_KSZ9893,
proto             133 net/dsa/tag_lan9303.c 	.proto	= DSA_TAG_PROTO_LAN9303,
proto             107 net/dsa/tag_mtk.c static int mtk_tag_flow_dissect(const struct sk_buff *skb, __be16 *proto,
proto             111 net/dsa/tag_mtk.c 	*proto = ((__be16 *)skb->data)[1];
proto             118 net/dsa/tag_mtk.c 	.proto		= DSA_TAG_PROTO_MTK,
proto              90 net/dsa/tag_qca.c static int qca_tag_flow_dissect(const struct sk_buff *skb, __be16 *proto,
proto              94 net/dsa/tag_qca.c 	*proto = ((__be16 *)skb->data)[0];
proto             101 net/dsa/tag_qca.c 	.proto	= DSA_TAG_PROTO_QCA,
proto             297 net/dsa/tag_sja1105.c 	.proto = DSA_TAG_PROTO_SJA1105,
proto              82 net/dsa/tag_trailer.c 	.proto	= DSA_TAG_PROTO_TRAILER,
proto             390 net/ieee802154/socket.c static struct proto ieee802154_raw_prot = {
proto             951 net/ieee802154/socket.c static struct proto ieee802154_dgram_prot = {
proto            1003 net/ieee802154/socket.c 	struct proto *proto;
proto            1014 net/ieee802154/socket.c 		proto = &ieee802154_raw_prot;
proto            1018 net/ieee802154/socket.c 		proto = &ieee802154_dgram_prot;
proto            1027 net/ieee802154/socket.c 	sk = sk_alloc(net, PF_IEEE802154, GFP_KERNEL, proto, kern);
proto             253 net/ipv4/af_inet.c 	struct proto *answer_prot;
proto            1305 net/ipv4/af_inet.c 	int proto, tot_len;
proto            1321 net/ipv4/af_inet.c 	proto = iph->protocol;
proto            1346 net/ipv4/af_inet.c 	ops = rcu_dereference(inet_offloads[proto]);
proto            1417 net/ipv4/af_inet.c 	int proto;
proto            1428 net/ipv4/af_inet.c 	proto = iph->protocol;
proto            1431 net/ipv4/af_inet.c 	ops = rcu_dereference(inet_offloads[proto]);
proto            1586 net/ipv4/af_inet.c 	int proto = iph->protocol;
proto            1598 net/ipv4/af_inet.c 	ops = rcu_dereference(inet_offloads[proto]);
proto             559 net/ipv4/ah4.c 	.proto	     	= IPPROTO_AH,
proto             212 net/ipv4/esp4.c static void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto)
proto             225 net/ipv4/esp4.c 	tail[plen - 1] = proto;
proto             321 net/ipv4/esp4.c 			esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto);
proto             357 net/ipv4/esp4.c 	esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto);
proto             494 net/ipv4/esp4.c 	esp.proto = *skb_mac_header(skb);
proto             550 net/ipv4/esp4.c 		ret = xo->proto;
proto            1010 net/ipv4/esp4.c 	.proto	     	= IPPROTO_ESP,
proto              97 net/ipv4/esp4_offload.c 	int proto = iph->protocol;
proto             106 net/ipv4/esp4_offload.c 	xo->proto = proto;
proto             126 net/ipv4/esp4_offload.c 	ops = rcu_dereference(inet_offloads[xo->proto]);
proto             230 net/ipv4/esp4_offload.c 	esp.proto = xo->proto;
proto             297 net/ipv4/esp4_offload.c 	.proto	     	= IPPROTO_ESP,
proto             233 net/ipv4/fou.c 	u8 proto = fou_from_sock(sk)->protocol;
proto             251 net/ipv4/fou.c 	ops = rcu_dereference(offloads[proto]);
proto             267 net/ipv4/fou.c 	u8 proto = fou_from_sock(sk)->protocol;
proto             273 net/ipv4/fou.c 	ops = rcu_dereference(offloads[proto]);
proto             325 net/ipv4/fou.c 	u8 proto;
proto             345 net/ipv4/fou.c 			proto = IPPROTO_IPIP;
proto             348 net/ipv4/fou.c 			proto = IPPROTO_IPV6;
proto             426 net/ipv4/fou.c 	proto = guehdr->proto_ctype;
proto             443 net/ipv4/fou.c 	ops = rcu_dereference(offloads[proto]);
proto             464 net/ipv4/fou.c 	u8 proto;
proto             469 net/ipv4/fou.c 		proto = guehdr->proto_ctype;
proto             475 net/ipv4/fou.c 			proto = IPPROTO_IPIP;
proto             478 net/ipv4/fou.c 			proto = IPPROTO_IPV6;
proto             490 net/ipv4/fou.c 	ops = rcu_dereference(offloads[proto]);
proto            1115 net/ipv4/fou.c static int gue_err_proto_handler(int proto, struct sk_buff *skb, u32 info)
proto            1117 net/ipv4/fou.c 	const struct net_protocol *ipprot = rcu_dereference(inet_protos[proto]);
proto              31 net/ipv4/gre_demux.c int gre_add_protocol(const struct gre_protocol *proto, u8 version)
proto              36 net/ipv4/gre_demux.c 	return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ?
proto              41 net/ipv4/gre_demux.c int gre_del_protocol(const struct gre_protocol *proto, u8 version)
proto              48 net/ipv4/gre_demux.c 	ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ?
proto              63 net/ipv4/gre_demux.c 		     bool *csum_err, __be16 proto, int nhs)
proto              83 net/ipv4/gre_demux.c 	tpi->proto = greh->protocol;
proto             114 net/ipv4/gre_demux.c 	if (greh->flags == 0 && tpi->proto == htons(ETH_P_WCCP)) {
proto             121 net/ipv4/gre_demux.c 		tpi->proto = proto;
proto             148 net/ipv4/gre_demux.c 	const struct gre_protocol *proto;
proto             160 net/ipv4/gre_demux.c 	proto = rcu_dereference(gre_proto[ver]);
proto             161 net/ipv4/gre_demux.c 	if (!proto || !proto->handler)
proto             163 net/ipv4/gre_demux.c 	ret = proto->handler(skb);
proto             176 net/ipv4/gre_demux.c 	const struct gre_protocol *proto;
proto             185 net/ipv4/gre_demux.c 	proto = rcu_dereference(gre_proto[ver]);
proto             186 net/ipv4/gre_demux.c 	if (proto && proto->err_handler)
proto             187 net/ipv4/gre_demux.c 		proto->err_handler(skb, info);
proto             772 net/ipv4/icmp.c static bool icmp_tag_validation(int proto)
proto             777 net/ipv4/icmp.c 	ok = rcu_dereference(inet_protos[proto])->icmp_strict_tag_validation;
proto            2698 net/ipv4/igmp.c int ip_check_mc_rcu(struct in_device *in_dev, __be32 mc_addr, __be32 src_addr, u8 proto)
proto            2721 net/ipv4/igmp.c 	if (im && proto == IPPROTO_IGMP) {
proto              49 net/ipv4/inet_diag.c static const struct inet_diag_handler *inet_diag_lock_handler(int proto)
proto              51 net/ipv4/inet_diag.c 	if (!inet_diag_table[proto])
proto              52 net/ipv4/inet_diag.c 		sock_load_diag_module(AF_INET, proto);
proto              55 net/ipv4/inet_diag.c 	if (!inet_diag_table[proto])
proto              58 net/ipv4/inet_diag.c 	return inet_diag_table[proto];
proto             144 net/ipv4/ip_gre.c 	if (tpi->proto == htons(ETH_P_TEB))
proto             146 net/ipv4/ip_gre.c 	else if (tpi->proto == htons(ETH_P_ERSPAN) ||
proto             147 net/ipv4/ip_gre.c 		 tpi->proto == htons(ETH_P_ERSPAN2))
proto             190 net/ipv4/ip_gre.c        if (tpi->proto == htons(ETH_P_IPV6) &&
proto             343 net/ipv4/ip_gre.c 		if (__iptunnel_pull_header(skb, hdr_len, tpi->proto,
proto             379 net/ipv4/ip_gre.c 	if (tpi->proto == htons(ETH_P_TEB))
proto             385 net/ipv4/ip_gre.c 	if (res == PACKET_NEXT && tpi->proto == htons(ETH_P_TEB)) {
proto             413 net/ipv4/ip_gre.c 	if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) ||
proto             414 net/ipv4/ip_gre.c 		     tpi.proto == htons(ETH_P_ERSPAN2))) {
proto             432 net/ipv4/ip_gre.c 		       __be16 proto)
proto             441 net/ipv4/ip_gre.c 			 tunnel->parms.o_flags, proto, tunnel->parms.o_key,
proto             453 net/ipv4/ip_gre.c 			__be16 proto)
proto             478 net/ipv4/ip_gre.c 	gre_build_header(skb, tunnel_hlen, flags, proto,
proto             498 net/ipv4/ip_gre.c 	__be16 proto;
proto             544 net/ipv4/ip_gre.c 		proto = htons(ETH_P_ERSPAN);
proto             551 net/ipv4/ip_gre.c 		proto = htons(ETH_P_ERSPAN2);
proto             557 net/ipv4/ip_gre.c 			 proto, 0, htonl(tunnel->o_seqno++));
proto             642 net/ipv4/ip_gre.c 	__be16 proto;
proto             668 net/ipv4/ip_gre.c 		proto = htons(ETH_P_ERSPAN);
proto             673 net/ipv4/ip_gre.c 		proto = htons(ETH_P_ERSPAN2);
proto             679 net/ipv4/ip_gre.c 	__gre_xmit(skb, dev, &tunnel->parms.iph, proto);
proto             544 net/ipv4/ip_tunnel.c 		       u8 proto, int tunnel_hlen)
proto             571 net/ipv4/ip_tunnel.c 	ip_tunnel_init_flow(&fl4, proto, key->u.ipv4.dst, key->u.ipv4.src,
proto             626 net/ipv4/ip_tunnel.c 	iptunnel_xmit(NULL, rt, skb, fl4.saddr, fl4.daddr, proto, tos, ttl,
proto              47 net/ipv4/ip_tunnel_core.c 		   __be32 src, __be32 dst, __u8 proto,
proto              71 net/ipv4/ip_tunnel_core.c 	iph->protocol	=	proto;
proto             104 net/ipv4/ip_vti.c 			.proto = htons(ETH_P_IP),
proto             109 net/ipv4/ip_vti.c 		if (iptunnel_pull_header(skb, 0, tpi.proto, false))
proto              65 net/ipv4/ipcomp.c 	t->id.proto = IPPROTO_IPIP;
proto             156 net/ipv4/ipcomp.c 	.proto	     	= IPPROTO_COMP,
proto             202 net/ipv4/ipip.c 	.proto = htons(ETH_P_IP),
proto             208 net/ipv4/ipip.c 	.proto = htons(ETH_P_MPLS_UC),
proto             238 net/ipv4/ipip.c 		if (iptunnel_pull_header(skb, 0, tpi->proto, false))
proto             403 net/ipv4/ipip.c 	u8 proto;
proto             408 net/ipv4/ipip.c 	proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
proto             409 net/ipv4/ipip.c 	if (proto != IPPROTO_IPIP && proto != IPPROTO_MPLS && proto != 0)
proto              70 net/ipv4/netfilter/ip_tables.c 	if (ipinfo->proto &&
proto              71 net/ipv4/netfilter/ip_tables.c 	    NF_INVF(ipinfo, IPT_INV_PROTO, ip->protocol != ipinfo->proto))
proto             473 net/ipv4/netfilter/ip_tables.c 			      ip->proto, ip->invflags & IPT_INV_PROTO);
proto             512 net/ipv4/netfilter/ip_tables.c 			       e->ip.proto, e->ip.invflags & IPT_INV_PROTO);
proto            1896 net/ipv4/netfilter/ip_tables.c 		.proto      = IPPROTO_ICMP,
proto              56 net/ipv4/netfilter/ipt_ECN.c 	     tcph->ece == einfo->proto.tcp.ece) &&
proto              58 net/ipv4/netfilter/ipt_ECN.c 	     tcph->cwr == einfo->proto.tcp.cwr))
proto              67 net/ipv4/netfilter/ipt_ECN.c 		tcph->ece = einfo->proto.tcp.ece;
proto              69 net/ipv4/netfilter/ipt_ECN.c 		tcph->cwr = einfo->proto.tcp.cwr;
proto             105 net/ipv4/netfilter/ipt_ECN.c 	    (e->ip.proto != IPPROTO_TCP || (e->ip.invflags & XT_INV_PROTO))) {
proto              78 net/ipv4/netfilter/ipt_REJECT.c 		if (e->ip.proto != IPPROTO_TCP ||
proto              70 net/ipv4/netfilter/ipt_SYNPROXY.c 	if (e->ip.proto != IPPROTO_TCP ||
proto              72 net/ipv4/netfilter/ipt_ah.c 	.proto		= IPPROTO_AH,
proto             173 net/ipv4/netfilter/nf_reject_ipv4.c 	u8 proto = iph->protocol;
proto             178 net/ipv4/netfilter/nf_reject_ipv4.c 	if (skb_csum_unnecessary(skb_in) || !nf_reject_verify_csum(proto)) {
proto             183 net/ipv4/netfilter/nf_reject_ipv4.c 	if (nf_ip_checksum(skb_in, hook, ip_hdrlen(skb_in), proto) == 0)
proto             988 net/ipv4/ping.c struct proto ping_prot = {
proto             960 net/ipv4/raw.c struct proto raw_prot = {
proto             596 net/ipv4/tcp_bpf.c static struct proto *tcpv6_prot_saved __read_mostly;
proto             598 net/ipv4/tcp_bpf.c static struct proto tcp_bpf_prots[TCP_BPF_NUM_PROTS][TCP_BPF_NUM_CFGS];
proto             600 net/ipv4/tcp_bpf.c static void tcp_bpf_rebuild_protos(struct proto prot[TCP_BPF_NUM_CFGS],
proto             601 net/ipv4/tcp_bpf.c 				   struct proto *base)
proto             614 net/ipv4/tcp_bpf.c static void tcp_bpf_check_v6_needs_rebuild(struct sock *sk, struct proto *ops)
proto             654 net/ipv4/tcp_bpf.c static int tcp_bpf_assert_proto_ops(struct proto *ops)
proto             679 net/ipv4/tcp_bpf.c 	struct proto *ops = READ_ONCE(sk->sk_prot);
proto            6486 net/ipv4/tcp_input.c static bool tcp_syn_flood_action(const struct sock *sk, const char *proto)
proto            6506 net/ipv4/tcp_input.c 				     proto, sk->sk_num, msg);
proto            2572 net/ipv4/tcp_ipv4.c struct proto tcp_prot = {
proto              99 net/ipv4/tcp_ulp.c void tcp_update_ulp(struct sock *sk, struct proto *proto,
proto             106 net/ipv4/tcp_ulp.c 		sk->sk_prot = proto;
proto             111 net/ipv4/tcp_ulp.c 		icsk->icsk_ulp_ops->update(sk, proto, write_space);
proto            2147 net/ipv4/udp.c 				    int proto)
proto            2203 net/ipv4/udp.c 				proto == IPPROTO_UDPLITE);
proto            2214 net/ipv4/udp.c 				 int proto)
proto            2221 net/ipv4/udp.c 	if (proto == IPPROTO_UDPLITE) {
proto            2227 net/ipv4/udp.c 			skb->csum = inet_compute_pseudo(skb, proto);
proto            2235 net/ipv4/udp.c 	err = (__force int)skb_checksum_init_zero_check(skb, proto, uh->check,
proto            2281 net/ipv4/udp.c 		   int proto)
proto            2304 net/ipv4/udp.c 	if (proto == IPPROTO_UDP) {
proto            2311 net/ipv4/udp.c 	if (udp4_csum_init(skb, uh, proto))
proto            2329 net/ipv4/udp.c 						saddr, daddr, udptable, proto);
proto            2343 net/ipv4/udp.c 	__UDP_INC_STATS(net, UDP_MIB_NOPORTS, proto == IPPROTO_UDPLITE);
proto            2355 net/ipv4/udp.c 			    proto == IPPROTO_UDPLITE ? "Lite" : "",
proto            2367 net/ipv4/udp.c 			    proto == IPPROTO_UDPLITE ? "Lite" : "",
proto            2370 net/ipv4/udp.c 	__UDP_INC_STATS(net, UDP_MIB_CSUMERRORS, proto == IPPROTO_UDPLITE);
proto            2372 net/ipv4/udp.c 	__UDP_INC_STATS(net, UDP_MIB_INERRORS, proto == IPPROTO_UDPLITE);
proto            2775 net/ipv4/udp.c struct proto udp_prot = {
proto              37 net/ipv4/udplite.c struct proto 	udplite_prot = {
proto              36 net/ipv4/xfrm4_state.c 	.proto			= IPPROTO_IPIP,
proto              47 net/ipv4/xfrm4_tunnel.c 	.proto	     	= IPPROTO_IPIP,
proto             114 net/ipv6/af_inet6.c 	struct proto *answer_prot;
proto             759 net/ipv6/ah6.c 	.proto		= IPPROTO_AH,
proto             210 net/ipv6/esp6.c static void esp_output_fill_trailer(u8 *tail, int tfclen, int plen, __u8 proto)
proto             223 net/ipv6/esp6.c 	tail[plen - 1] = proto;
proto             266 net/ipv6/esp6.c 			esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto);
proto             299 net/ipv6/esp6.c 	esp_output_fill_trailer(tail, esp->tfclen, esp->plen, esp->proto);
proto             435 net/ipv6/esp6.c 	esp.proto = *skb_mac_header(skb);
proto             489 net/ipv6/esp6.c 		ret = xo->proto;
proto             901 net/ipv6/esp6.c 	.proto		= IPPROTO_ESP,
proto             124 net/ipv6/esp6_offload.c 	u8 proto = iph->nexthdr;
proto             131 net/ipv6/esp6_offload.c 		ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &proto, &frag);
proto             140 net/ipv6/esp6_offload.c 	xo->proto = proto;
proto             160 net/ipv6/esp6_offload.c 	ops = rcu_dereference(inet6_offloads[xo->proto]);
proto             261 net/ipv6/esp6_offload.c 	esp.proto = xo->proto;
proto             328 net/ipv6/esp6_offload.c 	.proto	     	= IPPROTO_ESP,
proto             866 net/ipv6/exthdrs.c static void ipv6_push_rthdr0(struct sk_buff *skb, u8 *proto,
proto             887 net/ipv6/exthdrs.c 	phdr->rt_hdr.nexthdr = *proto;
proto             888 net/ipv6/exthdrs.c 	*proto = NEXTHDR_ROUTING;
proto             891 net/ipv6/exthdrs.c static void ipv6_push_rthdr4(struct sk_buff *skb, u8 *proto,
proto             936 net/ipv6/exthdrs.c 	sr_phdr->nexthdr = *proto;
proto             937 net/ipv6/exthdrs.c 	*proto = NEXTHDR_ROUTING;
proto             940 net/ipv6/exthdrs.c static void ipv6_push_rthdr(struct sk_buff *skb, u8 *proto,
proto             948 net/ipv6/exthdrs.c 		ipv6_push_rthdr0(skb, proto, opt, addr_p, saddr);
proto             951 net/ipv6/exthdrs.c 		ipv6_push_rthdr4(skb, proto, opt, addr_p, saddr);
proto             958 net/ipv6/exthdrs.c static void ipv6_push_exthdr(struct sk_buff *skb, u8 *proto, u8 type, struct ipv6_opt_hdr *opt)
proto             963 net/ipv6/exthdrs.c 	h->nexthdr = *proto;
proto             964 net/ipv6/exthdrs.c 	*proto = type;
proto             968 net/ipv6/exthdrs.c 			  u8 *proto,
proto             972 net/ipv6/exthdrs.c 		ipv6_push_rthdr(skb, proto, opt->srcrt, daddr, saddr);
proto             978 net/ipv6/exthdrs.c 			ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst0opt);
proto             981 net/ipv6/exthdrs.c 		ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt);
proto             984 net/ipv6/exthdrs.c void ipv6_push_frag_opts(struct sk_buff *skb, struct ipv6_txoptions *opt, u8 *proto)
proto             987 net/ipv6/exthdrs.c 		ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst1opt);
proto              74 net/ipv6/fou6.c static int gue6_err_proto_handler(int proto, struct sk_buff *skb,
proto              80 net/ipv6/fou6.c 	ipprot = rcu_dereference(inet6_protos[proto]);
proto              30 net/ipv6/inet6_connection_sock.c 				      u8 proto)
proto              38 net/ipv6/inet6_connection_sock.c 	fl6->flowi6_proto = proto;
proto              10 net/ipv6/ip6_checksum.c 			__u32 len, __u8 proto, __wsum csum)
proto              55 net/ipv6/ip6_checksum.c 	uproto = (__force u32)htonl(proto);
proto              65 net/ipv6/ip6_checksum.c int udp6_csum_init(struct sk_buff *skb, struct udphdr *uh, int proto)
proto              72 net/ipv6/ip6_checksum.c 	if (proto == IPPROTO_UDPLITE) {
proto              78 net/ipv6/ip6_checksum.c 			skb->csum = ip6_compute_pseudo(skb, proto);
proto              91 net/ipv6/ip6_checksum.c 	err = (__force int)skb_checksum_init_zero_check(skb, proto, uh->check,
proto             435 net/ipv6/ip6_gre.c 				 tpi.key, tpi.proto);
proto             497 net/ipv6/ip6_gre.c 				      tpi->proto);
proto             538 net/ipv6/ip6_gre.c 				      tpi->proto);
proto             606 net/ipv6/ip6_gre.c 	if (iptunnel_pull_header(skb, hdr_len, tpi.proto, false))
proto             609 net/ipv6/ip6_gre.c 	if (unlikely(tpi.proto == htons(ETH_P_ERSPAN) ||
proto             610 net/ipv6/ip6_gre.c 		     tpi.proto == htons(ETH_P_ERSPAN2))) {
proto             708 net/ipv6/ip6_gre.c 			       __u32 *pmtu, __be16 proto)
proto             725 net/ipv6/ip6_gre.c 	protocol = (dev->type == ARPHRD_ETHER) ? htons(ETH_P_TEB) : proto;
proto             923 net/ipv6/ip6_gre.c 	__be16 proto;
proto            1037 net/ipv6/ip6_gre.c 	proto = (t->parms.erspan_ver == 1) ? htons(ETH_P_ERSPAN)
proto            1039 net/ipv6/ip6_gre.c 	gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(t->o_seqno++));
proto            1166 net/ipv6/ip6_gre.c 	t->parms.proto = p->proto;
proto            1207 net/ipv6/ip6_gre.c 	u->proto = IPPROTO_GRE;
proto              36 net/ipv6/ip6_offload.c static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto)
proto              44 net/ipv6/ip6_offload.c 		if (proto != NEXTHDR_HOP) {
proto              45 net/ipv6/ip6_offload.c 			ops = rcu_dereference(inet6_offloads[proto]);
proto              64 net/ipv6/ip6_offload.c 		proto = opth->nexthdr;
proto              68 net/ipv6/ip6_offload.c 	return proto;
proto              77 net/ipv6/ip6_offload.c 	int proto;
proto             100 net/ipv6/ip6_offload.c 	proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr);
proto             104 net/ipv6/ip6_offload.c 		udpfrag = proto == IPPROTO_UDP && encap &&
proto             107 net/ipv6/ip6_offload.c 		udpfrag = proto == IPPROTO_UDP && !skb->encapsulation &&
proto             110 net/ipv6/ip6_offload.c 	ops = rcu_dereference(inet6_offloads[proto]);
proto             161 net/ipv6/ip6_offload.c 	int len = 0, proto, optlen = sizeof(*iph);
proto             163 net/ipv6/ip6_offload.c 	proto = iph->nexthdr;
proto             165 net/ipv6/ip6_offload.c 		if (proto != NEXTHDR_HOP) {
proto             166 net/ipv6/ip6_offload.c 			*opps = rcu_dereference(inet6_offloads[proto]);
proto             175 net/ipv6/ip6_offload.c 		proto = opth->nexthdr;
proto             195 net/ipv6/ip6_offload.c 	int proto;
proto             213 net/ipv6/ip6_offload.c 	proto = iph->nexthdr;
proto             214 net/ipv6/ip6_offload.c 	ops = rcu_dereference(inet6_offloads[proto]);
proto             218 net/ipv6/ip6_offload.c 		proto = ipv6_gso_pull_exthdrs(skb, proto);
proto             223 net/ipv6/ip6_offload.c 		ops = rcu_dereference(inet6_offloads[proto]);
proto             230 net/ipv6/ip6_offload.c 	NAPI_GRO_CB(skb)->proto = proto;
proto             204 net/ipv6/ip6_output.c 	u8  proto = fl6->flowi6_proto;
proto             231 net/ipv6/ip6_output.c 			ipv6_push_frag_opts(skb, opt, &proto);
proto             234 net/ipv6/ip6_output.c 			ipv6_push_nfrag_opts(skb, opt, &proto, &first_hop,
proto             254 net/ipv6/ip6_output.c 	hdr->nexthdr = proto;
proto            1727 net/ipv6/ip6_output.c 	unsigned char proto = fl6->flowi6_proto;
proto            1754 net/ipv6/ip6_output.c 		ipv6_push_frag_opts(skb, opt, &proto);
proto            1756 net/ipv6/ip6_output.c 		ipv6_push_nfrag_opts(skb, opt, &proto, &final_dst, &fl6->saddr);
proto            1766 net/ipv6/ip6_output.c 	hdr->nexthdr = proto;
proto            1777 net/ipv6/ip6_output.c 	if (proto == IPPROTO_ICMPV6) {
proto             492 net/ipv6/ip6_tunnel.c 	tproto = READ_ONCE(t->parms.proto);
proto             802 net/ipv6/ip6_tunnel.c 	skb->protocol = tpi->proto;
proto             870 net/ipv6/ip6_tunnel.c 	.proto = htons(ETH_P_IPV6),
proto             875 net/ipv6/ip6_tunnel.c 	.proto = htons(ETH_P_IP),
proto             893 net/ipv6/ip6_tunnel.c 		u8 tproto = READ_ONCE(t->parms.proto);
proto             902 net/ipv6/ip6_tunnel.c 		if (iptunnel_pull_header(skb, 0, tpi->proto, false))
proto            1034 net/ipv6/ip6_tunnel.c 		 __u8 proto)
proto            1082 net/ipv6/ip6_tunnel.c 	} else if (t->parms.proto != 0 && !(t->parms.flags &
proto            1200 net/ipv6/ip6_tunnel.c 	err = ip6_tnl_encap(skb, t, &proto, fl6);
proto            1206 net/ipv6/ip6_tunnel.c 		ipv6_push_frag_opts(skb, &opt.ops, &proto);
proto            1215 net/ipv6/ip6_tunnel.c 	ipv6h->nexthdr = proto;
proto            1244 net/ipv6/ip6_tunnel.c 	tproto = READ_ONCE(t->parms.proto);
proto            1315 net/ipv6/ip6_tunnel.c 	tproto = READ_ONCE(t->parms.proto);
proto            1498 net/ipv6/ip6_tunnel.c 	t->parms.proto = p->proto;
proto            1522 net/ipv6/ip6_tunnel.c 	t->parms.proto = p->proto;
proto            1537 net/ipv6/ip6_tunnel.c 	p->proto = u->proto;
proto            1551 net/ipv6/ip6_tunnel.c 	u->proto = p->proto;
proto            1623 net/ipv6/ip6_tunnel.c 		if (p.proto != IPPROTO_IPV6 && p.proto != IPPROTO_IPIP &&
proto            1624 net/ipv6/ip6_tunnel.c 		    p.proto != 0)
proto            1693 net/ipv6/ip6_tunnel.c 	if (tnl->parms.proto == IPPROTO_IPV6) {
proto            1700 net/ipv6/ip6_tunnel.c 	if (tnl->parms.proto == IPPROTO_IPV6 || tnl->parms.proto == 0) {
proto            1898 net/ipv6/ip6_tunnel.c 	t->parms.proto = IPPROTO_IPV6;
proto            1908 net/ipv6/ip6_tunnel.c 	u8 proto;
proto            1913 net/ipv6/ip6_tunnel.c 	proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
proto            1914 net/ipv6/ip6_tunnel.c 	if (proto != IPPROTO_IPV6 &&
proto            1915 net/ipv6/ip6_tunnel.c 	    proto != IPPROTO_IPIP &&
proto            1916 net/ipv6/ip6_tunnel.c 	    proto != 0)
proto            1952 net/ipv6/ip6_tunnel.c 		parms->proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
proto            2118 net/ipv6/ip6_tunnel.c 	    nla_put_u8(skb, IFLA_IPTUN_PROTO, parm->proto) ||
proto             307 net/ipv6/ip6_vti.c 		if (t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) {
proto             558 net/ipv6/ip6_vti.c 		if ((t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) ||
proto             710 net/ipv6/ip6_vti.c 	t->parms.proto = p->proto;
proto             740 net/ipv6/ip6_vti.c 	p->proto = u->proto;
proto             757 net/ipv6/ip6_vti.c 	u->proto = p->proto;
proto             826 net/ipv6/ip6_vti.c 		if (p.proto != IPPROTO_IPV6  && p.proto != 0)
proto             954 net/ipv6/ip6_vti.c 	t->parms.proto = IPPROTO_IPV6;
proto            1004 net/ipv6/ip6_vti.c 	nt->parms.proto = IPPROTO_IPV6;
proto              83 net/ipv6/ipcomp6.c 	t->id.proto = IPPROTO_IPV6;
proto             176 net/ipv6/ipcomp6.c 	.proto		= IPPROTO_COMP,
proto             228 net/ipv6/ipv6_sockglue.c 				struct proto *prot = &udp_prot;
proto            1568 net/ipv6/mcast.c 		       int proto, int len)
proto            1582 net/ipv6/mcast.c 	hdr->nexthdr = proto;
proto             234 net/ipv6/mip6.c 	sel.proto = fl6->flowi6_proto;
proto             329 net/ipv6/mip6.c 	.proto		= IPPROTO_DSTOPTS,
proto             461 net/ipv6/mip6.c 	.proto		= IPPROTO_ROUTING,
proto              92 net/ipv6/netfilter/ip6_tables.c 		if (ip6info->proto == protohdr) {
proto             100 net/ipv6/netfilter/ip6_tables.c 		if ((ip6info->proto != 0) &&
proto             490 net/ipv6/netfilter/ip6_tables.c 			      ipv6->proto, ipv6->invflags & IP6T_INV_PROTO);
proto             530 net/ipv6/netfilter/ip6_tables.c 			       e->ipv6.proto,
proto            1907 net/ipv6/netfilter/ip6_tables.c 		.proto      = IPPROTO_ICMPV6,
proto              89 net/ipv6/netfilter/ip6t_REJECT.c 		    e->ipv6.proto != IPPROTO_TCP ||
proto              73 net/ipv6/netfilter/ip6t_SYNPROXY.c 	    e->ipv6.proto != IPPROTO_TCP ||
proto              75 net/ipv6/netfilter/ip6t_mh.c 	.proto		= IPPROTO_MH,
proto              20 net/ipv6/netfilter/nf_reject_ipv6.c 	u8 proto;
proto              24 net/ipv6/netfilter/nf_reject_ipv6.c 	proto = oip6h->nexthdr;
proto              26 net/ipv6/netfilter/nf_reject_ipv6.c 				   &proto, &frag_off);
proto              36 net/ipv6/netfilter/nf_reject_ipv6.c 	if (proto != IPPROTO_TCP || *otcplen < sizeof(struct tcphdr)) {
proto              38 net/ipv6/netfilter/nf_reject_ipv6.c 			 proto, *otcplen);
proto             222 net/ipv6/netfilter/nf_reject_ipv6.c 	u8 proto;
proto             227 net/ipv6/netfilter/nf_reject_ipv6.c 	proto = ip6h->nexthdr;
proto             228 net/ipv6/netfilter/nf_reject_ipv6.c 	thoff = ipv6_skip_exthdr(skb, ((u8 *)(ip6h + 1) - skb->data), &proto, &fo);
proto             233 net/ipv6/netfilter/nf_reject_ipv6.c 	if (!nf_reject_verify_csum(proto))
proto             236 net/ipv6/netfilter/nf_reject_ipv6.c 	return nf_ip6_checksum(skb, hook, thoff, proto) == 0;
proto             163 net/ipv6/ping.c struct proto pingv6_prot = {
proto             783 net/ipv6/raw.c 	u16 proto;
proto             823 net/ipv6/raw.c 		proto = ntohs(sin6->sin6_port);
proto             825 net/ipv6/raw.c 		if (!proto)
proto             826 net/ipv6/raw.c 			proto = inet->inet_num;
proto             827 net/ipv6/raw.c 		else if (proto != inet->inet_num)
proto             830 net/ipv6/raw.c 		if (proto > 255)
proto             859 net/ipv6/raw.c 		proto = inet->inet_num;
proto             894 net/ipv6/raw.c 	fl6.flowi6_proto = proto;
proto            1278 net/ipv6/raw.c struct proto rawv6_prot = {
proto             108 net/ipv6/seg6_iptunnel.c int seg6_do_srh_encap(struct sk_buff *skb, struct ipv6_sr_hdr *osrh, int proto)
proto             153 net/ipv6/seg6_iptunnel.c 	isrh->nexthdr = proto;
proto             228 net/ipv6/seg6_iptunnel.c 	int proto, err = 0;
proto             247 net/ipv6/seg6_iptunnel.c 			proto = IPPROTO_IPV6;
proto             249 net/ipv6/seg6_iptunnel.c 			proto = IPPROTO_IPIP;
proto             253 net/ipv6/seg6_iptunnel.c 		err = seg6_do_srh_encap(skb, tinfo->srh, proto);
proto             115 net/ipv6/seg6_local.c static bool decap_and_validate(struct sk_buff *skb, int proto)
proto             129 net/ipv6/seg6_local.c 	if (ipv6_find_hdr(skb, &off, proto, NULL, NULL) < 0)
proto             704 net/ipv6/sit.c 	.proto = htons(ETH_P_IP),
proto             710 net/ipv6/sit.c 	.proto = htons(ETH_P_MPLS_UC),
proto             740 net/ipv6/sit.c 		if (iptunnel_pull_header(skb, 0, tpi->proto, false))
proto            1436 net/ipv6/sit.c 	u8 proto;
proto            1441 net/ipv6/sit.c 	proto = nla_get_u8(data[IFLA_IPTUN_PROTO]);
proto            1442 net/ipv6/sit.c 	if (!ipip6_valid_ip_proto(proto))
proto            2006 net/ipv6/tcp_ipv6.c struct proto tcpv6_prot = {
proto             745 net/ipv6/udp.c 		struct udp_table *udptable, int proto)
proto             807 net/ipv6/udp.c 				 proto == IPPROTO_UDPLITE);
proto             841 net/ipv6/udp.c 		   int proto)
proto             860 net/ipv6/udp.c 	if (proto == IPPROTO_UDP) {
proto             879 net/ipv6/udp.c 	if (udp6_csum_init(skb, uh, proto))
proto             906 net/ipv6/udp.c 				saddr, daddr, udptable, proto);
proto             925 net/ipv6/udp.c 	__UDP6_INC_STATS(net, UDP_MIB_NOPORTS, proto == IPPROTO_UDPLITE);
proto             933 net/ipv6/udp.c 			    proto == IPPROTO_UDPLITE ? "-Lite" : "",
proto             942 net/ipv6/udp.c 	__UDP6_INC_STATS(net, UDP_MIB_CSUMERRORS, proto == IPPROTO_UDPLITE);
proto             944 net/ipv6/udp.c 	__UDP6_INC_STATS(net, UDP_MIB_INERRORS, proto == IPPROTO_UDPLITE);
proto            1654 net/ipv6/udp.c struct proto udpv6_prot = {
proto              34 net/ipv6/udplite.c struct proto udplitev6_prot = {
proto              85 net/ipv6/xfrm6_input.c 		     xfrm_address_t *saddr, u8 proto)
proto             123 net/ipv6/xfrm6_input.c 		x = xfrm_state_lookup_byaddr(net, skb->mark, dst, src, proto, AF_INET6);
proto              28 net/ipv6/xfrm6_output.c 	int proto;
proto              35 net/ipv6/xfrm6_output.c 		proto = sk->sk_protocol;
proto              36 net/ipv6/xfrm6_output.c 		if (proto == IPPROTO_UDP || proto == IPPROTO_RAW)
proto              42 net/ipv6/xfrm6_state.c 	.proto			= IPPROTO_IPV6,
proto             296 net/ipv6/xfrm6_tunnel.c 	.proto		= IPPROTO_IPV6,
proto              41 net/iucv/af_iucv.c static struct proto iucv_proto = {
proto             567 net/iucv/af_iucv.c static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio, int kern)
proto             603 net/iucv/af_iucv.c 	sk->sk_protocol = proto;
proto            1653 net/kcm/kcmsock.c static struct proto kcm_proto = {
proto             132 net/key/af_key.c static struct proto key_proto = {
proto             588 net/key/af_key.c pfkey_proto2satype(uint16_t proto)
proto             590 net/key/af_key.c 	switch (proto) {
proto             607 net/key/af_key.c static uint8_t pfkey_proto_to_xfrm(uint8_t proto)
proto             609 net/key/af_key.c 	return proto == IPSEC_PROTO_ANY ? 0 : proto;
proto             612 net/key/af_key.c static uint8_t pfkey_proto_from_xfrm(uint8_t proto)
proto             614 net/key/af_key.c 	return proto ? proto : IPSEC_PROTO_ANY;
proto             660 net/key/af_key.c 	uint16_t proto;
proto             668 net/key/af_key.c 	proto = pfkey_satype2proto(hdr->sadb_msg_satype);
proto             669 net/key/af_key.c 	if (proto == 0)
proto             694 net/key/af_key.c 	return xfrm_state_lookup(net, DUMMY_MARK, xaddr, sa->sadb_sa_spi, proto, family);
proto             957 net/key/af_key.c 			pfkey_proto_from_xfrm(x->sel.proto);
proto            1072 net/key/af_key.c 	uint16_t proto;
proto            1091 net/key/af_key.c 	proto = pfkey_satype2proto(hdr->sadb_msg_satype);
proto            1092 net/key/af_key.c 	if (proto == 0)
proto            1130 net/key/af_key.c 	x->id.proto = proto;
proto            1322 net/key/af_key.c 	u8 proto;
proto            1330 net/key/af_key.c 	proto = pfkey_satype2proto(hdr->sadb_msg_satype);
proto            1331 net/key/af_key.c 	if (proto == 0)
proto            1370 net/key/af_key.c 		x = xfrm_find_acq(net, &dummy_mark, mode, reqid, 0, proto, xdaddr, xsaddr, 1, family);
proto            1384 net/key/af_key.c 	err = verify_spi_info(x->id.proto, min_spi, max_spi);
proto            1401 net/key/af_key.c 	out_hdr->sadb_msg_satype = pfkey_proto2satype(proto);
proto            1490 net/key/af_key.c 	hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto);
proto            1581 net/key/af_key.c 	__u8 proto;
proto            1596 net/key/af_key.c 	proto = x->id.proto;
proto            1604 net/key/af_key.c 	out_hdr->sadb_msg_satype = pfkey_proto2satype(proto);
proto            1745 net/key/af_key.c 	hdr->sadb_msg_satype = pfkey_proto2satype(c->data.proto);
proto            1762 net/key/af_key.c 	unsigned int proto;
proto            1766 net/key/af_key.c 	proto = pfkey_satype2proto(hdr->sadb_msg_satype);
proto            1767 net/key/af_key.c 	if (proto == 0)
proto            1770 net/key/af_key.c 	err = xfrm_state_flush(net, proto, true, false);
proto            1778 net/key/af_key.c 	c.data.proto = proto;
proto            1804 net/key/af_key.c 	out_hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto);
proto            1833 net/key/af_key.c 	u8 proto;
proto            1843 net/key/af_key.c 	proto = pfkey_satype2proto(hdr->sadb_msg_satype);
proto            1844 net/key/af_key.c 	if (proto == 0) {
proto            1871 net/key/af_key.c 	xfrm_state_walk_init(&pfk->dump.u.state, proto, filter);
proto            1951 net/key/af_key.c 	t->id.proto = rq->sadb_x_ipsecrequest_proto;
proto            2080 net/key/af_key.c 	addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto);
proto            2095 net/key/af_key.c 	addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto);
proto            2163 net/key/af_key.c 		rq->sadb_x_ipsecrequest_proto = t->id.proto;
proto            2270 net/key/af_key.c 	xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            2282 net/key/af_key.c 	xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            2377 net/key/af_key.c 	sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            2385 net/key/af_key.c 	sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            2527 net/key/af_key.c 	m->proto = rq1->sadb_x_ipsecrequest_proto;
proto            2585 net/key/af_key.c 	sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            2594 net/key/af_key.c 	sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto);
proto            3041 net/key/af_key.c 	out_hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto);
proto            3153 net/key/af_key.c 	if (x->id.proto == IPPROTO_AH)
proto            3155 net/key/af_key.c 	else if (x->id.proto == IPPROTO_ESP)
proto            3170 net/key/af_key.c 	hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto);
proto            3217 net/key/af_key.c 	if (x->id.proto == IPPROTO_AH)
proto            3219 net/key/af_key.c 	else if (x->id.proto == IPPROTO_ESP)
proto            3337 net/key/af_key.c 	__u8 satype = (x->id.proto == IPPROTO_ESP ? SADB_SATYPE_ESP : 0);
proto            3445 net/key/af_key.c 	addr->sadb_address_proto = sel->proto;
proto            3494 net/key/af_key.c 			    uint8_t proto, uint8_t mode, int level,
proto            3508 net/key/af_key.c 	rq->sadb_x_ipsecrequest_proto = proto;
proto            3578 net/key/af_key.c 	hdr->sadb_msg_satype = pfkey_proto2satype(m->proto);
proto            3610 net/key/af_key.c 		if (set_ipsecrequest(skb, mp->proto, mode,
proto            3617 net/key/af_key.c 		if (set_ipsecrequest(skb, mp->proto, mode,
proto             597 net/l2tp/l2tp_ip.c static struct proto l2tp_ip_prot = {
proto             730 net/l2tp/l2tp_ip6.c static struct proto l2tp_ip6_prot = {
proto             486 net/l2tp/l2tp_ppp.c static struct proto pppol2tp_sk_proto = {
proto             145 net/llc/af_llc.c static struct proto llc_proto = {
proto             915 net/llc/llc_conn.c struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)
proto            1781 net/mac80211/ieee80211_i.h 			      const u8 *dest, __be16 proto, bool unencrypted);
proto            4144 net/mac80211/rx.c 		__be16 proto;
proto            4217 net/mac80211/rx.c 		if (unlikely(payload->proto == cpu_to_be16(ETH_P_TDLS) ||
proto            4218 net/mac80211/rx.c 			     payload->proto == fast_rx->control_port_protocol))
proto            5082 net/mac80211/tx.c 			      const u8 *dest, __be16 proto, bool unencrypted)
proto            5094 net/mac80211/tx.c 	if (proto != sdata->control_port_protocol &&
proto            5095 net/mac80211/tx.c 	    proto != cpu_to_be16(ETH_P_PREAUTH))
proto            5098 net/mac80211/tx.c 	if (proto == sdata->control_port_protocol)
proto            5118 net/mac80211/tx.c 	ehdr->h_proto = proto;
proto             283 net/ncsi/internal.h 	__be16 proto;
proto            1533 net/ncsi/ncsi-manage.c int ncsi_vlan_rx_add_vid(struct net_device *dev, __be16 proto, u16 vid)
proto            1572 net/ncsi/ncsi-manage.c 	vlan->proto = proto;
proto            1584 net/ncsi/ncsi-manage.c int ncsi_vlan_rx_kill_vid(struct net_device *dev, __be16 proto, u16 vid)
proto              26 net/netfilter/ipset/ip_set_getport.c 	 bool src, __be16 *port, u8 *proto)
proto              92 net/netfilter/ipset/ip_set_getport.c 	*proto = protocol;
proto              99 net/netfilter/ipset/ip_set_getport.c 		    __be16 *port, u8 *proto)
proto             122 net/netfilter/ipset/ip_set_getport.c 			*proto = protocol;
proto             126 net/netfilter/ipset/ip_set_getport.c 	return get_port(skb, protocol, protooff, src, port, proto);
proto             133 net/netfilter/ipset/ip_set_getport.c 		    __be16 *port, u8 *proto)
proto             147 net/netfilter/ipset/ip_set_getport.c 	return get_port(skb, nexthdr, protoff, src, port, proto);
proto             156 net/netfilter/ipset/ip_set_getport.c 	u8 proto;
proto             160 net/netfilter/ipset/ip_set_getport.c 		ret = ip_set_get_ip4_port(skb, src, port, &proto);
proto             163 net/netfilter/ipset/ip_set_getport.c 		ret = ip_set_get_ip6_port(skb, src, port, &proto);
proto             170 net/netfilter/ipset/ip_set_getport.c 	switch (proto) {
proto              44 net/netfilter/ipset/ip_set_hash_ipport.c 	u8 proto;
proto              57 net/netfilter/ipset/ip_set_hash_ipport.c 	       ip1->proto == ip2->proto;
proto              66 net/netfilter/ipset/ip_set_hash_ipport.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto))
proto              96 net/netfilter/ipset/ip_set_hash_ipport.c 				 &e.port, &e.proto))
proto             134 net/netfilter/ipset/ip_set_hash_ipport.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             135 net/netfilter/ipset/ip_set_hash_ipport.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             137 net/netfilter/ipset/ip_set_hash_ipport.c 		if (e.proto == 0)
proto             143 net/netfilter/ipset/ip_set_hash_ipport.c 	if (!(with_ports || e.proto == IPPROTO_ICMP))
proto             199 net/netfilter/ipset/ip_set_hash_ipport.c 	u8 proto;
proto             212 net/netfilter/ipset/ip_set_hash_ipport.c 	       ip1->proto == ip2->proto;
proto             221 net/netfilter/ipset/ip_set_hash_ipport.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto))
proto             254 net/netfilter/ipset/ip_set_hash_ipport.c 				 &e.port, &e.proto))
proto             300 net/netfilter/ipset/ip_set_hash_ipport.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             301 net/netfilter/ipset/ip_set_hash_ipport.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             303 net/netfilter/ipset/ip_set_hash_ipport.c 		if (e.proto == 0)
proto             309 net/netfilter/ipset/ip_set_hash_ipport.c 	if (!(with_ports || e.proto == IPPROTO_ICMPV6))
proto              45 net/netfilter/ipset/ip_set_hash_ipportip.c 	u8 proto;
proto              57 net/netfilter/ipset/ip_set_hash_ipportip.c 	       ip1->proto == ip2->proto;
proto              67 net/netfilter/ipset/ip_set_hash_ipportip.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto))
proto              98 net/netfilter/ipset/ip_set_hash_ipportip.c 				 &e.port, &e.proto))
proto             141 net/netfilter/ipset/ip_set_hash_ipportip.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             142 net/netfilter/ipset/ip_set_hash_ipportip.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             144 net/netfilter/ipset/ip_set_hash_ipportip.c 		if (e.proto == 0)
proto             150 net/netfilter/ipset/ip_set_hash_ipportip.c 	if (!(with_ports || e.proto == IPPROTO_ICMP))
proto             207 net/netfilter/ipset/ip_set_hash_ipportip.c 	u8 proto;
proto             221 net/netfilter/ipset/ip_set_hash_ipportip.c 	       ip1->proto == ip2->proto;
proto             231 net/netfilter/ipset/ip_set_hash_ipportip.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto))
proto             264 net/netfilter/ipset/ip_set_hash_ipportip.c 				 &e.port, &e.proto))
proto             315 net/netfilter/ipset/ip_set_hash_ipportip.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             316 net/netfilter/ipset/ip_set_hash_ipportip.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             318 net/netfilter/ipset/ip_set_hash_ipportip.c 		if (e.proto == 0)
proto             324 net/netfilter/ipset/ip_set_hash_ipportip.c 	if (!(with_ports || e.proto == IPPROTO_ICMPV6))
proto              57 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 proto;
proto              71 net/netfilter/ipset/ip_set_hash_ipportnet.c 	       ip1->proto == ip2->proto;
proto             109 net/netfilter/ipset/ip_set_hash_ipportnet.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             148 net/netfilter/ipset/ip_set_hash_ipportnet.c 				 &e.port, &e.proto))
proto             203 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             204 net/netfilter/ipset/ip_set_hash_ipportnet.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             206 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (e.proto == 0)
proto             212 net/netfilter/ipset/ip_set_hash_ipportnet.c 	if (!(with_ports || e.proto == IPPROTO_ICMP))
proto             306 net/netfilter/ipset/ip_set_hash_ipportnet.c 	u8 proto;
proto             320 net/netfilter/ipset/ip_set_hash_ipportnet.c 	       ip1->proto == ip2->proto;
proto             358 net/netfilter/ipset/ip_set_hash_ipportnet.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             399 net/netfilter/ipset/ip_set_hash_ipportnet.c 				 &e.port, &e.proto))
proto             463 net/netfilter/ipset/ip_set_hash_ipportnet.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             464 net/netfilter/ipset/ip_set_hash_ipportnet.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             466 net/netfilter/ipset/ip_set_hash_ipportnet.c 		if (e.proto == 0)
proto             472 net/netfilter/ipset/ip_set_hash_ipportnet.c 	if (!(with_ports || e.proto == IPPROTO_ICMPV6))
proto              53 net/netfilter/ipset/ip_set_hash_netport.c 	u8 proto;
proto              67 net/netfilter/ipset/ip_set_hash_netport.c 	       ip1->proto == ip2->proto &&
proto             105 net/netfilter/ipset/ip_set_hash_netport.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             143 net/netfilter/ipset/ip_set_hash_netport.c 				 &e.port, &e.proto))
proto             192 net/netfilter/ipset/ip_set_hash_netport.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             193 net/netfilter/ipset/ip_set_hash_netport.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             195 net/netfilter/ipset/ip_set_hash_netport.c 		if (e.proto == 0)
proto             201 net/netfilter/ipset/ip_set_hash_netport.c 	if (!(with_ports || e.proto == IPPROTO_ICMP))
proto             266 net/netfilter/ipset/ip_set_hash_netport.c 	u8 proto;
proto             280 net/netfilter/ipset/ip_set_hash_netport.c 	       ip1->proto == ip2->proto &&
proto             318 net/netfilter/ipset/ip_set_hash_netport.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             359 net/netfilter/ipset/ip_set_hash_netport.c 				 &e.port, &e.proto))
proto             411 net/netfilter/ipset/ip_set_hash_netport.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             412 net/netfilter/ipset/ip_set_hash_netport.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             414 net/netfilter/ipset/ip_set_hash_netport.c 		if (e.proto == 0)
proto             420 net/netfilter/ipset/ip_set_hash_netport.c 	if (!(with_ports || e.proto == IPPROTO_ICMPV6))
proto              54 net/netfilter/ipset/ip_set_hash_netportnet.c 	u8 proto;
proto              67 net/netfilter/ipset/ip_set_hash_netportnet.c 	       ip1->proto == ip2->proto;
proto             119 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             164 net/netfilter/ipset/ip_set_hash_netportnet.c 				 &e.port, &e.proto))
proto             225 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             226 net/netfilter/ipset/ip_set_hash_netportnet.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             228 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.proto == 0)
proto             234 net/netfilter/ipset/ip_set_hash_netportnet.c 	if (!(with_ports || e.proto == IPPROTO_ICMP))
proto             329 net/netfilter/ipset/ip_set_hash_netportnet.c 	u8 proto;
proto             343 net/netfilter/ipset/ip_set_hash_netportnet.c 	       ip1->proto == ip2->proto;
proto             395 net/netfilter/ipset/ip_set_hash_netportnet.c 	    nla_put_u8(skb, IPSET_ATTR_PROTO, data->proto) ||
proto             443 net/netfilter/ipset/ip_set_hash_netportnet.c 				 &e.port, &e.proto))
proto             508 net/netfilter/ipset/ip_set_hash_netportnet.c 		e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]);
proto             509 net/netfilter/ipset/ip_set_hash_netportnet.c 		with_ports = ip_set_proto_with_ports(e.proto);
proto             511 net/netfilter/ipset/ip_set_hash_netportnet.c 		if (e.proto == 0)
proto             517 net/netfilter/ipset/ip_set_hash_netportnet.c 	if (!(with_ports || e.proto == IPPROTO_ICMPV6))
proto              73 net/netfilter/ipvs/ip_vs_app.c ip_vs_app_inc_new(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto,
proto              80 net/netfilter/ipvs/ip_vs_app.c 	if (!(pp = ip_vs_proto_get(proto)))
proto             173 net/netfilter/ipvs/ip_vs_app.c register_ip_vs_app_inc(struct netns_ipvs *ipvs, struct ip_vs_app *app, __u16 proto,
proto             180 net/netfilter/ipvs/ip_vs_app.c 	result = ip_vs_app_inc_new(ipvs, app, proto, port);
proto             107 net/netfilter/ipvs/ip_vs_conn.c static unsigned int ip_vs_conn_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto,
proto             114 net/netfilter/ipvs/ip_vs_conn.c 				    (__force u32)port, proto, ip_vs_conn_rnd) ^
proto             117 net/netfilter/ipvs/ip_vs_conn.c 	return (jhash_3words((__force u32)addr->ip, (__force u32)port, proto,
proto             102 net/netfilter/ipvs/ip_vs_core.c const char *ip_vs_proto_name(unsigned int proto)
proto             106 net/netfilter/ipvs/ip_vs_core.c 	switch (proto) {
proto             122 net/netfilter/ipvs/ip_vs_core.c 		sprintf(buf, "IP_%u", proto);
proto            1582 net/netfilter/ipvs/ip_vs_core.c 			  const union nf_inet_addr *daddr, __u8 *proto)
proto            1605 net/netfilter/ipvs/ip_vs_core.c 		*proto = gueh->proto_ctype;
proto            1617 net/netfilter/ipvs/ip_vs_core.c 			  const union nf_inet_addr *daddr, __u8 *proto)
proto            1638 net/netfilter/ipvs/ip_vs_core.c 		*proto = IPPROTO_IPIP;
proto             261 net/netfilter/ipvs/ip_vs_ctl.c ip_vs_svc_hashkey(struct netns_ipvs *ipvs, int af, unsigned int proto,
proto             276 net/netfilter/ipvs/ip_vs_ctl.c 	return (proto ^ ahash ^ (porth >> IP_VS_SVC_TAB_BITS) ^ porth) &
proto             459 net/netfilter/ipvs/ip_vs_ftp.c 				char proto = data[5];
proto             465 net/netfilter/ipvs/ip_vs_ftp.c 				if (cp->af == AF_INET6 && proto == '2') {
proto             468 net/netfilter/ipvs/ip_vs_ftp.c 				if (cp->af == AF_INET && proto == '1') {
proto             212 net/netfilter/ipvs/ip_vs_nfct.c 			       struct ip_vs_conn *cp, u_int8_t proto,
proto             227 net/netfilter/ipvs/ip_vs_nfct.c 			proto, port ? &port : NULL,
proto              36 net/netfilter/ipvs/ip_vs_proto.c #define IP_VS_PROTO_HASH(proto)		((proto) & (IP_VS_PROTO_TAB_SIZE-1))
proto             140 net/netfilter/ipvs/ip_vs_proto.c struct ip_vs_protocol * ip_vs_proto_get(unsigned short proto)
proto             143 net/netfilter/ipvs/ip_vs_proto.c 	unsigned int hash = IP_VS_PROTO_HASH(proto);
proto             146 net/netfilter/ipvs/ip_vs_proto.c 		if (pp->protocol == proto)
proto             158 net/netfilter/ipvs/ip_vs_proto.c ip_vs_proto_data_get(struct netns_ipvs *ipvs, unsigned short proto)
proto             161 net/netfilter/ipvs/ip_vs_proto.c 	unsigned int hash = IP_VS_PROTO_HASH(proto);
proto             164 net/netfilter/ipvs/ip_vs_proto.c 		if (pd->pp->protocol == proto)
proto            1099 net/netfilter/ipvs/ip_vs_xmit.c 	__be16 proto = *next_protocol == IPPROTO_IPIP ?
proto            1108 net/netfilter/ipvs/ip_vs_xmit.c 	gre_build_header(skb, hdrlen, tflags, proto, 0, 0);
proto              74 net/netfilter/nf_conncount.c 		return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT ||
proto              75 net/netfilter/nf_conncount.c 		       conn->proto.tcp.state == TCP_CONNTRACK_CLOSE;
proto             556 net/netfilter/nf_conntrack_core.c 			tmpl->proto.tmpl_padto = (char *)tmpl - (char *)p;
proto             579 net/netfilter/nf_conntrack_core.c 		kfree((char *)tmpl - tmpl->proto.tmpl_padto);
proto            1385 net/netfilter/nf_conntrack_core.c 	       offsetof(struct nf_conn, proto) -
proto             300 net/netfilter/nf_conntrack_expect.c 		       u_int8_t proto, const __be16 *src, const __be16 *dst)
proto             314 net/netfilter/nf_conntrack_expect.c 	exp->tuple.dst.protonum = proto;
proto            2040 net/netfilter/nf_conntrack_netlink.c 	memset(&ct->proto, 0, sizeof(ct->proto));
proto             119 net/netfilter/nf_conntrack_pptp.c 	ct->proto.gre.timeout	     = PPTP_GRE_TIMEOUT;
proto             120 net/netfilter/nf_conntrack_pptp.c 	ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT;
proto             165 net/netfilter/nf_conntrack_pptp.c 		sibling->proto.gre.timeout	  = 0;
proto             166 net/netfilter/nf_conntrack_pptp.c 		sibling->proto.gre.stream_timeout = 0;
proto             437 net/netfilter/nf_conntrack_proto.c 	    ct->proto.tcp.state == TCP_CONNTRACK_ESTABLISHED) {
proto             438 net/netfilter/nf_conntrack_proto.c 		ct->proto.tcp.seen[0].td_maxwin = 0;
proto             439 net/netfilter/nf_conntrack_proto.c 		ct->proto.tcp.seen[1].td_maxwin = 0;
proto             407 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT;
proto             408 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER;
proto             409 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.state = CT_DCCP_NONE;
proto             410 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.last_pkt = DCCP_PKT_REQUEST;
proto             411 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.last_dir = IP_CT_DIR_ORIGINAL;
proto             412 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.handshake_seq = 0;
proto             502 net/netfilter/nf_conntrack_proto_dccp.c 	role = ct->proto.dccp.role[dir];
proto             503 net/netfilter/nf_conntrack_proto_dccp.c 	old_state = ct->proto.dccp.state;
proto             512 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.role[dir] = CT_DCCP_ROLE_CLIENT;
proto             513 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_SERVER;
proto             518 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh);
proto             523 net/netfilter/nf_conntrack_proto_dccp.c 		    dccp_ack_seq(dh) == ct->proto.dccp.handshake_seq)
proto             532 net/netfilter/nf_conntrack_proto_dccp.c 		if (ct->proto.dccp.last_dir == !dir &&
proto             533 net/netfilter/nf_conntrack_proto_dccp.c 		    ct->proto.dccp.last_pkt == DCCP_PKT_REQUEST &&
proto             535 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_CLIENT;
proto             536 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.role[dir] = CT_DCCP_ROLE_SERVER;
proto             537 net/netfilter/nf_conntrack_proto_dccp.c 			ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh);
proto             541 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.last_dir = dir;
proto             542 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.last_pkt = type;
proto             553 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.last_dir = dir;
proto             554 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.last_pkt = type;
proto             555 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.state = new_state;
proto             571 net/netfilter/nf_conntrack_proto_dccp.c 	switch (ct->proto.dccp.state) {
proto             586 net/netfilter/nf_conntrack_proto_dccp.c 	seq_printf(s, "%s ", dccp_state_names[ct->proto.dccp.state]);
proto             600 net/netfilter/nf_conntrack_proto_dccp.c 	if (nla_put_u8(skb, CTA_PROTOINFO_DCCP_STATE, ct->proto.dccp.state) ||
proto             602 net/netfilter/nf_conntrack_proto_dccp.c 		       ct->proto.dccp.role[IP_CT_DIR_ORIGINAL]) ||
proto             604 net/netfilter/nf_conntrack_proto_dccp.c 			 cpu_to_be64(ct->proto.dccp.handshake_seq),
proto             651 net/netfilter/nf_conntrack_proto_dccp.c 	ct->proto.dccp.state = nla_get_u8(tb[CTA_PROTOINFO_DCCP_STATE]);
proto             653 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT;
proto             654 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER;
proto             656 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_SERVER;
proto             657 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_CLIENT;
proto             660 net/netfilter/nf_conntrack_proto_dccp.c 		ct->proto.dccp.handshake_seq =
proto             204 net/netfilter/nf_conntrack_proto_gre.c 		   (ct->proto.gre.timeout / HZ),
proto             205 net/netfilter/nf_conntrack_proto_gre.c 		   (ct->proto.gre.stream_timeout / HZ));
proto             232 net/netfilter/nf_conntrack_proto_gre.c 		ct->proto.gre.stream_timeout = timeouts[GRE_CT_REPLIED];
proto             233 net/netfilter/nf_conntrack_proto_gre.c 		ct->proto.gre.timeout = timeouts[GRE_CT_UNREPLIED];
proto             240 net/netfilter/nf_conntrack_proto_gre.c 				   ct->proto.gre.stream_timeout);
proto             246 net/netfilter/nf_conntrack_proto_gre.c 				   ct->proto.gre.timeout);
proto             150 net/netfilter/nf_conntrack_proto_sctp.c 	seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]);
proto             278 net/netfilter/nf_conntrack_proto_sctp.c 	memset(&ct->proto.sctp, 0, sizeof(ct->proto.sctp));
proto             306 net/netfilter/nf_conntrack_proto_sctp.c 			ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = ih->init_tag;
proto             310 net/netfilter/nf_conntrack_proto_sctp.c 			ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = sh->vtag;
proto             316 net/netfilter/nf_conntrack_proto_sctp.c 			ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag;
proto             319 net/netfilter/nf_conntrack_proto_sctp.c 		ct->proto.sctp.state = SCTP_CONNTRACK_NONE;
proto             402 net/netfilter/nf_conntrack_proto_sctp.c 	    sh->vtag != ct->proto.sctp.vtag[dir]) {
proto             417 net/netfilter/nf_conntrack_proto_sctp.c 			if (sh->vtag != ct->proto.sctp.vtag[dir] &&
proto             418 net/netfilter/nf_conntrack_proto_sctp.c 			    sh->vtag != ct->proto.sctp.vtag[!dir])
proto             422 net/netfilter/nf_conntrack_proto_sctp.c 			if (sh->vtag != ct->proto.sctp.vtag[dir] &&
proto             423 net/netfilter/nf_conntrack_proto_sctp.c 			    sh->vtag != ct->proto.sctp.vtag[!dir] &&
proto             428 net/netfilter/nf_conntrack_proto_sctp.c 			if (sh->vtag != ct->proto.sctp.vtag[dir])
proto             432 net/netfilter/nf_conntrack_proto_sctp.c 			if (ct->proto.sctp.vtag[dir] == 0) {
proto             435 net/netfilter/nf_conntrack_proto_sctp.c 				ct->proto.sctp.vtag[dir] = sh->vtag;
proto             436 net/netfilter/nf_conntrack_proto_sctp.c 			} else if (sh->vtag != ct->proto.sctp.vtag[dir]) {
proto             442 net/netfilter/nf_conntrack_proto_sctp.c 		old_state = ct->proto.sctp.state;
proto             464 net/netfilter/nf_conntrack_proto_sctp.c 			ct->proto.sctp.vtag[!dir] = ih->init_tag;
proto             467 net/netfilter/nf_conntrack_proto_sctp.c 		ct->proto.sctp.state = new_state;
proto             497 net/netfilter/nf_conntrack_proto_sctp.c 	switch (ct->proto.sctp.state) {
proto             524 net/netfilter/nf_conntrack_proto_sctp.c 	if (nla_put_u8(skb, CTA_PROTOINFO_SCTP_STATE, ct->proto.sctp.state) ||
proto             526 net/netfilter/nf_conntrack_proto_sctp.c 			 ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL]) ||
proto             528 net/netfilter/nf_conntrack_proto_sctp.c 			 ct->proto.sctp.vtag[IP_CT_DIR_REPLY]))
proto             574 net/netfilter/nf_conntrack_proto_sctp.c 	ct->proto.sctp.state = nla_get_u8(tb[CTA_PROTOINFO_SCTP_STATE]);
proto             575 net/netfilter/nf_conntrack_proto_sctp.c 	ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] =
proto             577 net/netfilter/nf_conntrack_proto_sctp.c 	ct->proto.sctp.vtag[IP_CT_DIR_REPLY] =
proto             279 net/netfilter/nf_conntrack_proto_tcp.c 	seq_printf(s, "%s ", tcp_conntrack_names[ct->proto.tcp.state]);
proto             765 net/netfilter/nf_conntrack_proto_tcp.c 	const struct ip_ct_tcp_state *sender = &ct->proto.tcp.seen[0];
proto             766 net/netfilter/nf_conntrack_proto_tcp.c 	const struct ip_ct_tcp_state *receiver = &ct->proto.tcp.seen[1];
proto             778 net/netfilter/nf_conntrack_proto_tcp.c 		memset(&ct->proto.tcp, 0, sizeof(ct->proto.tcp));
proto             780 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_end =
proto             783 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
proto             784 net/netfilter/nf_conntrack_proto_tcp.c 		if (ct->proto.tcp.seen[0].td_maxwin == 0)
proto             785 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[0].td_maxwin = 1;
proto             786 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxend =
proto             787 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[0].td_end;
proto             789 net/netfilter/nf_conntrack_proto_tcp.c 		tcp_options(skb, dataoff, th, &ct->proto.tcp.seen[0]);
proto             794 net/netfilter/nf_conntrack_proto_tcp.c 		memset(&ct->proto.tcp, 0, sizeof(ct->proto.tcp));
proto             800 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_end =
proto             803 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window);
proto             804 net/netfilter/nf_conntrack_proto_tcp.c 		if (ct->proto.tcp.seen[0].td_maxwin == 0)
proto             805 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[0].td_maxwin = 1;
proto             806 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_maxend =
proto             807 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[0].td_end +
proto             808 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[0].td_maxwin;
proto             812 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].flags =
proto             813 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[1].flags = IP_CT_TCP_FLAG_SACK_PERM |
proto             818 net/netfilter/nf_conntrack_proto_tcp.c 	ct->proto.tcp.last_index = TCP_NONE_SET;
proto             832 net/netfilter/nf_conntrack_proto_tcp.c 	return ct->proto.tcp.state == TCP_CONNTRACK_ESTABLISHED &&
proto             864 net/netfilter/nf_conntrack_proto_tcp.c 	old_state = ct->proto.tcp.state;
proto             886 net/netfilter/nf_conntrack_proto_tcp.c 		if (((ct->proto.tcp.seen[dir].flags
proto             887 net/netfilter/nf_conntrack_proto_tcp.c 		      | ct->proto.tcp.seen[!dir].flags)
proto             889 net/netfilter/nf_conntrack_proto_tcp.c 		    || (ct->proto.tcp.last_dir == dir
proto             890 net/netfilter/nf_conntrack_proto_tcp.c 		        && ct->proto.tcp.last_index == TCP_RST_SET)) {
proto             919 net/netfilter/nf_conntrack_proto_tcp.c 		    && ct->proto.tcp.last_index == TCP_SYN_SET
proto             920 net/netfilter/nf_conntrack_proto_tcp.c 		    && ct->proto.tcp.last_dir != dir
proto             921 net/netfilter/nf_conntrack_proto_tcp.c 		    && ntohl(th->ack_seq) == ct->proto.tcp.last_end) {
proto             930 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_end =
proto             931 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_end;
proto             932 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_maxend =
proto             933 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_end;
proto             934 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_maxwin =
proto             935 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_win == 0 ?
proto             936 net/netfilter/nf_conntrack_proto_tcp.c 					1 : ct->proto.tcp.last_win;
proto             937 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[ct->proto.tcp.last_dir].td_scale =
proto             938 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_wscale;
proto             939 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.last_flags &= ~IP_CT_EXP_CHALLENGE_ACK;
proto             940 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.seen[ct->proto.tcp.last_dir].flags =
proto             941 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_flags;
proto             942 net/netfilter/nf_conntrack_proto_tcp.c 			memset(&ct->proto.tcp.seen[dir], 0,
proto             946 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_index = index;
proto             947 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_dir = dir;
proto             948 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_seq = ntohl(th->seq);
proto             949 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_end =
proto             951 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_win = ntohs(th->window);
proto             963 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.last_flags =
proto             964 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.last_wscale = 0;
proto             967 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_flags |=
proto             969 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_wscale = seen.td_scale;
proto             972 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_flags |=
proto             980 net/netfilter/nf_conntrack_proto_tcp.c 				ct->proto.tcp.last_flags |=
proto             996 net/netfilter/nf_conntrack_proto_tcp.c 		    ct->proto.tcp.last_dir == IP_CT_DIR_ORIGINAL &&
proto             997 net/netfilter/nf_conntrack_proto_tcp.c 		    ct->proto.tcp.seen[dir].td_end - 1 == ntohl(th->seq)) {
proto            1016 net/netfilter/nf_conntrack_proto_tcp.c 		    ct->proto.tcp.last_dir != dir &&
proto            1017 net/netfilter/nf_conntrack_proto_tcp.c 		    ct->proto.tcp.last_index == TCP_SYN_SET &&
proto            1018 net/netfilter/nf_conntrack_proto_tcp.c 		    (ct->proto.tcp.last_flags & IP_CT_EXP_CHALLENGE_ACK)) {
proto            1020 net/netfilter/nf_conntrack_proto_tcp.c 			ct->proto.tcp.last_flags &= ~IP_CT_EXP_CHALLENGE_ACK;
proto            1030 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.last_flags |= IP_CT_TCP_SIMULTANEOUS_OPEN;
proto            1034 net/netfilter/nf_conntrack_proto_tcp.c 		    ct->proto.tcp.last_flags & IP_CT_TCP_SIMULTANEOUS_OPEN)
proto            1041 net/netfilter/nf_conntrack_proto_tcp.c 		if (ct->proto.tcp.seen[!dir].flags & IP_CT_TCP_FLAG_MAXACK_SET) {
proto            1044 net/netfilter/nf_conntrack_proto_tcp.c 			if (before(seq, ct->proto.tcp.seen[!dir].td_maxack)) {
proto            1052 net/netfilter/nf_conntrack_proto_tcp.c 			    seq == ct->proto.tcp.seen[!dir].td_maxack)
proto            1059 net/netfilter/nf_conntrack_proto_tcp.c 			if (ct->proto.tcp.last_index == TCP_ACK_SET &&
proto            1060 net/netfilter/nf_conntrack_proto_tcp.c 			    ct->proto.tcp.last_dir == dir &&
proto            1061 net/netfilter/nf_conntrack_proto_tcp.c 			    seq == ct->proto.tcp.last_end)
proto            1070 net/netfilter/nf_conntrack_proto_tcp.c 			 && ct->proto.tcp.last_index == TCP_SYN_SET)
proto            1072 net/netfilter/nf_conntrack_proto_tcp.c 			    && ct->proto.tcp.last_index == TCP_ACK_SET))
proto            1073 net/netfilter/nf_conntrack_proto_tcp.c 		    && ntohl(th->ack_seq) == ct->proto.tcp.last_end) {
proto            1091 net/netfilter/nf_conntrack_proto_tcp.c 	if (!tcp_in_window(ct, &ct->proto.tcp, dir, index,
proto            1098 net/netfilter/nf_conntrack_proto_tcp.c 	ct->proto.tcp.last_index = index;
proto            1099 net/netfilter/nf_conntrack_proto_tcp.c 	ct->proto.tcp.last_dir = dir;
proto            1108 net/netfilter/nf_conntrack_proto_tcp.c 	ct->proto.tcp.state = new_state;
proto            1111 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[dir].flags |= IP_CT_TCP_FLAG_CLOSE_INIT;
proto            1117 net/netfilter/nf_conntrack_proto_tcp.c 	if (ct->proto.tcp.retrans >= tn->tcp_max_retrans &&
proto            1122 net/netfilter/nf_conntrack_proto_tcp.c 	else if ((ct->proto.tcp.seen[0].flags | ct->proto.tcp.seen[1].flags) &
proto            1126 net/netfilter/nf_conntrack_proto_tcp.c 	else if (ct->proto.tcp.last_win == 0 &&
proto            1168 net/netfilter/nf_conntrack_proto_tcp.c 	switch (ct->proto.tcp.state) {
proto            1198 net/netfilter/nf_conntrack_proto_tcp.c 	if (nla_put_u8(skb, CTA_PROTOINFO_TCP_STATE, ct->proto.tcp.state) ||
proto            1200 net/netfilter/nf_conntrack_proto_tcp.c 		       ct->proto.tcp.seen[0].td_scale) ||
proto            1202 net/netfilter/nf_conntrack_proto_tcp.c 		       ct->proto.tcp.seen[1].td_scale))
proto            1205 net/netfilter/nf_conntrack_proto_tcp.c 	tmp.flags = ct->proto.tcp.seen[0].flags;
proto            1210 net/netfilter/nf_conntrack_proto_tcp.c 	tmp.flags = ct->proto.tcp.seen[1].flags;
proto            1261 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.state = nla_get_u8(tb[CTA_PROTOINFO_TCP_STATE]);
proto            1266 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].flags &= ~attr->mask;
proto            1267 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].flags |= attr->flags & attr->mask;
proto            1273 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[1].flags &= ~attr->mask;
proto            1274 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[1].flags |= attr->flags & attr->mask;
proto            1279 net/netfilter/nf_conntrack_proto_tcp.c 	    ct->proto.tcp.seen[0].flags & IP_CT_TCP_FLAG_WINDOW_SCALE &&
proto            1280 net/netfilter/nf_conntrack_proto_tcp.c 	    ct->proto.tcp.seen[1].flags & IP_CT_TCP_FLAG_WINDOW_SCALE) {
proto            1281 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[0].td_scale =
proto            1283 net/netfilter/nf_conntrack_proto_tcp.c 		ct->proto.tcp.seen[1].td_scale =
proto             101 net/netfilter/nf_conntrack_proto_udp.c 		ct->proto.udp.stream_ts = 2 * HZ + jiffies;
proto             110 net/netfilter/nf_conntrack_proto_udp.c 		if (time_after(jiffies, ct->proto.udp.stream_ts))
proto             625 net/netfilter/nf_conntrack_sip.c 				  u8 *proto)
proto             632 net/netfilter/nf_conntrack_sip.c 			*proto = IPPROTO_TCP;
proto             634 net/netfilter/nf_conntrack_sip.c 			*proto = IPPROTO_UDP;
proto             638 net/netfilter/nf_conntrack_sip.c 		if (*proto != nf_ct_protonum(ct))
proto             641 net/netfilter/nf_conntrack_sip.c 		*proto = nf_ct_protonum(ct);
proto             803 net/netfilter/nf_conntrack_sip.c 					  u8 proto, __be16 port,
proto             815 net/netfilter/nf_conntrack_sip.c 		    exp->tuple.dst.protonum != proto ||
proto            1233 net/netfilter/nf_conntrack_sip.c 	u8 proto;
proto            1267 net/netfilter/nf_conntrack_sip.c 				   &proto) == 0)
proto            1293 net/netfilter/nf_conntrack_sip.c 			  saddr, &daddr, proto, NULL, &port);
proto            1328 net/netfilter/nf_conntrack_sip.c 	u8 proto;
proto            1371 net/netfilter/nf_conntrack_sip.c 					   *datalen, &proto) == 0)
proto            1384 net/netfilter/nf_conntrack_sip.c 		if (refresh_signalling_expectation(ct, &addr, proto, port,
proto             249 net/netfilter/nf_conntrack_standalone.c static const char* l3proto_name(u16 proto)
proto             251 net/netfilter/nf_conntrack_standalone.c 	switch (proto) {
proto             259 net/netfilter/nf_conntrack_standalone.c static const char* l4proto_name(u16 proto)
proto             261 net/netfilter/nf_conntrack_standalone.c 	switch (proto) {
proto             144 net/netfilter/nf_flow_table_core.c 		flow_offload_fixup_tcp(&ct->proto.tcp);
proto              19 net/netfilter/nf_flow_table_ip.c static int nf_flow_state_check(struct flow_offload *flow, int proto,
proto              24 net/netfilter/nf_flow_table_ip.c 	if (proto != IPPROTO_TCP)
proto              22 net/netfilter/nf_log_common.c 			   u8 proto, int fragment, unsigned int offset)
proto              27 net/netfilter/nf_log_common.c 	if (proto == IPPROTO_UDP)
proto              54 net/netfilter/nf_log_common.c 			   u8 proto, int fragment, unsigned int offset,
proto             500 net/netfilter/nf_nat_proto.c 				    u8 proto, void *data, __sum16 *check,
proto             511 net/netfilter/nf_nat_proto.c 					    proto, 0);
proto             520 net/netfilter/nf_nat_proto.c 				    u8 proto, void *data, __sum16 *check,
proto             531 net/netfilter/nf_nat_proto.c 					  datalen, proto, 0);
proto             540 net/netfilter/nf_nat_proto.c 			u8 nfproto, u8 proto, void *data, __sum16 *check,
proto             545 net/netfilter/nf_nat_proto.c 		nf_nat_ipv4_csum_recalc(skb, proto, data, check,
proto             550 net/netfilter/nf_nat_proto.c 		nf_nat_ipv6_csum_recalc(skb, proto, data, check,
proto             687 net/netfilter/nf_synproxy_core.c 	state = &ct->proto.tcp;
proto            1111 net/netfilter/nf_synproxy_core.c 	state = &ct->proto.tcp;
proto              75 net/netfilter/nf_tables_offload.c 	flow->proto = ctx->dep.l3num;
proto             130 net/netfilter/nf_tables_offload.c 					 __be16 proto, int priority,
proto             133 net/netfilter/nf_tables_offload.c 	common->protocol = proto;
proto             169 net/netfilter/nf_tables_offload.c 	__be16 proto = ETH_P_ALL;
proto             177 net/netfilter/nf_tables_offload.c 		proto = flow->proto;
proto             179 net/netfilter/nf_tables_offload.c 	nft_flow_offload_common_init(&cls_flow.common, proto,
proto             138 net/netfilter/nft_compat.c 			   union nft_entry *entry, u16 proto, bool inv)
proto             144 net/netfilter/nft_compat.c 		entry->e4.ip.proto = proto;
proto             148 net/netfilter/nft_compat.c 		if (proto)
proto             151 net/netfilter/nft_compat.c 		entry->e6.ipv6.proto = proto;
proto             155 net/netfilter/nft_compat.c 		entry->ebt.ethproto = (__force __be16)proto;
proto             192 net/netfilter/nft_compat.c static int nft_parse_compat(const struct nlattr *attr, u16 *proto, bool *inv)
proto             212 net/netfilter/nft_compat.c 	*proto = ntohl(nla_get_be32(tb[NFTA_RULE_COMPAT_PROTO]));
proto             224 net/netfilter/nft_compat.c 	u16 proto = 0;
proto             232 net/netfilter/nft_compat.c 		ret = nft_parse_compat(ctx->nla[NFTA_RULE_COMPAT], &proto, &inv);
proto             237 net/netfilter/nft_compat.c 	nft_target_set_tgchk_param(&par, ctx, target, info, &e, proto, inv);
proto             239 net/netfilter/nft_compat.c 	ret = xt_check_target(&par, size, proto, inv);
proto             382 net/netfilter/nft_compat.c 			  union nft_entry *entry, u16 proto, bool inv)
proto             388 net/netfilter/nft_compat.c 		entry->e4.ip.proto = proto;
proto             392 net/netfilter/nft_compat.c 		if (proto)
proto             395 net/netfilter/nft_compat.c 		entry->e6.ipv6.proto = proto;
proto             399 net/netfilter/nft_compat.c 		entry->ebt.ethproto = (__force __be16)proto;
proto             439 net/netfilter/nft_compat.c 	u16 proto = 0;
proto             447 net/netfilter/nft_compat.c 		ret = nft_parse_compat(ctx->nla[NFTA_RULE_COMPAT], &proto, &inv);
proto             452 net/netfilter/nft_compat.c 	nft_match_set_mtchk_param(&par, ctx, match, info, &e, proto, inv);
proto             454 net/netfilter/nft_compat.c 	return xt_check_match(&par, size, proto, inv);
proto             123 net/netfilter/nft_flow_offload.c 		ct->proto.tcp.seen[0].flags |= IP_CT_TCP_FLAG_BE_LIBERAL;
proto             124 net/netfilter/nft_flow_offload.c 		ct->proto.tcp.seen[1].flags |= IP_CT_TCP_FLAG_BE_LIBERAL;
proto             459 net/netfilter/x_tables.c 		   unsigned int size, u16 proto, bool inv_proto)
proto             494 net/netfilter/x_tables.c 	if (par->match->proto && (par->match->proto != proto || inv_proto)) {
proto             497 net/netfilter/x_tables.c 				    par->match->proto);
proto             982 net/netfilter/x_tables.c 		    unsigned int size, u16 proto, bool inv_proto)
proto            1012 net/netfilter/x_tables.c 	if (par->target->proto && (par->target->proto != proto || inv_proto)) {
proto            1015 net/netfilter/x_tables.c 				    par->target->proto);
proto              50 net/netfilter/xt_CHECKSUM.c 		if (i4->proto == IPPROTO_UDP &&
proto              56 net/netfilter/xt_CHECKSUM.c 		    i6->proto == IPPROTO_UDP &&
proto              61 net/netfilter/xt_CT.c 		return e->ip.proto;
proto              67 net/netfilter/xt_CT.c 		return e->ipv6.proto;
proto              78 net/netfilter/xt_CT.c 	u8 proto;
proto              80 net/netfilter/xt_CT.c 	proto = xt_ct_find_proto(par);
proto              81 net/netfilter/xt_CT.c 	if (!proto) {
proto              87 net/netfilter/xt_CT.c 						    proto);
proto             109 net/netfilter/xt_CT.c 	u8 proto;
proto             111 net/netfilter/xt_CT.c 	proto = xt_ct_find_proto(par);
proto             112 net/netfilter/xt_CT.c 	if (!proto) {
proto             117 net/netfilter/xt_CT.c 	l4proto = nf_ct_l4proto_find(proto);
proto              37 net/netfilter/xt_HMARK.c 	u8			proto;
proto             100 net/netfilter/xt_HMARK.c 	t->proto = nf_ct_protonum(ct);
proto             101 net/netfilter/xt_HMARK.c 	if (t->proto != IPPROTO_ICMP) {
proto             126 net/netfilter/xt_HMARK.c 	hash = hash ^ (t->proto & info->proto_mask);
proto             137 net/netfilter/xt_HMARK.c 	protoff = proto_ports_offset(t->proto);
proto             199 net/netfilter/xt_HMARK.c 	t->proto = nexthdr;
proto             200 net/netfilter/xt_HMARK.c 	if (t->proto == IPPROTO_ICMPV6)
proto             276 net/netfilter/xt_HMARK.c 	t->proto = ip->protocol;
proto             279 net/netfilter/xt_HMARK.c 	if (t->proto == IPPROTO_ICMP)
proto             318 net/netfilter/xt_TCPMSS.c 		.proto		= IPPROTO_TCP,
proto             328 net/netfilter/xt_TCPMSS.c 		.proto		= IPPROTO_TCP,
proto             117 net/netfilter/xt_TCPOPTSTRIP.c 		.proto      = IPPROTO_TCP,
proto             127 net/netfilter/xt_TCPOPTSTRIP.c 		.proto      = IPPROTO_TCP,
proto             196 net/netfilter/xt_TPROXY.c 	if ((i->proto == IPPROTO_TCP || i->proto == IPPROTO_UDP) &&
proto             214 net/netfilter/xt_TPROXY.c 	if ((i->proto == IPPROTO_TCP || i->proto == IPPROTO_UDP)
proto             144 net/netfilter/xt_dccp.c 		.proto		= IPPROTO_DCCP,
proto             153 net/netfilter/xt_dccp.c 		.proto		= IPPROTO_DCCP,
proto              96 net/netfilter/xt_ecn.c 	    (ip->proto != IPPROTO_TCP || ip->invflags & IPT_INV_PROTO)) {
proto             138 net/netfilter/xt_ecn.c 	    (ip->proto != IPPROTO_TCP || ip->invflags & IP6T_INV_PROTO)) {
proto              79 net/netfilter/xt_esp.c 		.proto		= IPPROTO_ESP,
proto              88 net/netfilter/xt_esp.c 		.proto		= IPPROTO_ESP,
proto              83 net/netfilter/xt_ipcomp.c 		.proto		= IPPROTO_COMP,
proto              92 net/netfilter/xt_ipcomp.c 		.proto		= IPPROTO_COMP,
proto             270 net/netfilter/xt_l2tp.c 	if ((ip->proto != IPPROTO_UDP) &&
proto             271 net/netfilter/xt_l2tp.c 	    (ip->proto != IPPROTO_L2TP)) {
proto             276 net/netfilter/xt_l2tp.c 	if ((ip->proto == IPPROTO_L2TP) &&
proto             297 net/netfilter/xt_l2tp.c 	if ((ip->proto != IPPROTO_UDP) &&
proto             298 net/netfilter/xt_l2tp.c 	    (ip->proto != IPPROTO_L2TP)) {
proto             303 net/netfilter/xt_l2tp.c 	if ((ip->proto == IPPROTO_L2TP) &&
proto             109 net/netfilter/xt_multiport.c check(u_int16_t proto,
proto             115 net/netfilter/xt_multiport.c 	return (proto == IPPROTO_TCP || proto == IPPROTO_UDP
proto             116 net/netfilter/xt_multiport.c 		|| proto == IPPROTO_UDPLITE
proto             117 net/netfilter/xt_multiport.c 		|| proto == IPPROTO_SCTP || proto == IPPROTO_DCCP)
proto             130 net/netfilter/xt_multiport.c 	return check(ip->proto, ip->invflags, multiinfo->flags,
proto             139 net/netfilter/xt_multiport.c 	return check(ip->proto, ip->invflags, multiinfo->flags,
proto              38 net/netfilter/xt_osf.c 	.proto		= IPPROTO_TCP,
proto              45 net/netfilter/xt_policy.c 	       MATCH(proto, x->id.proto) &&
proto             174 net/netfilter/xt_sctp.c 		.proto		= IPPROTO_SCTP,
proto             183 net/netfilter/xt_sctp.c 		.proto		= IPPROTO_SCTP,
proto              83 net/netfilter/xt_tcpmss.c 		.proto		= IPPROTO_TCP,
proto              91 net/netfilter/xt_tcpmss.c 		.proto		= IPPROTO_TCP,
proto             171 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_TCP,
proto             180 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_TCP,
proto             189 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_UDP,
proto             198 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_UDP,
proto             207 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_UDPLITE,
proto             216 net/netfilter/xt_tcpudp.c 		.proto		= IPPROTO_UDPLITE,
proto             614 net/netlink/af_netlink.c static struct proto netlink_proto = {
proto             393 net/netrom/af_netrom.c static struct proto nr_proto = {
proto              18 net/nfc/af_nfc.c static int nfc_sock_create(struct net *net, struct socket *sock, int proto,
proto              26 net/nfc/af_nfc.c 	if (proto < 0 || proto >= NFC_SOCKPROTO_MAX)
proto              30 net/nfc/af_nfc.c 	if (proto_tab[proto] &&	try_module_get(proto_tab[proto]->owner)) {
proto              31 net/nfc/af_nfc.c 		rc = proto_tab[proto]->create(net, sock, proto_tab[proto], kern);
proto              32 net/nfc/af_nfc.c 		module_put(proto_tab[proto]->owner);
proto              52 net/nfc/af_nfc.c 	rc = proto_register(nfc_proto->proto, 0);
proto              73 net/nfc/af_nfc.c 	proto_unregister(nfc_proto->proto);
proto             742 net/nfc/digital_technology.c 	u8 proto;
proto             779 net/nfc/digital_technology.c 		proto = NFC_PROTO_NFC_DEP;
proto             781 net/nfc/digital_technology.c 		proto = NFC_PROTO_FELICA;
proto             783 net/nfc/digital_technology.c 	rc = digital_target_found(ddev, &target, proto);
proto              53 net/nfc/llcp_sock.c static struct proto llcp_sock_proto = {
proto            1029 net/nfc/llcp_sock.c 	.proto    = &llcp_sock_proto,
proto              21 net/nfc/nfc.h  	struct proto *proto;
proto             340 net/nfc/rawsock.c 	sk = sk_alloc(net, PF_NFC, GFP_ATOMIC, nfc_proto->proto, kern);
proto             395 net/nfc/rawsock.c static struct proto rawsock_proto = {
proto             403 net/nfc/rawsock.c 	.proto    = &rawsock_proto,
proto              81 net/nsh/nsh.c  	__be16 proto;
proto              97 net/nsh/nsh.c  	proto = tun_p_to_eth_p(nsh_hdr(skb)->np);
proto              98 net/nsh/nsh.c  	if (!proto)
proto             104 net/nsh/nsh.c  	skb->mac_len = proto == htons(ETH_P_TEB) ? ETH_HLEN : 0;
proto             105 net/nsh/nsh.c  	skb->protocol = proto;
proto             521 net/openvswitch/actions.c 			set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked,
proto             543 net/openvswitch/actions.c 			set_ipv6_addr(skb, flow_key->ip.proto, daddr, masked,
proto             432 net/openvswitch/conntrack.c static int ovs_ct_helper(struct sk_buff *skb, u16 proto)
proto             453 net/openvswitch/conntrack.c 	switch (proto) {
proto             520 net/openvswitch/conntrack.c 		key->ip.proto = ipv6_hdr(skb)->nexthdr;
proto             543 net/openvswitch/conntrack.c 		   u16 proto, const struct sk_buff *skb)
proto             548 net/openvswitch/conntrack.c 	if (!nf_ct_get_tuplepr(skb, skb_network_offset(skb), proto, net, &tuple))
proto             830 net/openvswitch/conntrack.c 		if (key->ip.proto == IPPROTO_UDP)
proto             832 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_TCP)
proto             834 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_SCTP)
proto             852 net/openvswitch/conntrack.c 		if (key->ip.proto == IPPROTO_UDP)
proto             854 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_TCP)
proto             856 net/openvswitch/conntrack.c 		else if (key->ip.proto == IPPROTO_SCTP)
proto            1330 net/openvswitch/conntrack.c 						    key->ip.proto);
proto            1345 net/openvswitch/conntrack.c 						   key->ip.proto);
proto            1681 net/openvswitch/conntrack.c 		if (nf_ct_set_timeout(net, ct_info.ct, family, key->ip.proto,
proto             257 net/openvswitch/flow.c 	key->ip.proto = NEXTHDR_NONE;
proto             268 net/openvswitch/flow.c 			key->ip.proto = nexthdr;
proto             285 net/openvswitch/flow.c 	key->ip.proto = nexthdr;
proto             377 net/openvswitch/flow.c 	__be16 proto;
proto             379 net/openvswitch/flow.c 	proto = *(__be16 *) skb->data;
proto             382 net/openvswitch/flow.c 	if (eth_proto_is_802_3(proto))
proto             383 net/openvswitch/flow.c 		return proto;
proto             556 net/openvswitch/flow.c 		key->ip.proto = nh->protocol;
proto             573 net/openvswitch/flow.c 		if (key->ip.proto == IPPROTO_TCP) {
proto             583 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_UDP) {
proto             591 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_SCTP) {
proto             599 net/openvswitch/flow.c 		} else if (key->ip.proto == IPPROTO_ICMP) {
proto             627 net/openvswitch/flow.c 				key->ip.proto = ntohs(arp->ar_op);
proto             629 net/openvswitch/flow.c 				key->ip.proto = 0;
proto             689 net/openvswitch/flow.c 		if (key->ip.proto == NEXTHDR_TCP) {
proto             698 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_UDP) {
proto             706 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_SCTP) {
proto             714 net/openvswitch/flow.c 		} else if (key->ip.proto == NEXTHDR_ICMP) {
proto              91 net/openvswitch/flow.h 			u8     proto;	/* IP protocol or lower 8 bits of ARP opcode. */
proto             155 net/openvswitch/flow.h 		key->ip.proto == NEXTHDR_ICMP &&
proto             200 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_UDP) {
proto             202 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto             206 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_SCTP) {
proto             208 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto             212 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_TCP) {
proto             215 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff)) {
proto             221 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_ICMP) {
proto             223 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto             237 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_UDP) {
proto             239 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto             243 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_SCTP) {
proto             245 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto             249 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_TCP) {
proto             252 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff)) {
proto             258 net/openvswitch/flow_netlink.c 			if (match->key->ip.proto == IPPROTO_ICMPV6) {
proto             260 net/openvswitch/flow_netlink.c 				if (match->mask && (match->mask->key.ip.proto == 0xff))
proto            1545 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
proto            1578 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
proto            1612 net/openvswitch/flow_netlink.c 		SW_FLOW_KEY_PUT(match, ip.proto,
proto            2079 net/openvswitch/flow_netlink.c 		ipv4_key->ipv4_proto = output->ip.proto;
proto            2095 net/openvswitch/flow_netlink.c 		ipv6_key->ipv6_proto = output->ip.proto;
proto            2113 net/openvswitch/flow_netlink.c 		arp_key->arp_op = htons(output->ip.proto);
proto            2130 net/openvswitch/flow_netlink.c 		if (swkey->ip.proto == IPPROTO_TCP) {
proto            2142 net/openvswitch/flow_netlink.c 		} else if (swkey->ip.proto == IPPROTO_UDP) {
proto            2151 net/openvswitch/flow_netlink.c 		} else if (swkey->ip.proto == IPPROTO_SCTP) {
proto            2161 net/openvswitch/flow_netlink.c 			   swkey->ip.proto == IPPROTO_ICMP) {
proto            2171 net/openvswitch/flow_netlink.c 			   swkey->ip.proto == IPPROTO_ICMPV6) {
proto            2727 net/openvswitch/flow_netlink.c 			if (ipv4_key->ipv4_proto != flow_key->ip.proto)
proto            2752 net/openvswitch/flow_netlink.c 			if (ipv6_key->ipv6_proto != flow_key->ip.proto)
proto            2766 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_TCP)
proto            2774 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_UDP)
proto            2787 net/openvswitch/flow_netlink.c 		    flow_key->ip.proto != IPPROTO_SCTP)
proto            1883 net/packet/af_packet.c 	__be16 proto = 0;
proto            1895 net/packet/af_packet.c 			proto = saddr->spkt_protocol;
proto            1978 net/packet/af_packet.c 	skb->protocol = proto;
proto            2473 net/packet/af_packet.c 		__be16 proto, unsigned char *addr, int hlen, int copylen,
proto            2484 net/packet/af_packet.c 	skb->protocol = proto;
proto            2498 net/packet/af_packet.c 		err = dev_hard_header(skb, dev, ntohs(proto), addr,
proto            2625 net/packet/af_packet.c 	__be16 proto;
proto            2649 net/packet/af_packet.c 		proto	= po->num;
proto            2658 net/packet/af_packet.c 		proto	= saddr->sll_protocol;
proto            2740 net/packet/af_packet.c 		tp_len = tpacket_fill_skb(po, skb, ph, dev, data, tp_len, proto,
proto            2845 net/packet/af_packet.c 	__be16 proto;
proto            2862 net/packet/af_packet.c 		proto	= po->num;
proto            2869 net/packet/af_packet.c 		proto	= saddr->sll_protocol;
proto            2930 net/packet/af_packet.c 		offset = dev_hard_header(skb, dev, ntohs(proto), addr, NULL, len);
proto            2959 net/packet/af_packet.c 	skb->protocol = proto;
proto            3087 net/packet/af_packet.c 			  __be16 proto)
proto            3126 net/packet/af_packet.c 	need_rehook = proto_curr != proto || dev_curr != dev;
proto            3144 net/packet/af_packet.c 		po->num = proto;
proto            3145 net/packet/af_packet.c 		po->prot_hook.type = proto;
proto            3161 net/packet/af_packet.c 	if (proto == 0 || !need_rehook)
proto            3222 net/packet/af_packet.c static struct proto packet_proto = {
proto            3237 net/packet/af_packet.c 	__be16 proto = (__force __be16)protocol; /* weird, but documented */
proto            3262 net/packet/af_packet.c 	po->num = proto;
proto            3288 net/packet/af_packet.c 	if (proto) {
proto            3289 net/packet/af_packet.c 		po->prot_hook.type = proto;
proto             170 net/phonet/datagram.c static struct proto pn_proto = {
proto            1322 net/phonet/pep.c static struct proto pep_proto = {
proto            1038 net/qrtr/qrtr.c static struct proto qrtr_proto = {
proto             634 net/rds/af_rds.c static struct proto rds_proto = {
proto             482 net/rose/af_rose.c static struct proto rose_proto = {
proto              34 net/rxrpc/af_rxrpc.c static struct proto rxrpc_proto;
proto             395 net/rxrpc/af_rxrpc.c 	return call->conn->proto.epoch;
proto             929 net/rxrpc/af_rxrpc.c static struct proto rxrpc_proto = {
proto             413 net/rxrpc/ar-internal.h 	struct rxrpc_conn_proto	proto;
proto             119 net/rxrpc/conn_client.c 	conn->proto.epoch = rxnet->epoch;
proto             120 net/rxrpc/conn_client.c 	conn->proto.cid = id << RXRPC_CIDSHIFT;
proto             122 net/rxrpc/conn_client.c 	_leave(" [CID %x]", conn->proto.cid);
proto             140 net/rxrpc/conn_client.c 			   conn->proto.cid >> RXRPC_CIDSHIFT);
proto             243 net/rxrpc/conn_client.c 	if (conn->proto.epoch != rxnet->epoch)
proto             253 net/rxrpc/conn_client.c 	id = conn->proto.cid >> RXRPC_CIDSHIFT;
proto             571 net/rxrpc/conn_client.c 	call->cid	= conn->proto.cid | channel;
proto              68 net/rxrpc/conn_event.c 	pkt.whdr.epoch		= htonl(conn->proto.epoch);
proto              69 net/rxrpc/conn_event.c 	pkt.whdr.cid		= htonl(conn->proto.cid | channel);
proto             222 net/rxrpc/conn_event.c 	whdr.epoch	= htonl(conn->proto.epoch);
proto             223 net/rxrpc/conn_event.c 	whdr.cid	= htonl(conn->proto.cid);
proto             125 net/rxrpc/conn_object.c 		if (conn->proto.epoch != k.epoch ||
proto              44 net/rxrpc/conn_service.c 			if (conn->proto.index_key < k.index_key)
proto              46 net/rxrpc/conn_service.c 			else if (conn->proto.index_key > k.index_key)
proto              67 net/rxrpc/conn_service.c 	struct rxrpc_conn_proto k = conn->proto;
proto              79 net/rxrpc/conn_service.c 		if (cursor->proto.index_key < k.index_key)
proto              81 net/rxrpc/conn_service.c 		else if (cursor->proto.index_key > k.index_key)
proto             159 net/rxrpc/conn_service.c 	conn->proto.epoch	= sp->hdr.epoch;
proto             160 net/rxrpc/conn_service.c 	conn->proto.cid		= sp->hdr.cid & RXRPC_CIDMASK;
proto             183 net/rxrpc/conn_service.c 	_net("CONNECTION new %d {%x}", conn->debug_id, conn->proto.cid);
proto             157 net/rxrpc/output.c 	pkt->whdr.epoch		= htonl(conn->proto.epoch);
proto             280 net/rxrpc/output.c 	pkt.whdr.epoch		= htonl(conn->proto.epoch);
proto             331 net/rxrpc/output.c 	whdr.epoch	= htonl(conn->proto.epoch);
proto             190 net/rxrpc/proc.c 		   conn->proto.cid,
proto             128 net/rxrpc/rxkad.c 	tmpbuf[0] = htonl(conn->proto.epoch);
proto             129 net/rxrpc/rxkad.c 	tmpbuf[1] = htonl(conn->proto.cid);
proto             670 net/rxrpc/rxkad.c 	whdr.epoch	= htonl(conn->proto.epoch);
proto             671 net/rxrpc/rxkad.c 	whdr.cid	= htonl(conn->proto.cid);
proto             863 net/rxrpc/rxkad.c 	resp->encrypted.epoch		= htonl(conn->proto.epoch);
proto             864 net/rxrpc/rxkad.c 	resp->encrypted.cid		= htonl(conn->proto.cid);
proto            1159 net/rxrpc/rxkad.c 	if (ntohl(response->encrypted.epoch) != conn->proto.epoch)
proto            1161 net/rxrpc/rxkad.c 	if (ntohl(response->encrypted.cid) != conn->proto.cid)
proto              40 net/sched/act_connmark.c 	int proto;
proto              50 net/sched/act_connmark.c 		proto = NFPROTO_IPV4;
proto              55 net/sched/act_connmark.c 		proto = NFPROTO_IPV6;
proto              69 net/sched/act_connmark.c 			       proto, ca->net, &tuple))
proto              32 net/sched/act_ctinfo.c 				struct sk_buff *skb, int wlen, int proto)
proto              39 net/sched/act_ctinfo.c 	switch (proto) {
proto              89 net/sched/act_ctinfo.c 	int proto, wlen;
proto             104 net/sched/act_ctinfo.c 		proto = NFPROTO_IPV4;
proto             110 net/sched/act_ctinfo.c 		proto = NFPROTO_IPV6;
proto             118 net/sched/act_ctinfo.c 				       proto, cp->net, &tuple))
proto             132 net/sched/act_ctinfo.c 			tcf_ctinfo_dscp_set(ct, ca, cp, skb, wlen, proto);
proto            3478 net/sched/cls_api.c 				entry->vlan.proto = tcf_vlan_push_proto(act);
proto            3487 net/sched/cls_api.c 				entry->vlan.proto = tcf_vlan_push_proto(act);
proto            3545 net/sched/cls_api.c 				entry->mpls_push.proto = tcf_mpls_proto(act);
proto            3553 net/sched/cls_api.c 				entry->mpls_pop.proto = tcf_mpls_proto(act);
proto            9500 net/sctp/socket.c struct proto sctp_prot = {
proto            9542 net/sctp/socket.c struct proto sctpv6_prot = {
proto             102 net/smc/af_smc.c struct proto smc_proto = {
proto             114 net/smc/af_smc.c struct proto smc_proto6 = {
proto             218 net/smc/af_smc.c 	struct proto *prot;
proto              24 net/smc/smc.h  extern struct proto smc_proto;
proto              25 net/smc/smc.h  extern struct proto smc_proto6;
proto             193 net/smc/smc_diag.c static int smc_diag_dump_proto(struct proto *prot, struct sk_buff *skb,
proto             364 net/sunrpc/rpcb_clnt.c 				    int proto, u32 version,
proto             369 net/sunrpc/rpcb_clnt.c 		.protocol	= proto,
proto            1000 net/sunrpc/svc.c 			    unsigned short proto,
proto            1005 net/sunrpc/svc.c 		proto == IPPROTO_UDP?  "udp" : "tcp",
proto            1009 net/sunrpc/svc.c 				version, family, proto, port);
proto            1017 net/sunrpc/svc.c 			    unsigned short proto,
proto            1030 net/sunrpc/svc.c 			proto == IPPROTO_UDP?  "udp" : "tcp",
proto            1039 net/sunrpc/svc.c 	if (vers->vs_need_cong_ctrl && proto == IPPROTO_UDP)
proto            1043 net/sunrpc/svc.c 					family, proto, port);
proto            1060 net/sunrpc/svc.c 		 const int family, const unsigned short proto,
proto            1067 net/sunrpc/svc.c 	WARN_ON_ONCE(proto == 0 && port == 0);
proto            1068 net/sunrpc/svc.c 	if (proto == 0 && port == 0)
proto            1075 net/sunrpc/svc.c 					family, proto, port);
proto             144 net/tipc/socket.c static struct proto tipc_proto;
proto            3231 net/tipc/socket.c static struct proto tipc_proto = {
proto              68 net/tipc/udp_media.c 	__be16	proto;
proto             101 net/tipc/udp_media.c 	if (ntohs(addr->proto) == ETH_P_IP)
proto             127 net/tipc/udp_media.c 	if (ntohs(ua->proto) == ETH_P_IP)
proto             129 net/tipc/udp_media.c 	else if (ntohs(ua->proto) == ETH_P_IPV6)
proto             169 net/tipc/udp_media.c 	if (dst->proto == htons(ETH_P_IP)) {
proto             313 net/tipc/udp_media.c 	if (ntohs(addr->proto) == ETH_P_IP)
proto             316 net/tipc/udp_media.c 	else if (ntohs(addr->proto) == ETH_P_IPV6)
proto             338 net/tipc/udp_media.c 		src.proto = htons(ETH_P_IP);
proto             346 net/tipc/udp_media.c 		src.proto = htons(ETH_P_IPV6);
proto             403 net/tipc/udp_media.c 	if (ntohs(remote->proto) == ETH_P_IP) {
proto             419 net/tipc/udp_media.c 	if (ntohs(addr->proto) == ETH_P_IP) {
proto             430 net/tipc/udp_media.c 	} else if (ntohs(addr->proto) == ETH_P_IPV6) {
proto             585 net/tipc/udp_media.c 		addr->proto = htons(ETH_P_IP);
proto             594 net/tipc/udp_media.c 		addr->proto = htons(ETH_P_IPV6);
proto             695 net/tipc/udp_media.c 	if (remote.proto != local.proto) {
proto             719 net/tipc/udp_media.c 	if (local.proto == htons(ETH_P_IP)) {
proto             743 net/tipc/udp_media.c 	} else if (local.proto == htons(ETH_P_IPV6)) {
proto              57 net/tls/tls_main.c static struct proto *saved_tcpv6_prot;
proto              59 net/tls/tls_main.c static struct proto *saved_tcpv4_prot;
proto              63 net/tls/tls_main.c static struct proto tls_prots[TLS_NUM_PROTS][TLS_NUM_CONFIG][TLS_NUM_CONFIG];
proto              65 net/tls/tls_main.c static void build_protos(struct proto prot[TLS_NUM_CONFIG][TLS_NUM_CONFIG],
proto              66 net/tls/tls_main.c 			 struct proto *base);
proto             723 net/tls/tls_main.c static void build_protos(struct proto prot[TLS_NUM_CONFIG][TLS_NUM_CONFIG],
proto             724 net/tls/tls_main.c 			 struct proto *base)
proto             801 net/tls/tls_main.c static void tls_update(struct sock *sk, struct proto *p,
proto             758 net/unix/af_unix.c static struct proto unix_proto = {
proto             118 net/vmw_vsock/af_vsock.c static struct proto vsock_proto = {
proto              58 net/vmw_vsock/vmci_transport.c static bool vmci_transport_proto_to_notify_struct(struct sock *sk, u16 *proto,
proto             125 net/vmw_vsock/vmci_transport.c 			   u16 proto,
proto             140 net/vmw_vsock/vmci_transport.c 	memset(&pkt->proto, 0, sizeof(pkt->proto));
proto             176 net/vmw_vsock/vmci_transport.c 		pkt->proto = proto;
proto             198 net/vmw_vsock/vmci_transport.c 				  u16 proto,
proto             205 net/vmw_vsock/vmci_transport.c 				   proto, handle);
proto             265 net/vmw_vsock/vmci_transport.c 				      u16 proto,
proto             276 net/vmw_vsock/vmci_transport.c 						mode, wait, proto, handle,
proto             289 net/vmw_vsock/vmci_transport.c 				u16 proto,
proto             305 net/vmw_vsock/vmci_transport.c 						     wait, proto, handle);
proto            1064 net/vmw_vsock/vmci_transport.c 		int proto_int = pkt->proto;
proto            1428 net/vmw_vsock/vmci_transport.c 		version = pkt->proto;
proto            2037 net/vmw_vsock/vmci_transport.c 						  u16 *proto,
proto            2043 net/vmw_vsock/vmci_transport.c 		if (*proto != VSOCK_PROTO_INVALID) {
proto            2051 net/vmw_vsock/vmci_transport.c 	switch (*proto) {
proto              64 net/vmw_vsock/vmci_transport.h 	u16 proto;
proto            9083 net/wireless/nl80211.c 		u16 proto;
proto            9085 net/wireless/nl80211.c 		proto = nla_get_u16(
proto            9087 net/wireless/nl80211.c 		settings->control_port_ethertype = cpu_to_be16(proto);
proto            9089 net/wireless/nl80211.c 		    proto != ETH_P_PAE)
proto            12827 net/wireless/nl80211.c 	enum nl80211_crit_proto_id proto = NL80211_CRIT_PROTO_UNSPEC;
proto            12842 net/wireless/nl80211.c 		proto = nla_get_u16(info->attrs[NL80211_ATTR_CRIT_PROT_ID]);
proto            12844 net/wireless/nl80211.c 	if (proto >= NUM_NL80211_CRIT_PROTO)
proto            12857 net/wireless/nl80211.c 	ret = rdev_crit_proto_start(rdev, wdev, proto, duration);
proto            13607 net/wireless/nl80211.c 	u16 proto;
proto            13649 net/wireless/nl80211.c 	proto = nla_get_u16(info->attrs[NL80211_ATTR_CONTROL_PORT_ETHERTYPE]);
proto            13654 net/wireless/nl80211.c 				    dest, cpu_to_be16(proto), noencrypt);
proto            15912 net/wireless/nl80211.c 	u16 proto = be16_to_cpu(skb->protocol);
proto            15937 net/wireless/nl80211.c 	    nla_put_u16(msg, NL80211_ATTR_CONTROL_PORT_ETHERTYPE, proto) ||
proto             737 net/wireless/rdev-ops.h 				       const u8 *dest, __be16 proto,
proto             742 net/wireless/rdev-ops.h 				   dest, proto, noencrypt);
proto             744 net/wireless/rdev-ops.h 					 dest, proto, noencrypt);
proto            1931 net/wireless/trace.h 		 const u8 *buf, size_t len, const u8 *dest, __be16 proto,
proto            1933 net/wireless/trace.h 	TP_ARGS(wiphy, netdev, buf, len, dest, proto, unencrypted),
proto            1938 net/wireless/trace.h 		__field(__be16, proto)
proto            1945 net/wireless/trace.h 		__entry->proto = proto;
proto            1951 net/wireless/trace.h 		  be16_to_cpu(__entry->proto),
proto            2144 net/wireless/trace.h 		__field(u16, proto)
proto            2150 net/wireless/trace.h 		__entry->proto = protocol;
proto            2154 net/wireless/trace.h 		  WIPHY_PR_ARG, WDEV_PR_ARG, __entry->proto, __entry->duration)
proto            2844 net/wireless/trace.h 		__field(u16, proto)
proto            2851 net/wireless/trace.h 		__entry->proto = be16_to_cpu(skb->protocol);
proto            2856 net/wireless/trace.h 		  __entry->proto, BOOL_TO_STR(__entry->unencrypted))
proto             457 net/wireless/util.c 		__be16 proto;
proto             538 net/wireless/util.c 	tmp.h_proto = payload.proto;
proto             506 net/x25/af_x25.c static struct proto x25_proto = {
proto            1039 net/xdp/xsk.c  static struct proto xsk_proto = {
proto             119 net/xfrm/xfrm_hash.h __xfrm_spi_hash(const xfrm_address_t *daddr, __be32 spi, u8 proto,
proto             122 net/xfrm/xfrm_hash.h 	unsigned int h = (__force u32)spi ^ proto;
proto             514 net/xfrm/xfrm_input.c 								 x->type->proto);
proto             649 net/xfrm/xfrm_input.c 							 x->type->proto);
proto             708 net/xfrm/xfrm_input.c 	err = xfrm_rcv_cb(skb, family, x->type->proto, 0);
proto             747 net/xfrm/xfrm_input.c 	xfrm_rcv_cb(skb, family, x && x->type ? x->type->proto : nexthdr, -1);
proto             643 net/xfrm/xfrm_output.c 	unsigned int proto;
proto             647 net/xfrm/xfrm_output.c 		proto = AF_INET;
proto             650 net/xfrm/xfrm_output.c 		proto = AF_INET6;
proto             654 net/xfrm/xfrm_output.c 	afinfo = xfrm_state_get_afinfo(proto);
proto             202 net/xfrm/xfrm_policy.c 		(fl4->flowi4_proto == sel->proto || !sel->proto) &&
proto             215 net/xfrm/xfrm_policy.c 		(fl6->flowi6_proto == sel->proto || !sel->proto) &&
proto            3222 net/xfrm/xfrm_policy.c 	return	x->id.proto == tmpl->id.proto &&
proto            3227 net/xfrm/xfrm_policy.c 		 !(xfrm_id_proto_match(tmpl->id.proto, IPSEC_PROTO_ANY))) &&
proto            4230 net/xfrm/xfrm_policy.c 	if (sel_cmp->proto == IPSEC_ULPROTO_ANY) {
proto            4288 net/xfrm/xfrm_policy.c 	if (t->mode == m->mode && t->id.proto == m->proto &&
proto            4372 net/xfrm/xfrm_policy.c 			    m[i].proto == m[j].proto &&
proto              77 net/xfrm/xfrm_state.c 	      __be32 spi, u8 proto, unsigned short family)
proto              79 net/xfrm/xfrm_state.c 	return __xfrm_spi_hash(daddr, spi, proto, family, net->xfrm.state_hmask);
proto             106 net/xfrm/xfrm_state.c 					    x->id.proto, x->props.family,
proto             195 net/xfrm/xfrm_state.c 	switch (type->proto) {
proto             240 net/xfrm/xfrm_state.c 	switch (type->proto) {
proto             271 net/xfrm/xfrm_state.c static const struct xfrm_type *xfrm_get_type(u8 proto, unsigned short family)
proto             282 net/xfrm/xfrm_state.c 	switch (proto) {
proto             314 net/xfrm/xfrm_state.c 		request_module("xfrm-type-%d-%d", family, proto);
proto             336 net/xfrm/xfrm_state.c 	switch (type->proto) {
proto             360 net/xfrm/xfrm_state.c 	switch (type->proto) {
proto             374 net/xfrm/xfrm_state.c xfrm_get_type_offload(u8 proto, unsigned short family, bool try_load)
proto             384 net/xfrm/xfrm_state.c 	switch (proto) {
proto             398 net/xfrm/xfrm_state.c 		request_module("xfrm-offload-%d-%d", family, proto);
proto             701 net/xfrm/xfrm_state.c xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid)
proto             709 net/xfrm/xfrm_state.c 			if (xfrm_id_proto_match(x->id.proto, proto) &&
proto             744 net/xfrm/xfrm_state.c xfrm_state_flush_secctx_check(struct net *net, u8 proto, bool task_valid)
proto             756 net/xfrm/xfrm_state.c int xfrm_state_flush(struct net *net, u8 proto, bool task_valid, bool sync)
proto             761 net/xfrm/xfrm_state.c 	err = xfrm_state_flush_secctx_check(net, proto, task_valid);
proto             771 net/xfrm/xfrm_state.c 			    xfrm_id_proto_match(x->id.proto, proto)) {
proto             865 net/xfrm/xfrm_state.c 	sel->proto = fl4->flowi4_proto;
proto             884 net/xfrm/xfrm_state.c 	sel->proto = fl6->flowi6_proto;
proto             929 net/xfrm/xfrm_state.c 					      __be32 spi, u8 proto,
proto             932 net/xfrm/xfrm_state.c 	unsigned int h = xfrm_spi_hash(net, daddr, spi, proto, family);
proto             938 net/xfrm/xfrm_state.c 		    x->id.proto     != proto ||
proto             955 net/xfrm/xfrm_state.c 						     u8 proto, unsigned short family)
proto             962 net/xfrm/xfrm_state.c 		    x->id.proto     != proto ||
proto             985 net/xfrm/xfrm_state.c 					   x->id.spi, x->id.proto, family);
proto             990 net/xfrm/xfrm_state.c 						  x->id.proto, family);
proto            1070 net/xfrm/xfrm_state.c 		    tmpl->id.proto == x->id.proto &&
proto            1087 net/xfrm/xfrm_state.c 		    tmpl->id.proto == x->id.proto &&
proto            1098 net/xfrm/xfrm_state.c 					      tmpl->id.proto, encap_family)) != NULL) {
proto            1141 net/xfrm/xfrm_state.c 				h = xfrm_spi_hash(net, &x->id.daddr, x->id.spi, x->id.proto, encap_family);
proto            1185 net/xfrm/xfrm_state.c 		    unsigned short family, u8 mode, u8 proto, u32 reqid)
proto            1200 net/xfrm/xfrm_state.c 		    proto == x->id.proto &&
proto            1253 net/xfrm/xfrm_state.c 		h = xfrm_spi_hash(net, &x->id.daddr, x->id.spi, x->id.proto,
proto            1306 net/xfrm/xfrm_state.c 					  u32 reqid, u32 if_id, u8 proto,
proto            1321 net/xfrm/xfrm_state.c 		    x->id.proto	    != proto ||
proto            1357 net/xfrm/xfrm_state.c 		x->id.proto = proto;
proto            1391 net/xfrm/xfrm_state.c 	int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY);
proto            1409 net/xfrm/xfrm_state.c 		if (x1 && ((x1->id.proto != x->id.proto) ||
proto            1418 net/xfrm/xfrm_state.c 				     x->props.reqid, x->if_id, x->id.proto,
proto            1547 net/xfrm/xfrm_state.c 			    x->id.proto != m->proto)
proto            1564 net/xfrm/xfrm_state.c 			    x->id.proto != m->proto)
proto            1617 net/xfrm/xfrm_state.c 	int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY);
proto            1729 net/xfrm/xfrm_state.c 		  u8 proto, unsigned short family)
proto            1734 net/xfrm/xfrm_state.c 	x = __xfrm_state_lookup(net, mark, daddr, spi, proto, family);
proto            1743 net/xfrm/xfrm_state.c 			 u8 proto, unsigned short family)
proto            1748 net/xfrm/xfrm_state.c 	x = __xfrm_state_lookup_byaddr(net, mark, daddr, saddr, proto, family);
proto            1756 net/xfrm/xfrm_state.c 	      u32 if_id, u8 proto, const xfrm_address_t *daddr,
proto            1762 net/xfrm/xfrm_state.c 	x = __find_acq_core(net, mark, family, mode, reqid, if_id, proto, daddr, saddr, create);
proto            1810 net/xfrm/xfrm_state.c 		if (v->id.proto != IPPROTO_AH)
proto            1940 net/xfrm/xfrm_state.c int verify_spi_info(u8 proto, u32 min, u32 max)
proto            1942 net/xfrm/xfrm_state.c 	switch (proto) {
proto            1985 net/xfrm/xfrm_state.c 		x0 = xfrm_state_lookup(net, mark, &x->id.daddr, minspi, x->id.proto, x->props.family);
proto            1995 net/xfrm/xfrm_state.c 			x0 = xfrm_state_lookup(net, mark, &x->id.daddr, htonl(spi), x->id.proto, x->props.family);
proto            2005 net/xfrm/xfrm_state.c 		h = xfrm_spi_hash(net, &x->id.daddr, x->id.spi, x->id.proto, x->props.family);
proto            2056 net/xfrm/xfrm_state.c 		if (!xfrm_id_proto_match(state->id.proto, walk->proto))
proto            2078 net/xfrm/xfrm_state.c void xfrm_state_walk_init(struct xfrm_state_walk *walk, u8 proto,
proto            2082 net/xfrm/xfrm_state.c 	walk->proto = proto;
proto            2228 net/xfrm/xfrm_state.c int km_report(struct net *net, u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr)
proto            2237 net/xfrm/xfrm_state.c 			ret = km->report(net, proto, sel, addr);
proto            2417 net/xfrm/xfrm_state.c 	    !type || type->proto != IPPROTO_ESP)
proto            2489 net/xfrm/xfrm_state.c 	x->type = xfrm_get_type(x->id.proto, family);
proto            2493 net/xfrm/xfrm_state.c 	x->type_offload = xfrm_get_type_offload(x->id.proto, family, offload);
proto            2728 net/xfrm/xfrm_state.c 			      struct sk_buff *skb, u8 proto)
proto            2738 net/xfrm/xfrm_state.c 	if (xfrm_parse_spi(skb, proto, &net_spi, &net_seq) == 0) {
proto             139 net/xfrm/xfrm_user.c 	if ((p->id.proto != IPPROTO_ESP) && (p->id.proto != IPPROTO_AH))
proto             196 net/xfrm/xfrm_user.c 	switch (p->id.proto) {
proto             726 net/xfrm/xfrm_user.c 	if (xfrm_id_proto_match(p->proto, IPSEC_PROTO_ANY)) {
proto             728 net/xfrm/xfrm_user.c 		x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family);
proto             741 net/xfrm/xfrm_user.c 					     p->proto, p->family);
proto            1027 net/xfrm/xfrm_user.c 		u8 proto = 0;
proto            1043 net/xfrm/xfrm_user.c 			proto = nla_get_u8(attrs[XFRMA_PROTO]);
proto            1045 net/xfrm/xfrm_user.c 		xfrm_state_walk_init(walk, proto, filter);
proto            1320 net/xfrm/xfrm_user.c 	err = verify_spi_info(p->info.id.proto, p->min, p->max);
proto            1344 net/xfrm/xfrm_user.c 				  if_id, p->info.id.proto, daddr,
proto            1537 net/xfrm/xfrm_user.c 		if (!xfrm_id_proto_valid(ut[i].id.proto))
proto            1944 net/xfrm/xfrm_user.c 	err = xfrm_state_flush(net, p->proto, true, false);
proto            1950 net/xfrm/xfrm_user.c 	c.data.proto = p->proto;
proto            1989 net/xfrm/xfrm_user.c 	id->sa_id.proto = x->id.proto;
proto            2051 net/xfrm/xfrm_user.c 	x = xfrm_state_lookup(net, mark, &id->daddr, id->spi, id->proto, id->family);
proto            2105 net/xfrm/xfrm_user.c 	x = xfrm_state_lookup(net, mark, &p->sa_id.daddr, p->sa_id.spi, p->sa_id.proto, p->sa_id.family);
proto            2234 net/xfrm/xfrm_user.c 	x = xfrm_state_lookup(net, mark, &p->id.daddr, p->id.spi, p->id.proto, p->family);
proto            2350 net/xfrm/xfrm_user.c 		ma->proto = um->proto;
proto            2417 net/xfrm/xfrm_user.c 	um.proto = m->proto;
proto            2778 net/xfrm/xfrm_user.c 	p->proto = c->data.proto;
proto            2866 net/xfrm/xfrm_user.c 		id->proto = x->id.proto;
proto            3220 net/xfrm/xfrm_user.c static int build_report(struct sk_buff *skb, u8 proto,
proto            3231 net/xfrm/xfrm_user.c 	ur->proto = proto;
proto            3245 net/xfrm/xfrm_user.c static int xfrm_send_report(struct net *net, u8 proto,
proto            3255 net/xfrm/xfrm_user.c 	err = build_report(skb, proto, sel, addr);
proto            3281 net/xfrm/xfrm_user.c 	um->id.proto = x->id.proto;
proto            3299 net/xfrm/xfrm_user.c 	if (x->id.proto != IPPROTO_ESP)
proto              28 samples/bpf/sockex2_kern.c static inline int proto_ports_offset(__u64 proto)
proto              30 samples/bpf/sockex2_kern.c 	switch (proto) {
proto             104 samples/bpf/sockex2_kern.c 	__u64 proto = load_half(skb, 12);
proto             107 samples/bpf/sockex2_kern.c 	if (proto == ETH_P_8021AD) {
proto             108 samples/bpf/sockex2_kern.c 		proto = load_half(skb, nhoff + offsetof(struct vlan_hdr,
proto             113 samples/bpf/sockex2_kern.c 	if (proto == ETH_P_8021Q) {
proto             114 samples/bpf/sockex2_kern.c 		proto = load_half(skb, nhoff + offsetof(struct vlan_hdr,
proto             119 samples/bpf/sockex2_kern.c 	if (likely(proto == ETH_P_IP))
proto             121 samples/bpf/sockex2_kern.c 	else if (proto == ETH_P_IPV6)
proto             130 samples/bpf/sockex2_kern.c 			__be16 proto;
proto             136 samples/bpf/sockex2_kern.c 					    nhoff + offsetof(struct gre_hdr, proto));
proto             141 samples/bpf/sockex2_kern.c 		proto = gre_proto;
proto             150 samples/bpf/sockex2_kern.c 		if (proto == ETH_P_8021Q) {
proto             151 samples/bpf/sockex2_kern.c 			proto = load_half(skb,
proto             157 samples/bpf/sockex2_kern.c 		if (proto == ETH_P_IP)
proto             159 samples/bpf/sockex2_kern.c 		else if (proto == ETH_P_IPV6)
proto              39 samples/bpf/sockex3_kern.c static inline void parse_eth_proto(struct __sk_buff *skb, u32 proto)
proto              41 samples/bpf/sockex3_kern.c 	switch (proto) {
proto             148 samples/bpf/sockex3_kern.c 			__be16 proto;
proto             154 samples/bpf/sockex3_kern.c 					    nhoff + offsetof(struct gre_hdr, proto));
proto             242 samples/bpf/sockex3_kern.c 	__u32 nhoff, proto;
proto             246 samples/bpf/sockex3_kern.c 	proto = load_half(skb, nhoff + offsetof(struct vlan_hdr,
proto             251 samples/bpf/sockex3_kern.c 	parse_eth_proto(skb, proto);
proto             283 samples/bpf/sockex3_kern.c 	__u32 proto = load_half(skb, 12);
proto             286 samples/bpf/sockex3_kern.c 	parse_eth_proto(skb, proto);
proto              57 samples/bpf/tcbpf1_kern.c 	__u8 proto = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol));
proto              60 samples/bpf/tcbpf1_kern.c 	if (proto == IPPROTO_TCP) {
proto              96 samples/bpf/test_lwt_bpf.c 	uint8_t proto;
proto              98 samples/bpf/test_lwt_bpf.c 	ret = bpf_skb_load_bytes(skb, IP_PROTO_OFF, &proto, 1);
proto             104 samples/bpf/test_lwt_bpf.c 	switch (proto) {
proto              57 samples/bpf/xdp_tx_iptunnel_user.c 	__u32 proto;
proto              65 samples/bpf/xdp_tx_iptunnel_user.c 		for (proto = 0; proto < nr_protos; proto++) {
proto              68 samples/bpf/xdp_tx_iptunnel_user.c 			assert(bpf_map_lookup_elem(rxcnt_map_fd, &proto,
proto              71 samples/bpf/xdp_tx_iptunnel_user.c 				sum += (values[i] - prev[proto][i]);
proto              75 samples/bpf/xdp_tx_iptunnel_user.c 				       proto, sum, sum / STATS_INTERVAL_S);
proto              76 samples/bpf/xdp_tx_iptunnel_user.c 			memcpy(prev[proto], values, sizeof(values));
proto              61 scripts/mod/devicetable-offsets.c 	DEVID_FIELD(serio_device_id, proto);
proto             520 scripts/mod/file2alias.c 	DEF_FIELD(symval, serio_device_id, proto);
proto             526 scripts/mod/file2alias.c 	ADD(alias, "pr", proto != SERIO_ANY, proto);
proto              40 security/lsm_audit.c 		struct common_audit_data *ad, u8 *proto)
proto              52 security/lsm_audit.c 	if (proto)
proto              53 security/lsm_audit.c 		*proto = ih->protocol;
proto             109 security/lsm_audit.c 		struct common_audit_data *ad, u8 *proto)
proto             130 security/lsm_audit.c 	if (proto)
proto             131 security/lsm_audit.c 		*proto = nexthdr;
proto            4176 security/selinux/hooks.c 			struct common_audit_data *ad, u8 *proto)
proto            4194 security/selinux/hooks.c 	if (proto)
proto            4195 security/selinux/hooks.c 		*proto = ih->protocol;
proto            4274 security/selinux/hooks.c 			struct common_audit_data *ad, u8 *proto)
proto            4296 security/selinux/hooks.c 	if (proto)
proto            4297 security/selinux/hooks.c 		*proto = nexthdr;
proto            4360 security/selinux/hooks.c 			     char **_addrp, int src, u8 *proto)
proto            4367 security/selinux/hooks.c 		ret = selinux_parse_skb_ipv4(skb, ad, proto);
proto            4376 security/selinux/hooks.c 		ret = selinux_parse_skb_ipv6(skb, ad, proto);
proto            5723 security/selinux/hooks.c 	u8 proto;
proto            5733 security/selinux/hooks.c 	if (selinux_parse_skb(skb, &ad, &addrp, 0, &proto))
proto            5742 security/selinux/hooks.c 	if (selinux_xfrm_postroute_last(sksec->sid, skb, &ad, proto))
proto              42 security/selinux/include/xfrm.h 				struct common_audit_data *ad, u8 proto);
proto              69 security/selinux/include/xfrm.h 					      u8 proto)
proto             439 security/selinux/xfrm.c 				struct common_audit_data *ad, u8 proto)
proto             443 security/selinux/xfrm.c 	switch (proto) {
proto            3781 security/smack/smack_lsm.c 	int proto = -EINVAL;
proto            3803 security/smack/smack_lsm.c 	proto = nexthdr;
proto            3804 security/smack/smack_lsm.c 	switch (proto) {
proto            3822 security/smack/smack_lsm.c 	return proto;
proto            3846 security/smack/smack_lsm.c 	int proto;
proto            3901 security/smack/smack_lsm.c 		proto = smk_skb_to_addr_ipv6(skb, &sadd);
proto            3902 security/smack/smack_lsm.c 		if (proto != IPPROTO_UDP && proto != IPPROTO_UDPLITE &&
proto            3903 security/smack/smack_lsm.c 		    proto != IPPROTO_TCP && proto != IPPROTO_DCCP)
proto              81 sound/core/pcm_compat.c 	u32 proto;
proto             117 sound/core/pcm_compat.c 	    get_user(params.proto, &src->proto))
proto             809 sound/core/pcm_native.c 	if (params->proto >= SNDRV_PROTOCOL_VERSION(2, 0, 12) &&
proto             826 sound/core/pcm_native.c 	if (params->proto >= SNDRV_PROTOCOL_VERSION(2, 0, 12))
proto              96 tools/include/uapi/linux/if_tun.h 	__be16 proto;
proto             431 tools/include/uapi/sound/asound.h 	unsigned int proto;			/* protocol version */
proto             298 tools/testing/selftests/bpf/bpf_helpers.h static int (*bpf_skb_change_proto)(void *ctx, __be16 proto, __u64 flags) =
proto              50 tools/testing/selftests/bpf/progs/bpf_flow.c 	__be16 proto;
proto             115 tools/testing/selftests/bpf/progs/bpf_flow.c static __always_inline int parse_eth_proto(struct __sk_buff *skb, __be16 proto)
proto             119 tools/testing/selftests/bpf/progs/bpf_flow.c 	switch (proto) {
proto             151 tools/testing/selftests/bpf/progs/bpf_flow.c static __always_inline int parse_ip_proto(struct __sk_buff *skb, __u8 proto)
proto             161 tools/testing/selftests/bpf/progs/bpf_flow.c 	switch (proto) {
proto             200 tools/testing/selftests/bpf/progs/bpf_flow.c 		if (gre->proto == bpf_htons(ETH_P_TEB)) {
proto             210 tools/testing/selftests/bpf/progs/bpf_flow.c 			return parse_eth_proto(skb, gre->proto);
proto             136 tools/testing/selftests/bpf/progs/test_l4lb.c 	__u8 proto;
proto             251 tools/testing/selftests/bpf/progs/test_l4lb.c 	pckt->proto = ip6h->nexthdr;
proto             276 tools/testing/selftests/bpf/progs/test_l4lb.c 	pckt->proto = iph->protocol;
proto             356 tools/testing/selftests/bpf/progs/test_l4lb.c 		pckt.proto = protocol;
proto             378 tools/testing/selftests/bpf/progs/test_l4lb.c 		pckt.proto = protocol;
proto             394 tools/testing/selftests/bpf/progs/test_l4lb.c 	protocol = pckt.proto;
proto             412 tools/testing/selftests/bpf/progs/test_l4lb.c 	vip.protocol = pckt.proto;
proto             132 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	__u8 proto;
proto             251 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	pckt->proto = ip6h->nexthdr;
proto             276 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	pckt->proto = iph->protocol;
proto             356 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 		pckt.proto = protocol;
proto             378 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 		pckt.proto = protocol;
proto             394 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	protocol = pckt.proto;
proto             412 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	vip.protocol = pckt.proto;
proto              27 tools/testing/selftests/bpf/progs/test_pkt_access.c 	__u8 proto = 255;
proto              39 tools/testing/selftests/bpf/progs/test_pkt_access.c 		proto = iph->protocol;
proto              47 tools/testing/selftests/bpf/progs/test_pkt_access.c 		proto = ip6h->nexthdr;
proto              52 tools/testing/selftests/bpf/progs/test_pkt_access.c 		if (((void *)(tcp) + 20) > data_end || proto != 6)
proto              27 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 	__u8 proto = 0;
proto              36 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 		proto = iph->protocol;
proto              45 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 		proto = ip6h->nexthdr;
proto              50 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 	if (data + nh_off + ihl_len > data_end || proto != IPPROTO_TCP)
proto             447 tools/testing/selftests/bpf/progs/test_tc_tunnel.c static int decap_internal(struct __sk_buff *skb, int off, int len, char proto)
proto             454 tools/testing/selftests/bpf/progs/test_tc_tunnel.c 	switch (proto) {
proto             118 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	__u8 proto;
proto             141 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	__u8 proto;
proto             501 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	pckt->flow.proto = ip6h->nexthdr;
proto             528 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	pckt->flow.proto = iph->protocol;
proto             592 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 		if (pckt->flow.proto == IPPROTO_UDP)
proto             613 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	if (pckt->flow.proto == IPPROTO_UDP) {
proto             642 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	pckt->flow.proto = *protocol;
proto             674 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	pckt->flow.proto = *protocol;
proto             720 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	protocol = pckt.flow.proto;
proto             736 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	vip.proto = pckt.flow.proto;
proto             759 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 		if (pckt.flow.proto == IPPROTO_TCP) {
proto             165 tools/testing/selftests/bpf/test_flow_dissector.c static void build_ipv4_header(void *header, uint8_t proto,
proto             177 tools/testing/selftests/bpf/test_flow_dissector.c 	iph->protocol = proto;
proto             193 tools/testing/selftests/bpf/test_flow_dissector.c static void build_ipv6_header(void *header, uint8_t proto,
proto             202 tools/testing/selftests/bpf/test_flow_dissector.c 	ip6h->nexthdr = proto;
proto             254 tools/testing/selftests/bpf/test_flow_dissector.c static void build_gue_header(void *header, uint8_t proto)
proto             258 tools/testing/selftests/bpf/test_flow_dissector.c 	gueh->proto_ctype = proto;
proto             261 tools/testing/selftests/bpf/test_flow_dissector.c static void build_gre_header(void *header, uint16_t proto)
proto             265 tools/testing/selftests/bpf/test_flow_dissector.c 	greh->protocol = htons(proto);
proto              34 tools/testing/selftests/ir/ir_loopback.c 	enum rc_proto proto;
proto             135 tools/testing/selftests/ir/ir_loopback.c 			unsigned int rc_proto = protocols[i].proto;
proto             498 tools/testing/selftests/net/msg_zerocopy.c 		uint16_t proto = cfg_family == PF_INET ? ETH_P_IP : ETH_P_IPV6;
proto             504 tools/testing/selftests/net/msg_zerocopy.c 			eth.h_proto = htons(proto);
proto             514 tools/testing/selftests/net/msg_zerocopy.c 		laddr.sll_protocol	= htons(proto);
proto              34 tools/testing/selftests/net/reuseport_addr_any.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count,
proto              75 tools/testing/selftests/net/reuseport_addr_any.c 		rcv_fds[i] = socket(family, proto, 0);
proto              87 tools/testing/selftests/net/reuseport_addr_any.c 		if (proto == SOCK_STREAM && listen(rcv_fds[i], 10))
proto              89 tools/testing/selftests/net/reuseport_addr_any.c 		else if (proto == SOCK_DCCP) {
proto             101 tools/testing/selftests/net/reuseport_addr_any.c static int connect_and_send(int family, int proto)
proto             147 tools/testing/selftests/net/reuseport_addr_any.c 	fd = socket(family, proto, 0);
proto             151 tools/testing/selftests/net/reuseport_addr_any.c 	if (proto == SOCK_DCCP &&
proto             168 tools/testing/selftests/net/reuseport_addr_any.c static int receive_once(int epfd, int proto)
proto             178 tools/testing/selftests/net/reuseport_addr_any.c 	if (proto == SOCK_STREAM || proto == SOCK_DCCP) {
proto             194 tools/testing/selftests/net/reuseport_addr_any.c static void test(int *rcv_fds, int count, int family, int proto, int fd)
proto             210 tools/testing/selftests/net/reuseport_addr_any.c 	send_fd = connect_and_send(family, proto);
proto             212 tools/testing/selftests/net/reuseport_addr_any.c 	recv_fd = receive_once(epfd, proto);
proto             221 tools/testing/selftests/net/reuseport_addr_any.c static void run_one_test(int fam_send, int fam_rcv, int proto,
proto             233 tools/testing/selftests/net/reuseport_addr_any.c 	build_rcv_fd(AF_INET, proto, rcv_fds, 2, NULL);
proto             234 tools/testing/selftests/net/reuseport_addr_any.c 	build_rcv_fd(AF_INET6, proto, rcv_fds + 2, 2, NULL);
proto             235 tools/testing/selftests/net/reuseport_addr_any.c 	build_rcv_fd(fam_rcv, proto, rcv_fds + 4, 1, addr_str);
proto             236 tools/testing/selftests/net/reuseport_addr_any.c 	build_rcv_fd(AF_INET, proto, rcv_fds + 5, 2, NULL);
proto             237 tools/testing/selftests/net/reuseport_addr_any.c 	build_rcv_fd(AF_INET6, proto, rcv_fds + 7, 2, NULL);
proto             238 tools/testing/selftests/net/reuseport_addr_any.c 	test(rcv_fds, 9, fam_send, proto, rcv_fds[4]);
proto             244 tools/testing/selftests/net/reuseport_addr_any.c static void test_proto(int proto, const char *proto_str)
proto             246 tools/testing/selftests/net/reuseport_addr_any.c 	if (proto == SOCK_DCCP) {
proto             249 tools/testing/selftests/net/reuseport_addr_any.c 		test_fd = socket(AF_INET, proto, 0);
proto             261 tools/testing/selftests/net/reuseport_addr_any.c 	run_one_test(AF_INET, AF_INET, proto, IP4_ADDR);
proto             264 tools/testing/selftests/net/reuseport_addr_any.c 	run_one_test(AF_INET6, AF_INET6, proto, IP6_ADDR);
proto             267 tools/testing/selftests/net/reuseport_addr_any.c 	run_one_test(AF_INET, AF_INET6, proto, IP4_MAPPED6);
proto              34 tools/testing/selftests/net/reuseport_bpf_cpu.c static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto)
proto              60 tools/testing/selftests/net/reuseport_bpf_cpu.c 		rcv_fd[i] = socket(family, proto, 0);
proto              72 tools/testing/selftests/net/reuseport_bpf_cpu.c 		if (proto == SOCK_STREAM && listen(rcv_fd[i], len * 10))
proto              94 tools/testing/selftests/net/reuseport_bpf_cpu.c static void send_from_cpu(int cpu_id, int family, int proto)
proto             134 tools/testing/selftests/net/reuseport_bpf_cpu.c 	fd = socket(family, proto, 0);
proto             151 tools/testing/selftests/net/reuseport_bpf_cpu.c void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto)
proto             161 tools/testing/selftests/net/reuseport_bpf_cpu.c 	if (proto == SOCK_STREAM) {
proto             184 tools/testing/selftests/net/reuseport_bpf_cpu.c static void test(int *rcv_fd, int len, int family, int proto)
proto             189 tools/testing/selftests/net/reuseport_bpf_cpu.c 	build_rcv_group(rcv_fd, len, family, proto);
proto             204 tools/testing/selftests/net/reuseport_bpf_cpu.c 		send_from_cpu(cpu, family, proto);
proto             205 tools/testing/selftests/net/reuseport_bpf_cpu.c 		receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
proto             210 tools/testing/selftests/net/reuseport_bpf_cpu.c 		send_from_cpu(cpu, family, proto);
proto             211 tools/testing/selftests/net/reuseport_bpf_cpu.c 		receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
proto             216 tools/testing/selftests/net/reuseport_bpf_cpu.c 		send_from_cpu(cpu, family, proto);
proto             217 tools/testing/selftests/net/reuseport_bpf_cpu.c 		receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
proto             222 tools/testing/selftests/net/reuseport_bpf_cpu.c 		send_from_cpu(cpu, family, proto);
proto             223 tools/testing/selftests/net/reuseport_bpf_cpu.c 		receive_on_cpu(rcv_fd, len, epfd, cpu, proto);
proto              30 tools/testing/selftests/net/reuseport_bpf_numa.c static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto)
proto              56 tools/testing/selftests/net/reuseport_bpf_numa.c 		rcv_fd[i] = socket(family, proto, 0);
proto              68 tools/testing/selftests/net/reuseport_bpf_numa.c 		if (proto == SOCK_STREAM && listen(rcv_fd[i], len * 10))
proto             107 tools/testing/selftests/net/reuseport_bpf_numa.c static void send_from_node(int node_id, int family, int proto)
proto             144 tools/testing/selftests/net/reuseport_bpf_numa.c 	fd = socket(family, proto, 0);
proto             161 tools/testing/selftests/net/reuseport_bpf_numa.c void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto)
proto             171 tools/testing/selftests/net/reuseport_bpf_numa.c 	if (proto == SOCK_STREAM) {
proto             194 tools/testing/selftests/net/reuseport_bpf_numa.c static void test(int *rcv_fd, int len, int family, int proto)
proto             199 tools/testing/selftests/net/reuseport_bpf_numa.c 	build_rcv_group(rcv_fd, len, family, proto);
proto             214 tools/testing/selftests/net/reuseport_bpf_numa.c 		send_from_node(node, family, proto);
proto             215 tools/testing/selftests/net/reuseport_bpf_numa.c 		receive_on_node(rcv_fd, len, epfd, node, proto);
proto             220 tools/testing/selftests/net/reuseport_bpf_numa.c 		send_from_node(node, family, proto);
proto             221 tools/testing/selftests/net/reuseport_bpf_numa.c 		receive_on_node(rcv_fd, len, epfd, node, proto);
proto              31 tools/testing/selftests/net/reuseport_dualstack.c static void build_rcv_fd(int family, int proto, int *rcv_fds, int count)
proto              56 tools/testing/selftests/net/reuseport_dualstack.c 		rcv_fds[i] = socket(family, proto, 0);
proto              68 tools/testing/selftests/net/reuseport_dualstack.c 		if (proto == SOCK_STREAM && listen(rcv_fds[i], 10))
proto              73 tools/testing/selftests/net/reuseport_dualstack.c static void send_from_v4(int proto)
proto              86 tools/testing/selftests/net/reuseport_dualstack.c 	fd = socket(AF_INET, proto, 0);
proto             102 tools/testing/selftests/net/reuseport_dualstack.c static int receive_once(int epfd, int proto)
proto             112 tools/testing/selftests/net/reuseport_dualstack.c 	if (proto == SOCK_STREAM) {
proto             128 tools/testing/selftests/net/reuseport_dualstack.c static void test(int *rcv_fds, int count, int proto)
proto             146 tools/testing/selftests/net/reuseport_dualstack.c 	send_from_v4(proto);
proto             148 tools/testing/selftests/net/reuseport_dualstack.c 	test_fd = receive_once(epfd, proto);
proto              91 tools/testing/selftests/net/tcp_fastopen_backup_key.c static void build_rcv_fd(int family, int proto, int *rcv_fds)
proto             126 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		rcv_fds[i] = socket(family, proto, 0);
proto             138 tools/testing/selftests/net/tcp_fastopen_backup_key.c 		if (proto == SOCK_STREAM && listen(rcv_fds[i], 10))
proto             143 tools/testing/selftests/net/tcp_fastopen_backup_key.c static int connect_and_send(int family, int proto)
proto             189 tools/testing/selftests/net/tcp_fastopen_backup_key.c 	fd = socket(family, proto, 0);