Searched refs:proto (Results 151 - 175 of 482) sorted by relevance

1234567891011>>

/freebsd-10-stable/sys/ofed/include/linux/mlx4/
H A Ddriver.h118 void *mlx4_get_protocol_dev(struct mlx4_dev *dev, enum mlx4_protocol proto,
/freebsd-10-stable/usr.bin/csup/
H A DMakefile22 proto.c \
/freebsd-10-stable/usr.sbin/auditdistd/
H A DMakefile18 SRCS+= proto.c proto_common.c proto_socketpair.c proto_tcp.c proto_tls.c
/freebsd-10-stable/usr.sbin/ppp/
H A Dipv6cp.h59 #define fsm2ipv6cp(fp) (fp->proto == PROTO_IPV6CP ? (struct ipv6cp *)fp : NULL)
H A Dradius.h87 u_short proto; /* Protocol number */ member in struct:radacct
H A Dlcp.c56 #include "proto.h"
86 u_short proto; /* Quality protocol */ member in struct:lqrreq
119 protoname(unsigned proto) argument
149 if (proto > sizeof cftypes / sizeof *cftypes || cftypes[proto] == NULL)
150 return HexStr(proto, NULL, 0);
152 return cftypes[proto];
387 u_int16_t proto; local
429 proto = PROTO_LQR;
430 ua_htons(&proto,
667 u_short mru, phmtu, maxmtu, maxmru, wantmtu, wantmru, proto; local
[all...]
H A Dfsm.c69 #include "proto.h"
142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode, argument
148 fp->proto = proto;
220 fp->proto);
504 if (fp->proto == PROTO_CCP && fp->link->lcp.fsm.state == ST_OPENED) {
510 bp = proto_Prepend(bp, fp->proto, 0, 0);
880 u_short proto; local
886 bp = mbuf_Read(bp, &proto, 2);
887 proto
[all...]
/freebsd-10-stable/contrib/expat/examples/
H A Doutline.c29 #include <proto/expat.h>
H A Delements.c12 #include <proto/expat.h>
/freebsd-10-stable/sys/nfsclient/
H A Dnfsargs.h48 int proto; /* and Protocol */ member in struct:nfs_args
/freebsd-10-stable/usr.sbin/bsnmpd/modules/snmp_hast/
H A DMakefile13 SRCS+= proto.c proto_common.c proto_uds.c
/freebsd-10-stable/sys/cam/ctl/
H A Dctl_frontend.c263 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-10-stable/usr.sbin/bluetooth/btpand/
H A Dbnep.c636 uint8_t *p, *type, *proto; local
674 proto = p;
698 } else if (be16dec(proto) == ETHERTYPE_VLAN
705 memset(proto, 0, ETHER_TYPE_LEN);
721 int proto, i; local
723 proto = be16dec(pkt->type);
724 if (proto == ETHERTYPE_VLAN) { /* IEEE 802.1Q tag header */
728 proto = be16dec(pkt->ptr + 2);
732 if (chan->pfilter[i].start <= proto
733 && chan->pfilter[i].end >=proto)
[all...]
/freebsd-10-stable/usr.bin/netstat/
H A Dinet6.c360 ip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
543 p(ifs6_in_protounknown, "\t%ju datagram%s with unknown proto received\n");
831 icmp6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
977 pim6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1003 rip6_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
1039 #define GETSERVBYPORT6(port, proto, ret)\
1041 if (strcmp((proto), "tcp6") == 0)\
1043 else if (strcmp((proto), "udp6") == 0)\
1046 (ret) = getservbyport((int)(port), (proto));\
1050 inet6print(struct in6_addr *in6, int port, const char *proto, in argument
[all...]
/freebsd-10-stable/contrib/amd/conf/transp/
H A Dtransp_sockets.c418 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-10-stable/contrib/wpa/src/common/
H A Dwpa_common.c407 data->proto = WPA_PROTO_RSN;
597 data->proto = WPA_PROTO_WPA;
930 * @proto: WPA/WPA2 version (WPA_PROTO_*)
933 const char * wpa_key_mgmt_txt(int key_mgmt, int proto) argument
937 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA))
939 return proto == WPA_PROTO_RSN ?
942 if (proto == (WPA_PROTO_RSN | WPA_PROTO_WPA))
944 return proto == WPA_PROTO_RSN ?
991 if (ie1d.proto == ie2d.proto
1143 wpa_cipher_to_suite(int proto, int cipher) argument
[all...]
/freebsd-10-stable/lib/libc/resolv/
H A Dres_mkupdate.c570 /* proto */
972 char * proto; member in struct:valuelist
992 slp->proto = strdup(sp->s_proto);
993 if ((slp->name == NULL) || (slp->proto == NULL)) {
995 if (slp->proto) free(slp->proto);
1017 free(slp->proto);
1120 cgetservbyport(u_int16_t port, const char *proto) { /*%< Host byte order. */ argument
1129 if (strcasecmp(lp->proto, proto)
1148 cgetprotobynumber(int proto) argument
1186 res_servicename(u_int16_t port, const char *proto) argument
[all...]
/freebsd-10-stable/sbin/pfctl/
H A Dparse.y126 u_int8_t proto;
155 u_int8_t proto;
379 struct node_proto *proto;
474 %type <v.proto> proto proto_list proto_item
780 anchorrule : ANCHOR anchorname dir quick interface af proto fromto
784 struct node_proto *proto;
860 for (proto = $7; proto != NULL &&
861 proto
2758 proto : /* empty */ { $$ = NULL; } label
[all...]
/freebsd-10-stable/contrib/bsnmp/snmp_mibII/
H A DmibII_route.c48 uint8_t proto; member in struct:sroute
86 printf("%u proto=%u type=%u", r->index[i], r->proto, r->type);
191 r->proto = (rtm->rtm_flags & RTF_LOCAL) ? 2 :
208 r1->proto = r->proto;
448 value->v.integer = r->proto;
/freebsd-10-stable/sbin/fsck_ffs/
H A Dsetup.c76 struct fs proto; local
181 if (bflag || preen || calcsb(dev, fsreadfd, &proto) == 0)
185 for (cg = 0; cg < proto.fs_ncg; cg++) {
186 bflag = fsbtodb(&proto, cgsblock(&proto, cg));
190 if (cg >= proto.fs_ncg) {
/freebsd-10-stable/sys/net/
H A Dif_spppsubr.c92 * <if-name><unit>: <proto-name> <additional info...>
94 * with <if-name><unit> being something like "bppp0", and <proto-name>
210 u_short proto; /* PPP control protocol number */ member in struct:cp
272 static void sppp_cp_send(struct sppp *sp, u_short proto, u_char type,
358 static const char *sppp_auth_type_name(u_short proto, u_char type);
369 static const char *sppp_proto_name(u_short proto);
561 "<addr=0x%x ctrl=0x%x proto=0x%x>\n",
571 "<addr=0x%x ctrl=0x%x proto=0x%x>\n",
691 "<addr=0x%x ctrl=0x%x proto=0x%x>\n",
730 "<addr=0x%x ctrl=0x%x proto
1432 sppp_cp_send(struct sppp *sp, u_short proto, u_char type, u_char ident, u_short len, void *data) argument
1761 u_int16_t proto; local
5279 sppp_auth_type_name(u_short proto, u_char type) argument
5379 sppp_proto_name(u_short proto) argument
[all...]
/freebsd-10-stable/sbin/natd/
H A Dnatd.c124 static u_short StrToPort (const char* str, const char* proto);
125 static int StrToPortRange (const char* str, const char* proto, port_range *portRange);
127 static int StrToAddrAndPortRange (const char* str, struct in_addr* addr, char* proto, port_range *portRange);
1237 "proto local_addr [public_addr] [remote_addr]",
1238 "redirect packets of a given proto",
1624 int proto; local
1640 proto = StrToProto (protoName);
1730 proto);
1761 int proto; local
1779 proto
1880 StrToPort(const char* str, const char* proto) argument
1897 StrToPortRange(const char* str, const char* proto, port_range *portRange) argument
1952 StrToAddrAndPortRange(const char* str, struct in_addr* addr, char* proto, port_range *portRange) argument
[all...]
/freebsd-10-stable/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c348 u16 proto; local
356 proto = reg_cmd[0];
357 if (proto != ETH_P_EAPOL && proto != ETH_P_RSN_PREAUTH) {
359 "ethertype 0x%x", proto);
372 iface->l2 = l2_packet_init(iface->ifname, NULL, proto,
376 "instance for protocol %d", proto);
417 u16 proto; local
430 os_memcpy(&proto, buf + ETH_ALEN, 2);
432 if (proto !
[all...]
/freebsd-10-stable/sys/contrib/ngatm/netnatm/sig/
H A Dsig_uni.c186 uni->proto = UNIPROTO_UNI40U;
289 u_int proto; member in struct:__anon7087
373 if (uni->proto == UNIPROTO_UNI40U) {
374 if (!(maptab[i].proto & UNIU))
377 } else if(uni->proto == UNIPROTO_UNI40N) {
378 if (!(maptab[i].proto & UNIN))
381 } else if(uni->proto == UNIPROTO_PNNI10) {
382 if (!(maptab[i].proto & PNNI))
624 config->proto = uni->proto;
[all...]
/freebsd-10-stable/contrib/tcpdump/
H A Dprint-ip.c145 u_char proto; member in struct:phdr
153 ph.proto = next_proto;
327 struct protoent *proto; local
435 ND_PRINT((ndo, " (ipip-proto-4)"));
493 if (ndo->ndo_nflag==0 && (proto = getprotobynumber(ipds->nh)) != NULL)
494 ND_PRINT((ndo, " %s", proto->p_name));
496 ND_PRINT((ndo, " ip-proto-%d", ipds->nh));
535 struct protoent *proto; local
616 (void)printf(", id %u, offset %u, flags [%s], proto %s (%u)",
672 if (!ndo->ndo_nflag && (proto
[all...]

Completed in 380 milliseconds

1234567891011>>