Lines Matching defs:protp
651 const struct protent *protp;
722 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
723 (*protp->init)(pcb);
926 const struct protent *protp;
931 for (i = 0; (protp = protocols[i]) != NULL; ++i) {
932 if (protp->protocol == protocol) {
934 (*protp->input)(pcb, (u8_t*)pb->payload, pb->len);
950 if (protocol == (protp->protocol & ~0x8000)
951 && protp->datainput != NULL) {
952 (*protp->datainput)(pcb, pb->payload, pb->len);