/freebsd-11-stable/sys/rpc/ |
H A D | rpc_generic.c | 119 __rpc_get_t_size(int af, int proto, int size) argument 123 switch (proto) { 187 int type, proto; local 216 proto = IPPROTO_TCP; 218 proto = IPPROTO_UDP; 222 proto = 0; 225 sip->si_proto = proto; 791 int proto, portrange, portlow; local 812 proto = IPPROTO_IP; 820 proto [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-isakmp.c | 636 uint32_t doi, uint32_t proto, 1236 uint32_t proto, int depth _U_) 1252 switch (proto) { 1306 uint32_t proto _U_, int depth _U_) 1331 uint32_t proto _U_, int depth _U_) 1361 ND_PRINT((ndo," [phase=%d doi=%d proto=%d]", phase, doi, proto)); 1567 uint32_t proto _U_, int depth _U_) 1592 uint32_t proto _U_, int depth _U_) 1619 uint32_t proto _U 1233 ikev1_t_print(netdissect_options *ndo, u_char tpay _U_, const struct isakmp_gen *ext, u_int item_len, const u_char *ep, uint32_t phase _U_, uint32_t doi _U_, uint32_t proto, int depth _U_) argument 1659 uint32_t proto; local 1810 uint32_t proto; local 2633 ikev2_e_print(netdissect_options *ndo, _U_ struct isakmp *base, u_char tpay, const struct isakmp_gen *ext, u_int item_len _U_, const u_char *ep _U_, _U_ uint32_t phase, _U_ uint32_t doi, _U_ uint32_t proto, _U_ int depth) argument 2724 ike_sub0_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2765 ikev1_sub_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2887 ikev2_sub0_print(netdissect_options *ndo, struct isakmp *base, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2932 ikev2_sub_print(netdissect_options *ndo, struct isakmp *base, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument [all...] |
/freebsd-11-stable/usr.bin/netstat/ |
H A D | inet.c | 96 pcblist_sysctl(int proto, const char *name, char **bufp, int istcp __unused) argument 102 switch (proto) { 158 struct protosw proto; local 169 if (kread((uintptr_t)so->so_proto, &proto, sizeof(proto)) != 0) 171 xso->xso_protocol = proto.pr_protocol; 172 if (kread((uintptr_t)proto.pr_domain, &domain, sizeof(domain)) != 0) 307 protopr(u_long off, const char *name, int af1, int proto) argument 320 switch (proto) { 347 if (!pcblist_sysctl(proto, nam 1442 inetprint(const char *container, struct in_addr *in, int port, const char *proto, int num_port, const int af1) argument [all...] |
H A D | inet6.c | 357 ip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 644 "{N:/datagram%s with unknown proto received}\n"); 944 icmp6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 1173 pim6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 1209 rip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused) 1254 #define GETSERVBYPORT6(port, proto, ret)\ 1256 if (strcmp((proto), "tcp6") == 0)\ 1258 else if (strcmp((proto), "udp6") == 0)\ 1261 (ret) = getservbyport((int)(port), (proto));\ 1266 const char *proto, in 1265 inet6print(const char *container, struct in6_addr *in6, int port, const char *proto, int numeric) argument [all...] |
/freebsd-11-stable/sbin/hastd/ |
H A D | Makefile | 16 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_uds.c
|
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_mod.h | 79 uint8_t proto; /* Working protocol. */ member in struct:proto_handler
|
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | parseipfexpr.c | 243 char proto[4]; local 246 strncpy(proto, ops, 3); 247 proto[3] = '\0'; 248 if (getport(NULL, s, &port, proto) == -1)
|
/freebsd-11-stable/sys/nfsclient/ |
H A D | nfsargs.h | 48 int proto; /* and Protocol */ member in struct:nfs_args
|
/freebsd-11-stable/sys/netipsec/ |
H A D | xform.h | 64 uint8_t proto; /* IPPROTO_ESP or IPPROTO_AH */ member in struct:xform_history
|
/freebsd-11-stable/sys/dev/mlx4/ |
H A D | driver.h | 90 void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto, int port);
|
/freebsd-11-stable/sbin/hastctl/ |
H A D | Makefile | 17 SRCS+= proto.c proto_common.c proto_uds.c
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | radius.h | 89 u_short proto; /* Protocol number */ member in struct:radacct
|
H A D | ipv6cp.h | 61 #define fsm2ipv6cp(fp) (fp->proto == PROTO_IPV6CP ? (struct ipv6cp *)fp : NULL)
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | Makefile | 13 SRCS+= proto.c proto_common.c proto_uds.c
|
/freebsd-11-stable/contrib/wpa/src/l2_packet/ |
H A D | l2_packet.h | 102 * @proto: Protocol/ethertype for the packet in host byte order (only used if 110 int l2_packet_send(struct l2_packet_data *l2, const u8 *dst_addr, u16 proto,
|
/freebsd-11-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64clat.c | 156 int hlen, proto; local 160 proto = nat64_getlasthdr(m, &hlen); 161 if (proto != IPPROTO_ICMPV6) { 240 if (args->f_id.proto != IPPROTO_ICMPV6)
|
H A D | nat64stl.c | 156 int hlen, proto; local 160 proto = nat64_getlasthdr(m, &hlen); 161 if (proto != IPPROTO_ICMPV6) { 245 if (args->f_id.proto != IPPROTO_ICMPV6)
|
/freebsd-11-stable/sys/netinet6/ |
H A D | route6.c | 56 * proto - is unused 60 route6_input(struct mbuf **mp, int *offp, int proto) argument
|
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_frontend.c | 263 int len, proto; local 266 proto = SCSI_PROTO_FC << 4; 268 proto = SCSI_PROTO_SAS << 4; 270 proto = SCSI_PROTO_ISCSI << 4; 272 proto = SCSI_PROTO_SPI << 4; 284 desc->proto_codeset = proto | SVPD_ID_CODESET_BINARY; 301 desc->proto_codeset = proto | SVPD_ID_CODESET_BINARY;
|
/freebsd-11-stable/stand/libsa/ |
H A D | ip.c | 89 sendip(struct iodesc *d, void *pkt, size_t len, uint8_t proto) argument 97 printf("sendip: proto: %x d=%p called.\n", proto, (void *)d); 115 ip->ip_p = proto; /* char */ 182 uint8_t proto) 232 ip->ip_p != proto) { 235 printf("readip: IP version or proto. ip_v=%d ip_p=%d\n", 409 uint8_t proto) 417 ret = readipv4(d, pkt, payload, tleft, proto); 181 readipv4(struct iodesc *d, void **pkt, void **payload, time_t tleft, uint8_t proto) argument 408 readip(struct iodesc *d, void **pkt, void **payload, time_t tleft, uint8_t proto) argument
|
/freebsd-11-stable/usr.sbin/bluetooth/btpand/ |
H A D | bnep.c | 639 uint8_t *p, *type, *proto; local 677 proto = p; 701 } else if (be16dec(proto) == ETHERTYPE_VLAN 708 memset(proto, 0, ETHER_TYPE_LEN); 724 int proto, i; local 726 proto = be16dec(pkt->type); 727 if (proto == ETHERTYPE_VLAN) { /* IEEE 802.1Q tag header */ 731 proto = be16dec(pkt->ptr + 2); 735 if (chan->pfilter[i].start <= proto 736 && chan->pfilter[i].end >=proto) [all...] |
/freebsd-11-stable/contrib/amd/conf/transp/ |
H A D | transp_sockets.c | 418 get_nfs_version(char *host, struct sockaddr_in *sin, u_long nfs_version, const char *proto, u_long def) argument 445 if (STREQ(proto, "tcp")) 447 else if (STREQ(proto, "udp")) 480 nfs_version, proto, host, errstr); 488 nfs_version, proto, host);
|
/freebsd-11-stable/contrib/less/ |
H A D | prompt.c | 487 pr_expand(proto, maxwidth) 488 constant char *proto; 497 if (*proto == '\0') 500 for (p = proto; *p != '\0'; p++) 536 (proto == editproto));
|
/freebsd-11-stable/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 114 int proto, hlen; local 121 proto = ip6->ip6_nxt; 122 while (proto == IPPROTO_HOPOPTS || proto == IPPROTO_ROUTING || 123 proto == IPPROTO_DSTOPTS) { 127 proto = hbh->ip6h_nxt; 132 return (proto); 231 int idx, proto; local 275 proto = nptv6_getlasthdr(cfg, *mp, &offset); 276 if (proto < 289 int idx, proto; local [all...] |
/freebsd-11-stable/lib/libc/resolv/ |
H A D | res_mkupdate.c | 569 /* proto */ 971 char * proto; member in struct:valuelist 991 slp->proto = strdup(sp->s_proto); 992 if ((slp->name == NULL) || (slp->proto == NULL)) { 994 if (slp->proto) free(slp->proto); 1016 free(slp->proto); 1119 cgetservbyport(u_int16_t port, const char *proto) { /*%< Host byte order. */ argument 1128 if (strcasecmp(lp->proto, proto) 1147 cgetprotobynumber(int proto) argument 1185 res_servicename(u_int16_t port, const char *proto) argument [all...] |